lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r825958 - /lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
Date Fri, 16 Oct 2009 15:47:49 GMT
Author: markrmiller
Date: Fri Oct 16 15:47:48 2009
New Revision: 825958

URL: http://svn.apache.org/viewvc?rev=825958&view=rev
Log:
Change a couple nocommits involving cache to TODO's

Modified:
    lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java

Modified: lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
URL: http://svn.apache.org/viewvc/lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java?rev=825958&r1=825957&r2=825958&view=diff
==============================================================================
--- lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
(original)
+++ lucene/java/branches/flex_1458/src/java/org/apache/lucene/index/codecs/standard/StandardTermsDictReader.java
Fri Oct 16 15:47:48 2009
@@ -501,7 +501,7 @@
     }
   }
 
-  // nocommit -- wonder if simple double-barrel LRU cache
+  // TODO: -- wonder if simple double-barrel LRU cache
   // would be better
   private static class ReuseLRUCache<K, V> extends LinkedHashMap<K,V> {
     
@@ -513,7 +513,7 @@
      * Creates a last-recently-used cache with the specified size. 
      */
     public ReuseLRUCache(int cacheSize) {
-      // nocommit -- we should not init cache w/ full
+      // TODO: -- we should not init cache w/ full
       // capacity?  init it at 0, and only start evicting
       // once #entries is over our max
       super((int) Math.ceil(cacheSize/ LOADFACTOR) + 1, LOADFACTOR, true);



Mime
View raw message