Resource pooling - to avoid dynamic allocation

Hi,

I have been looking for a package that implements resource pooling? I.e. a package that implements a pool of (reference counted) resources to avoid dynamic allocation of “expensive” resources such as large arrays, images, network connections etc.

Best regards,
Jesper

1 Like

There is a CachingPool for use with pmap, for example. Is that sort of what you are after?

Not quite, I need something that implements the Object pool pattern like GitHub - steinwurf/recycle: Simple resource pool for recycling resources in C++