-
Notifications
You must be signed in to change notification settings - Fork 10.5k
docs: Convert ARCOptimization.rst to Markdown #35993
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
Conversation
129b677
to
71ab004
Compare
@swift-ci please smoke test |
docs/ARCOptimization.md
Outdated
- `strong_retain` | ||
- `strong_release` | ||
- `strong_retain_unowned` | ||
- `unowned_retain` | ||
- `unowned_release` | ||
- `load_weak` | ||
- `store_weak` | ||
- `fix_lifetime` | ||
- `mark_dependence` | ||
- `is_unique` | ||
- `copy_block` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can remove the additional spacing between -
and the backtick.
docs/ARCOptimization.md
Outdated
> - Native object types are directly checked by reading the strong | ||
> reference count: (Builtin.NativeObject, known native class | ||
> reference) | ||
> - Objective-C object types require an additional check that the | ||
> dynamic object type uses native Swift reference counting: (unknown | ||
> class reference, class existential) | ||
> - Bridged object types allow the dynamic object type check to be | ||
> bypassed based on the pointer encoding: (Builtin.BridgeObject) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this was accidentally marked as a quote? Seems a bit odd... It seems like it is stating the rules, and not quoting rules stated elsewhere.
71ab004
to
2e45839
Compare
@swift-ci please smoke test |
There's also a link in docs/README.md. |
Thanks, that's fixed now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did a quick side-by-side comparison.
The only thing I noticed was a missing table of contents.
10e31f4
to
699c3ed
Compare
@swift-ci please smoke test and merge |
699c3ed
to
e7e28cc
Compare
@swift-ci please smoke test |
@swift-ci Please smoke test Linux platform |
@swift-ci please test Windows platform |
This breaks the doc compilation which in turns breaks the complete build. Please revert, thank you. |
@Teemperor Possible fix: #36131 |
Currently docs are a mix of reStructuredText and Markdown and unifying them as Markdown would make more sense long term, as far as I understand. This converts
ARCOptmization.rst
, initially converted with Pandoc with manual cleanup added after the fact.