There is some additional performance to be gained by using a specialised collection of value that removes the need for boxing of primitives (especially).
Would probably need to limit the API to prevent weird and unexpected usages of the "collection".
There is some additional performance to be gained by using a specialised collection of value that removes the need for boxing of primitives (especially).
Would probably need to limit the API to prevent weird and unexpected usages of the "collection".