- Notifications
You must be signed in to change notification settings - Fork 1
Make a slab allocator for general string allocation #12
Copy link
Copy link
Open
Labels
performanceAnything related to bad performance issue or a beneficial optimizationAnything related to bad performance issue or a beneficial optimization
Milestone
Description
Metadata
Metadata
Assignees
Labels
performanceAnything related to bad performance issue or a beneficial optimizationAnything related to bad performance issue or a beneficial optimization
Projects
StatusShow more project fields
Todo
All strings that are not cached for AST name or content fields are just dumped into the global allocator.
The global allocator itself is just array of arenas (buckets). There is no reuse of any allocated memory there.
Slab classes (for 100 mb arena)