mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
refactor(arena): use a shared block freelist
This is both simpler in client code and more effective (always reuse block hottest in cache)
This commit is contained in:
@@ -1303,7 +1303,7 @@ void free_highlight(void)
|
||||
{
|
||||
ga_clear(&highlight_ga);
|
||||
map_destroy(cstr_t, int)(&highlight_unames);
|
||||
arena_mem_free(arena_finish(&highlight_arena), NULL);
|
||||
arena_mem_free(arena_finish(&highlight_arena));
|
||||
}
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user