summaryrefslogtreecommitdiff
path: root/py/persistentcode.h
diff options
context:
space:
mode:
authorChristian Walther <cwalther@gmx.ch>2020-09-29 22:21:29 +0200
committerChristian Walther <cwalther@gmx.ch>2020-10-02 23:03:21 +0200
commit5bdb8c45dd2700941ab75661b773680bdd46aaf1 (patch)
tree8533d95a9077d6af65f6319af4a02174da2b5483 /py/persistentcode.h
parentd6d02c67d2bcacaa02499930aabd76365797b108 (diff)
Allow allocate_memory() to reuse holes when matching exactly.
This requires recovering the pointer of the allocation, which could be done by adding up neighbor lengths, but the simpler way is to stop NULLing it out in the first place and instead mark an allocation as freed by the client by setting the lowest bit of the length (which is always zero in a valid length).
Diffstat (limited to 'py/persistentcode.h')
0 files changed, 0 insertions, 0 deletions