[benchmark] half Array.removeAll bench size

This commit is contained in:
Lucy Satheesan
2023-05-23 21:10:11 -07:00
parent 6a1129f68a
commit 32745c3c56

View File

@@ -26,8 +26,8 @@ class Slow {
}
}
let inputArray_Int: [Int] = Array(0..<1_000_000)
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:))
@inline(never)
func removeAll<T>(_ arr: [T]) -> [T] {