Remove brittle ‘contains’ optimization in minus/removeAll/retainAll #KT-45438
This commit is contained in:
committed by
Ilya Gorbunov
parent
fbc43cbebe
commit
94b371af5b
@@ -265,4 +265,6 @@ internal actual fun mapCapacity(expectedSize: Int) = expectedSize
|
||||
@PublishedApi
|
||||
internal fun checkBuilderCapacity(capacity: Int) {
|
||||
require(capacity >= 0) { "capacity must be non-negative." }
|
||||
}
|
||||
}
|
||||
|
||||
internal actual fun brittleContainsOptimizationEnabled(): Boolean = false
|
||||
Reference in New Issue
Block a user