mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Bitwise operations on Bool are redundant with other logic operations that stdlib already provides. The only reason to have them was to avoid branching in the short-circuiting && and ||. rdar://19340952 Surprisingly, replacing & and | in the standard library with && and || brought performance improvements and no significant performance regressions: RecursiveOwnedParameter 1.14 SelectionSort 1.19 Swift SVN r24674
11 KiB
11 KiB