I'm sorry but regardless of how often or not a function is used, realloc() going over 600 times slower on Windows *is* horribly wrong. There is no excuse for slow code.
Thanks for the link though, I'll try that on the heap code.
edit: didn't mean to come off as hostile there. inefficiency in code is a pet peeve - I bug friends about things they write if they could be even 5% faster ![]()