You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a decent and working Arena Allocator Implementation in hb_arena.c that we are not using yet in the lexer, parser, and other parts of the C codebase in src/ yet.
We have a decent and working Arena Allocator Implementation in
hb_arena.cthat we are not using yet in the lexer, parser, and other parts of the C codebase insrc/yet.memory.cimplementation in preparation for arena allocator #611hb_arena.c#623hb_string_to_c_stringfunction #674size_t_to_stringfunction #676hb_arena.ctosrc/util/#707hb_string_Twhen initializing new tokens #798hb_buffer_init_arenafor allocating a buffer using the arena allocator #862Let's adopt the Arena Allocator in favor of manually allocating memory in all places where it makes sense.