15 ms·
I took realloc_array and applied it to a program I'm working on which contains a bunch of realloc calls. It was completely useless; I had to invent a different
by kazinator 12y ago
I took realloc_array and applied it to a program I'm working on which contains a bunch of realloc calls. It was completely useless; I had to invent a different interface.
It was useless because several calculations take place in every instance to produce the size, whereas realloc_array only checks one multiplication.