-
Notifications
You must be signed in to change notification settings - Fork 0
Buffers
Xiahua Liu edited this page Jan 27, 2025
·
3 revisions
PawnDB uses a ring buffer table for memory management.
This circular structure is simple and efficient for allocating and releasing buffers in a FIFO manner.
Because PawnDB aims to minimize runtime overhead, it avoids smart pointers for buffer management.
Instead, developers must manually release any unused buffers.
This approach keeps the code simple and predictable while maintaining consistent performance.