2 ms·
I think even structs have this problem because typically you heap allocate all the structs/arrays. You could try to arena allocate contiguous objects in place,
by vlovich123 4y ago
I think even structs have this problem because typically you heap allocate all the structs/arrays. You could try to arena allocate contiguous objects in place, but that sounds hard enough that I doubt that anyone bothers. Using a SAX parser is almost certainly the tool you want to use.