imglib / imglib2-cache

Cache interfaces and java.lang.ref based implementation.
Other
6 stars 4 forks source link

Move StopWatch to net.imglib2 core #6

Closed gab1one closed 5 years ago

gab1one commented 6 years ago

The StopWatch class is the only member of the net.imblib2.util package in this project. This package is also contained in the base imblib2 project which causes a split package problem. As the TODO comment in this class mentions, it belongs into imglib2 core. Requires https://github.com/imglib/imglib2/pull/228 to be merged and released.

ctrueden commented 5 years ago

Doh, sorry @gab1one! I did not see this PR before redoing the work myself; see fba5bd6fdac58936d85c17d3fd161ed2a8dbcc5a. Your computeIfAbsent slickness was too nice to throw away, though, so I cherry-picked it as 84d95143f137ea8133dc49987f52a23dea572847.