3 ms·
Hmm, maybe I'm too retro for this guy, but 16 bytes for an element in a linked list does sound excessive. :)
by psranga 18y ago
Hmm, maybe I'm too retro for this guy, but 16 bytes for an element in a linked list does sound excessive. :)
- blasdel 18y agoIt's only two words! You need two 64 bit pointers on a 64-bit machine. A fuckton of people have come up with the idea that "hey, since a 4gb address space is really plenty, why don't we try using an n/2 address space and have a whole cons fit in one word?" I'm sure the same thing has come up plenty of times before. It turns out to be not so hot to avoid directly using the OS' VM and the hardware's MMU.