-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Fixes info about internal _FixedArray16 in StandardLibraryProgrammersManual.md #31150
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
@swift-ci smoke test |
Builder died @swift-ci smoke test macOS |
Hope that's not me. |
@valeriyvan Goodness, I hope not. It's Jenkins. It's always Jenkins... |
⛵ |
@@ -220,7 +220,7 @@ The standard library cannot import the Darwin module (much less an ICU module), | |||
|
|||
#### `_FixedArray` | |||
|
|||
The standard library has internal fixed size arrays of some limited sizes. This provides fast random access into contiguous (usually stack-allocated) memory. These are metaprogrammed based on size, so if you need a new size not currently defined, add it to the `sizes` gyb variable. See [FixedArray.swift.gyb](https://github.com/apple/swift/blob/master/stdlib/public/core/FixedArray.swift.gyb) for implementation. | |||
The standard library has internal array of fixed size 16. This provides fast random access into contiguous (usually stack-allocated) memory. See [FixedArray.swift](https://github.com/apple/swift/blob/master/stdlib/public/core/FixedArray.swift) for implementation. |
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.
Suggestion: "has an internal array type of fixed size 16."
@@ -220,7 +220,7 @@ The standard library cannot import the Darwin module (much less an ICU module), | |||
|
|||
#### `_FixedArray` |
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.
Suggestion: update heading to _FixedArray16
.
@xwu, should I make new PR for this? |
That would be lovely; no hurry of course. |
Suggestion of @xwu in PR swiftlang#31150 after it was already merged
Fixes info about internal _FixedArray16 in StandardLibraryProgrammersManual.md