logoalt Hacker News

Guvantetoday at 3:38 AM0 repliesview on HN

Object pooling is just malloc that is a little cheaper and maybe a different failure case when you are full...

If you have a good method to handle the equivalent of OOM then they can make a difference in how the program runs but normally they are just a performance optimization.

Honestly with 64 bit addresses it would be nice if address reuse were eliminated but that requires memory movement of a different kind (probably just as dangerous) or some terrible paging work for the OS...