| ... | ... | @@ -80,8 +80,10 @@ pub fn ArrayHashMapWithAllocator( |
| 80 | 80 | comptime V: type, |
| 81 | 81 | /// A namespace that provides these two functions: |
| 82 | 82 | /// * `pub fn hash(self, K) u32` |
| 83 | | /// * `pub fn eql(self, K, K) bool` |
| 83 | /// * `pub fn eql(self, K, K, usize) bool` |
| 84 | 84 | /// |
| 85 | /// The final `usize` in the `eql` function represents the index of the key |
| 86 | /// that's already inside the map. |
| 85 | 87 | comptime Context: type, |
| 86 | 88 | /// When `false`, this data structure is biased towards cheap `eql` |
| 87 | 89 | /// functions and avoids storing each key's hash in the table. Setting |
| ... | ... | @@ -525,7 +527,10 @@ pub fn ArrayHashMapUnmanaged( |
| 525 | 527 | comptime V: type, |
| 526 | 528 | /// A namespace that provides these two functions: |
| 527 | 529 | /// * `pub fn hash(self, K) u32` |
| 528 | | /// * `pub fn eql(self, K, K) bool` |
| 530 | /// * `pub fn eql(self, K, K, usize) bool` |
| 531 | /// |
| 532 | /// The final `usize` in the `eql` function represents the index of the key |
| 533 | /// that's already inside the map. |
| 529 | 534 | comptime Context: type, |
| 530 | 535 | /// When `false`, this data structure is biased towards cheap `eql` |
| 531 | 536 | /// functions and avoids storing each key's hash in the table. Setting |