[ImageJ-devel] when to close cursors, was Re: [fiji-devel] imglib coding style
Johannes.Schindelin at gmx.de
Mon Apr 19 10:12:23 CDT 2010
On Fri, 16 Apr 2010, Albert Cardona wrote:
> A short note: the cursor class could have an @Override on the
> finalize() method from class Object, and in it call .close().
Might be a bad idea:
In short: implementing finalize() can impose a significant slow-down on
the garbage collector.
More information about the ImageJ-devel