Name

SQLITE_ENABLE_MEMSYS5 — Enable alternate memory allocator

Description

Enables one of two alternate memory allocators. Only one can be enabled at a time. MEMSYS5 is essentially the same as MEMSYS3, only it uses a power-of-two, first-fit algorithm. MEMSYS3 tends to be more frugal with memory, while MEMSYS5 is better at preventing fragmentation. Determining which module is best for your specific needs is largely an issue of testing and measuring.

Get Using SQLite now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.