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.
It was useless because several calculations take place in every instance to produce the size, whereas realloc_array only checks one multiplication.