What is the preferred way in scala to manage object pools?
I need to create and delete large-scale objects with single-threaded (no need for synchronization). In C ++, I used an array of static objects.
What is an idiomatic and effective way to deal with it in scala?
ayvango
source share