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.
1 parent de3fb02 commit 76df55dCopy full SHA for 76df55d
benchmark/single-source/CountAlgo.swift
@@ -26,15 +26,15 @@ public let benchmarks = [
26
@inline(never)
27
public func run_CountAlgoArray(_ N: Int) {
28
for _ in 1...10*N {
29
- CheckResults(numbers.count(where: { $0 & 4095 == 0 }) == 25)
+ check(numbers.count(where: { $0 & 4095 == 0 }) == 25)
30
}
31
32
33
34
public func run_CountAlgoString(_ N: Int) {
35
let vowels = Set("aeiou")
36
for _ in 1...N {
37
- CheckResults(text.count(where: vowels.contains) == 2014)
+ check(text.count(where: vowels.contains) == 2014)
38
39
40
0 commit comments