(file) Return to InheritanceTree.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / src / Pegasus / Repository

Diff for /pegasus/src/Pegasus/Repository/InheritanceTree.cpp between version 1.31 and 1.32

version 1.31, 2005/05/06 22:13:17 version 1.32, 2005/10/31 16:33:24
Line 77 
Line 77 
  
 struct InheritanceTreeRep struct InheritanceTreeRep
 { {
     typedef HashTable<String, InheritanceTreeNode*,      typedef HashTable<
           NoCaseEqualFunc, HashFunc<String> > Table;          String, InheritanceTreeNode*, NoCaseEqualFunc, HashLowerCaseFunc> Table;
     Table table;     Table table;
   
       // Tradeoff: chosing a larger value decreases hash lookup time but
       // increases iteration (which seems to be the dominant operations).
       // This power of two (256) seems to produce the best results.
   
       InheritanceTreeRep() : table(256)
       {
       }
 }; };
  
 //////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////


Legend:
Removed from v.1.31  
changed lines
  Added in v.1.32

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2