1 | #ifndef SASS_SETTINGS_H |
2 | #define SASS_SETTINGS_H |
3 | |
4 | // Global compile time settings should go here |
5 | |
6 | // When enabled we use our custom memory pool allocator |
7 | // With intense workloads this can double the performance |
8 | // Max memory usage mostly only grows by a slight amount |
9 | // #define SASS_CUSTOM_ALLOCATOR |
10 | |
11 | // How many buckets should we have for the free-list |
12 | // Determines when allocations go directly to malloc/free |
13 | // For maximum size of managed items multiply by alignment |
14 | #define SassAllocatorBuckets 512 |
15 | |
16 | // The size of the memory pool arenas in bytes. |
17 | #define SassAllocatorArenaSize (1024 * 256) |
18 | |
19 | #endif |
20 | |