imglib / imglib2

A generic next-generation Java library for image processing
http://imglib2.net/
Other
302 stars 91 forks source link

Consider allowing autoboxing #53

Closed hinerm closed 7 years ago

hinerm commented 10 years ago

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.

tpietzsch commented 7 years ago

Closing this because it seems outdated. Please reopen if this is still of interest to anyone...