Skip to content

odd sizing for hash tables.

Came across a few odd things, especially when copy/copy-constructing from other hash tables.

  • HashPtrTable copy from HashPtrTable: uses default size, not related to what it is copying
  • HashTable from initializer_list uses list size, not 2*list size for its table
  • HashSet from HashTable uses number of keys, not the table size.