lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <>
Subject read index terms lazily
Date Fri, 25 Feb 2005 21:44:27 GMT
Attached is a patch which delays reading of index terms until it is 
first accessed.  The cost of this is another file descriptor, until the 
terms are accessed, when it is closed.  The benefit is that operations 
that do not require access to index terms are much faster and use much 
less memory.



View raw message