We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Array.removeAll
1 parent 6a1129f commit 32745c3Copy full SHA for 32745c3
benchmark/single-source/ArrayRemoveAll.swift
@@ -26,8 +26,8 @@ class Slow {
26
}
27
28
29
-let inputArray_Int: [Int] = Array(0..<1_000_000)
30
-let inputArray_Class: [Slow] = (0..<100_000).map(Slow.init(num:))
+let inputArray_Int: [Int] = Array(0..<500_000)
+let inputArray_Class: [Slow] = (0..<50_000).map(Slow.init(num:))
31
32
@inline(never)
33
func removeAll<T>(_ arr: [T]) -> [T] {
0 commit comments