Skip to content
  • Mark OLESEN's avatar
    ENH: use capacity=0 for HashTable/HashSet/Map default constructors · 5dcced7b
    Mark OLESEN authored and Andrew Heather's avatar Andrew Heather committed
    - default construct is now identical to HashTable(Foam::zero).
      It performs no allocation and is also noexcept.
    
      The previously used default capacity (128) was a holdover from
      much older versions where set/insert did not properly handle
      insertion into a table with zero capacity (number of buckets).
    5dcced7b