4 ms·
Without looking through the implementation, I suspect that the consequence here is that it pre-allocates way more memory than it needs and then does some custom
by commandlinefan 4y ago
Without looking through the implementation, I suspect that the consequence here is that it pre-allocates way more memory than it needs and then does some custom dynamic allocation with that.
- haggy 4y agoThey explain pretty clearly that this is static memory allocation. In other words, a calculated amount of (mostly) contiguous memory is allocated at startup and used very carefully, relying on disk to supply the dynamic nature of database load semantics. https://www.geeksforgeeks.org/difference-between-static-allocation-and-heap-allocation/ https://www.geeksforgeeks.org/difference-between-static-allo...