public class ArrayRecycler
extends java.lang.Object
The purpose of this class is to provide a source for reusable int arrays.
When using large numbers of arrays in succession, it is inefficient to
constantly go in an allocate/free loop. This way, we may pass a single,
thread-safe recycler to all objects. No matter where the arrays end their
life, we can then add it to the same resource store.
- Author:
- Preston Lacey