File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ let longWide = "fὢasὢodὢijὢadὢolὢsjὢalὢsdὢjlὢasὢdfὢijὢ
36
36
let ( s1, ss1) = equivalentWithDistinctBuffers ( )
37
37
let ( s2, ss2) = equivalentWithDistinctBuffers ( )
38
38
39
- let quiteLong = String ( repeating: " 0 " , count: 10_000 )
39
+ let quiteLong = String ( repeating: " 0 " , count: 15_000 ) [ ... ]
40
40
41
41
@inline ( never)
42
42
public func run_SubstringFromLongString( _ N: Int ) {
@@ -132,16 +132,16 @@ public func run_EqualSubstringSubstringGenericEquatable(_ N: Int) {
132
132
133
133
@inline ( never)
134
134
public func run_SubstringDropFirst1( _ N: Int ) {
135
- let s = quiteLong [ ... ]
136
- for _ in 1 ... N*500 {
135
+ let s = quiteLong
136
+ for _ in 1 ... N*1000 {
137
137
blackHole ( !s. dropFirst ( 1 ) . isEmpty)
138
138
}
139
139
}
140
140
141
141
@inline ( never)
142
142
public func run_SubstringDropLast1( _ N: Int ) {
143
- let s = quiteLong [ ... ]
144
- for _ in 1 ... N*500 {
143
+ let s = quiteLong
144
+ for _ in 1 ... N*1000 {
145
145
blackHole ( !s. dropLast ( 1 ) . isEmpty)
146
146
}
147
147
}
You can’t perform that action at this time.
0 commit comments