Skip to content

Commit 32745c3

Browse files
committed
[benchmark] half Array.removeAll bench size
1 parent 6a1129f commit 32745c3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

benchmark/single-source/ArrayRemoveAll.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ class Slow {
2626
}
2727
}
2828

29-
let inputArray_Int: [Int] = Array(0..<1_000_000)
30-
let inputArray_Class: [Slow] = (0..<100_000).map(Slow.init(num:))
29+
let inputArray_Int: [Int] = Array(0..<500_000)
30+
let inputArray_Class: [Slow] = (0..<50_000).map(Slow.init(num:))
3131

3232
@inline(never)
3333
func removeAll<T>(_ arr: [T]) -> [T] {

0 commit comments

Comments
 (0)