[SR-7713] Adding redundant RandomAccessCollection
conformance mysteriously causes code to be less optimized
#50253
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
compiler
The Swift compiler in itself
performance
Additional Detail from JIRA
md5: 73c95352ada648a924d75e857116dd58
Issue Description:
The example in this post gets compiled to much slower code when the `BitVector` type is made to conform to `RandomAccessCollection`, even though the conformance is not directly used:
https://forums.swift.org/t/why-does-adding-conformance-to-randomaccesscollection-cause-a-performance-regression/12435/17
The text was updated successfully, but these errors were encountered: