[SR-7365] 'cycled(_:)' performance regression in Swift 4.1 #49913
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
performance
regression
standard library
Area: Standard library umbrella
swift 4.1
Additional Detail from JIRA
md5: f9eb66bac7c507368f34aa9fa5476249
Issue Description:
See this forum post for the details: https://forums.swift.org/t/starter-pitch-introducing-a-cycled-method-to-sequence/11254/28
This snippet of code:
Gives different performance compiled with different versions of a compiler:
Average times (seconds):
The text was updated successfully, but these errors were encountered: