diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-04-09 22:49:21 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-04-09 22:49:21 +0100 |
commit | 1dd0f8835cea1ac6af0bf63eebdffdb4e66a0693 (patch) | |
tree | 9fbb8e2efe1a1976c5551cb4061278b12f92269f /.dir-locals.el | |
parent | 1b78493b191f21a9c8bb2879908122e7efce92ae (diff) | |
download | prick-1dd0f8835cea1ac6af0bf63eebdffdb4e66a0693.tar.gz prick-1dd0f8835cea1ac6af0bf63eebdffdb4e66a0693.tar.bz2 prick-1dd0f8835cea1ac6af0bf63eebdffdb4e66a0693.zip |
Fixed arena_realloc
So the real purpose of arena_realloc is to figure out if we can get
away with just adjusting the region that the pointer given resides in
so that we don't need to _actually_ allocate any new memory.
The previous implementation did this in the special case where the
pointer given _is_ the entire region. But we can adjust the region's
size _if_ the pointer given is the last allocation on the region
i.e. it's on the tail end.
Diffstat (limited to '.dir-locals.el')
0 files changed, 0 insertions, 0 deletions