I compared 2 different malloc versions and asked about malloc and free where a test first resulted in that one malloc was faster than the other and then a comment or answer was that if you allocate or free in a random order or similar change then the basic malloc was not faster than the regular malloc if you deallocate in reverse order.
I wrote a loop that disproved a test result because of the answer. The commit is online and available but I have forgotten why I added the test to deallocate in reverse order. I don't remember why I would do it. There was a comment or answer that made me do it and that disproved earlier tests that a basic malloc would be faster than the builtin malloc, according to expectation.
The background was that tests showed that a custom malloc was faster than the builtin malloc but that seemed unlikely. When deallocating in reverse order the builtin malloc was faster. But why would I deallocate in reverse order? I already asked about it but I can't find the question I asked.
Can you help me find the question so that I can understand why the test with reverse order deallocation disproved the earlier tests?