Skip to content

Conversation

@giuliano-macedo
Copy link

@giuliano-macedo giuliano-macedo commented Sep 2, 2025

The default capacity of an arena was being set to ARENA_REGION_DEFAULT_CAPACITY * sizeof(uintptr_t) on new_region,
therefore I think it makes sense to divide it on arena_alloc so that ARENA_REGION_DEFAULT_CAPACITY would mean the default capacity in bytes, not in terms of N pointers, if the latter was the intent, then I think ARENA_REGION_DEFAULT_CAPACITY should have a different name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant