3 ms·
If you explore ways it might work, I think you'll see that's not easy. For example, let's say you have an "alloc_compact" function. To put a tuple "directly"
by rwmj 7y ago
If you explore ways it might work, I think you'll see that's not easy. For example, let's say you have an "alloc_compact" function. To put a tuple "directly" into the compact heap you might write:
alloc_compact (1,2)
But wait! You've actually allocated (1,2) and then copied it.