A colleague of mine who’s doing performance testing with some server-side Swift frameworks like Kitura, Perfect and Zewo found a 15-20% degradation with a simple “Hello World” benchmark, with the 3.0.1 previews on Linux. Analysis revealed it is related to the disabling of an optimisation around String comparison for Swift runtimes - this commit - apple/swift@
Pushkar N Kulkarni,
Simplicity is prerequisite for reliability - Edsger W. Dijkstra
Do we have a plan to reimplement this optimisation for Swift runtimes in the future? Any more information about this would be highly appreciated.