Author: xor
Date: 2008-11-12 01:37:56 +0000 (Wed, 12 Nov 2008)
New Revision: 23506

Modified:
   trunk/plugins/WoT/WoT.java
Log:
Add comment which is an answer to toad's comment on devl mailing list.

Modified: trunk/plugins/WoT/WoT.java
===================================================================
--- trunk/plugins/WoT/WoT.java  2008-11-12 01:22:38 UTC (rev 23505)
+++ trunk/plugins/WoT/WoT.java  2008-11-12 01:37:56 UTC (rev 23506)
@@ -554,7 +554,8 @@
        {
                ObjectSet<Score> result = Score.getIdentitiesByScore(db, 
treeOwner, select);
                // TODO: decide whether the tradeoff of using too much memory 
for the ArrayList is worth the speedup of not having a linked
-               // list which allocates lots of pieces of memory for its nodes.
+               // list which allocates lots of pieces of memory for its nodes. 
trimToSize() is not an option because the List usually will be
+               // used only temporarily.
                ArrayList<Identity> identities = new 
ArrayList<Identity>(result.size()); 
                boolean getAll = context.equals("all");
                

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to