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 18c7e6a commit 98ad5a4Copy full SHA for 98ad5a4
validation-test/stdlib/StringMemoryTest.swift
@@ -33,7 +33,7 @@ func lowercase(_ str: String) -> String {
33
/// Make sure the hash function does not leak.
34
35
let dict = [ "foo" : 1]
36
-for _ in 0 ..< 1_000_000 {
+for _ in 0 ..< 10_000_000 {
37
if lookup("\u{1F1E7}\u{1F1E7}", dict) {
38
print("Found?!")
39
}
@@ -56,9 +56,9 @@ getrusage(RUSAGE_SELF, &usage)
56
// CHECK: success
57
// CHECK-NOT: failure
58
59
-// We should not need 10MB for this.
60
-if usage.ru_maxrss > 10 * 1024 * 1024 {
61
- print("failure - should not need 10MB!")
+// We should not need 50MB for this.
+if usage.ru_maxrss > 50 * 1024 * 1024 {
+ print("failure - should not need 50MB!")
62
} else {
63
print("success")
64
0 commit comments