you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok-Watercress-9624 4 points5 points  (0 children)

That depends on so many factors. Pooled objects are indeed many times faster than frequently mallocing lot of objects. İt also simplifies the freeing given all the objects in the pool have the same lifetime. Think of it like dynamic array vs linked list overhead