What's a good, simple malloc algorithm if size always = 1?
I cannot. But I'm allocating space for managed pointers that need to interop with unmanaged code.
-
-
Basically I need space to stick pointers but I also need to be able to reuse the space later. I can use a bit for tagging if necessary.
-
You don’t need the bit for tagging because you always have a linked list of free spots.
-
Yeah I got it.
-
Thanks for that :)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.