5 ms·
Thanks for the links! I wasn't aware of the PyMem_ layer above, the justification for that does sound bad. But Python runs a generational GC in addition to ref
by supergarfield 6y ago
Thanks for the links! I wasn't aware of the PyMem_ layer above, the justification for that does sound bad.
But Python runs a generational GC in addition to refcounting to catch cycles (https://docs.python.org/3/library/gc.html https://docs.python.org/3/library/gc.html): isn't fine control over allocation necessary for that? E.g. to efficiently clear the nursery?