@@ -2487,9 +2487,6 @@ internal class _RawNative${Self}Storage:
2487
2487
internal final var values: UnsafeMutableRawPointer
2488
2488
% end
2489
2489
2490
- internal final let maxLoadFactorInverse: Double =
2491
- _hashContainerDefaultMaxLoadFactorInverse
2492
-
2493
2490
// This API is unsafe and needs a `_fixLifetime` in the caller.
2494
2491
internal final
2495
2492
var _initializedHashtableEntriesBitMapBuffer: UnsafeMutablePointer<UInt> {
@@ -2914,10 +2911,6 @@ internal struct _Native${Self}Buffer<${TypeParameters}> {
2914
2911
}
2915
2912
}
2916
2913
2917
- internal var _maxLoadFactorInverse: Double {
2918
- return _storage.maxLoadFactorInverse
2919
- }
2920
-
2921
2914
internal
2922
2915
var _initializedHashtableEntriesBitMapBuffer: UnsafeMutablePointer<UInt> {
2923
2916
return _storage._initializedHashtableEntriesBitMapBuffer
@@ -4235,7 +4228,7 @@ internal enum _Variant${Self}Buffer<${TypeParametersDecl}> : _HashBuffer {
4235
4228
? asNative.capacity
4236
4229
: NativeBuffer.minimumCapacity(
4237
4230
minimumCount: asNative.count + 1,
4238
- maxLoadFactorInverse: asNative._maxLoadFactorInverse )
4231
+ maxLoadFactorInverse: _hashContainerDefaultMaxLoadFactorInverse )
4239
4232
4240
4233
let (_, capacityChanged) = ensureUniqueNativeBuffer(minCapacity)
4241
4234
if capacityChanged {
@@ -4300,7 +4293,7 @@ internal enum _Variant${Self}Buffer<${TypeParametersDecl}> : _HashBuffer {
4300
4293
4301
4294
let minCapacity = NativeBuffer.minimumCapacity(
4302
4295
minimumCount: asNative.count + 1,
4303
- maxLoadFactorInverse: asNative._maxLoadFactorInverse )
4296
+ maxLoadFactorInverse: _hashContainerDefaultMaxLoadFactorInverse )
4304
4297
4305
4298
let (_, capacityChanged) = ensureUniqueNativeBuffer(minCapacity)
4306
4299
0 commit comments