File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ extension _HashTable {
94
94
for object: AnyObject ,
95
95
scale: Int8
96
96
) -> Int {
97
- #if false // FIXME: Enable per-instance seeding
98
97
// We generate a new hash seed whenever a new hash table is allocated and
99
98
// whenever an existing table is resized, so that we avoid certain copy
100
99
// operations becoming quadratic. (For background details, see
@@ -115,10 +114,6 @@ extension _HashTable {
115
114
// guarantee that no two tables with the same seed can coexist at the same
116
115
// time (apart from copy-on-write derivatives of the same table).
117
116
return unsafeBitCast ( object, to: Int . self)
118
- #else
119
- // Use per-capacity seeding for now.
120
- return Int ( scale)
121
- #endif
122
117
}
123
118
}
124
119
You can’t perform that action at this time.
0 commit comments