In places like IntervalIndexer which use primitive arrays, it would be nice to consolidate their use with classes like PrimitiveArray or ArrayDataAccess. However, for the PrimitiveArray class there will be an autoboxing cost.
So we should run performance benchmarks to see what kind of hit it would take if autoboxing was allowed, as it wold significantly simplify the code for something like https://github.com/imglib/imglib/pull/51.
In places like IntervalIndexer which use primitive arrays, it would be nice to consolidate their use with classes like PrimitiveArray or ArrayDataAccess. However, for the PrimitiveArray class there will be an autoboxing cost.
So we should run performance benchmarks to see what kind of hit it would take if autoboxing was allowed, as it wold significantly simplify the code for something like https://github.com/imglib/imglib/pull/51.