-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Underscore usable-from-inline types #19686
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Underscore usable-from-inline types #19686
Conversation
d62f031
to
f8e6cbe
Compare
@swift-ci please test |
@swift-ci please smoke benchmark |
@swift-ci please smoke test compiler performance |
Build comment file:Performance: -Osize
Performance: -Onone
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR. Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein). Hardware Overview
|
Makes sure all internal methods that are @usableFromInline have an underscore, in case some day we want to create a public version with the same name.
Also adds some constraints that appeared to be missing from
_ArrayProtocol
, and separates out the conformances to it to match std lib style.