2010/7/1 Itamar Syn-Hershko <ita...@code972.com>:
> On one hand, we should be following the Java behavior. If they always
> call close, we should always do as well. When having a reader object on
> the stack this is definitely how that should work. On the other hand, if
> calling close from the destructor is not a big deal (concurrency is the
> biggest impact I can think of right now) I guess it is better doing so
> than relying on a GC we don't have.

In my opinion the missing GC is a good reason to deviate from the Java
behaviour.

Veit

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to