3 ms·
Sometimes also referred to as an object pool. What makes this implementation special is that its pooling is both thread-local and global, and is plugged into t
by voidlogic 13y ago
Sometimes also referred to as an object pool.
What makes this implementation special is that its pooling is both thread-local and global, and is plugged into the runtime/garbage collector. The former makes it much much faster than any pool the user could implement, and the later means is plays nice as resources become more scarce.