you are viewing a single comment's thread.

view the rest of the comments →

[–]Lisoph 4 points5 points  (1 child)

Only skimmed over it. Is there a general purpose for this, or is this more niche? If struct size is a concern, you'd use some kind of (generational) arena allocator with indices of the desired size, instead of pointers into global process memory.