@@ -54,30 +54,30 @@ public func run_33CyrillicCharactersCount2(N: Int) {
5454 }
5555}
5656
57- func getLongString( ) -> String {
58- let long = """
59- Swift is a multi-paradigm, compiled programming language created for
60- iOS, OS X, watchOS, tvOS and Linux development by Apple Inc. Swift is
61- designed to work with Apple's Cocoa and Cocoa Touch frameworks and the
62- large body of existing Objective-C code written for Apple products. Swift
63- is intended to be more resilient to erroneous code ( \" safer \" ) than
64- Objective-C and also more concise. It is built with the LLVM compiler
65- framework included in Xcode 6 and later and uses the Objective-C runtime,
66- which allows C, Objective-C, C++ and Swift code to run within a single
67- program.
68- Існує багато варіацій уривків з Lorem Ipsum, але більшість з них зазнала
69- певних змін на кшталт жартівливих вставок або змішування слів, які навіть
70- не виглядають правдоподібно.
71- 日本語の場合はランダムに生成された文章以外に、
72- 著作権が切れた小説などが利用されることもある。
73- 🦩
74- """
75- return getString ( long)
76- }
77-
7857@inline ( never)
7958public func run_longMixedStringCount100( N: Int ) {
8059 for _ in 1 ... 5000 * N {
81- blackHole ( repeating ( getLongString ( ) , count: 100 ) )
60+ blackHole (
61+ repeating (
62+ """
63+ Swift is a multi-paradigm, compiled programming language created for
64+ iOS, OS X, watchOS, tvOS and Linux development by Apple Inc. Swift is
65+ designed to work with Apple's Cocoa and Cocoa Touch frameworks and the
66+ large body of existing Objective-C code written for Apple products. Swift
67+ is intended to be more resilient to erroneous code ( \" safer \" ) than
68+ Objective-C and also more concise. It is built with the LLVM compiler
69+ framework included in Xcode 6 and later and uses the Objective-C runtime,
70+ which allows C, Objective-C, C++ and Swift code to run within a single
71+ program.
72+ Існує багато варіацій уривків з Lorem Ipsum, але більшість з них зазнала
73+ певних змін на кшталт жартівливих вставок або змішування слів, які навіть
74+ не виглядають правдоподібно.
75+ 日本語の場合はランダムに生成された文章以外に、
76+ 著作権が切れた小説などが利用されることもある。
77+ 🦩
78+ """ ,
79+ count: 100
80+ )
81+ )
8282 }
8383}
0 commit comments