[Vm-dev] free-chunk-management-in-the-cog-vm

Levente Uzonyi leves at caesar.elte.hu
Mon Jun 18 00:36:06 UTC 2018


On Mon, 18 Jun 2018, Ben Coman wrote:

> A random thought, I wonder if size-1 chunks can be managed packed into 
size-2 chunks.

Or, just use the XOR trick to store each node's two links in a single pointer 
sized field:
https://everything2.com/title/Storing+a+doubly-linked+list+using+just+a+single+pointer+field

Levente



More information about the Vm-dev mailing list