src/Dictionary.cpp
changeset 2 851de24ecb61
parent 0 31a43d94cc26
child 3 8e3ae153e2c9
     1.1 --- a/src/Dictionary.cpp	Sun Sep 20 15:14:12 2009 -0700
     1.2 +++ b/src/Dictionary.cpp	Sun Sep 20 21:25:47 2009 -0700
     1.3 @@ -26,8 +26,8 @@
     1.4      
     1.5      
     1.6      const int Dictionary::kMinSize = 8;
     1.7 -    const float Dictionary::kMinLoadFactor = 0.25;
     1.8 -    const float Dictionary::kMaxLoadFactor = 0.75;
     1.9 +    const float Dictionary::kMinLoadFactor = 0.25f;
    1.10 +    const float Dictionary::kMaxLoadFactor = 0.75f;
    1.11          
    1.12      // Choose the smallest power of two that's large enough to hold the given capacity
    1.13      // of entries with no greater than the given load (fraction full).