4 ms·
One solution I've sometimes seen or the wild is to mandate that the library allocates just one big malloc chunk and arranges pointers inside that chunk. So the
by giomasce 4y ago
One solution I've sometimes seen or the wild is to mandate that the library allocates just one big malloc chunk and arranges pointers inside that chunk. So the caller has to free just one thing. It's more inconvenient for the library, though.