Skip to content

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

Merged
merged 1 commit into from
Apr 23, 2020

Conversation

valeriyvan
Copy link
Contributor

Fixes info about internal _FixedArray16 in StandardLibraryProgrammersManual.md

@CodaFi
Copy link
Contributor

CodaFi commented Apr 20, 2020

@swift-ci smoke test

@CodaFi
Copy link
Contributor

CodaFi commented Apr 23, 2020

Builder died

@swift-ci smoke test macOS

@valeriyvan
Copy link
Contributor Author

valeriyvan commented Apr 23, 2020

Builder died

Hope that's not me.

@CodaFi
Copy link
Contributor

CodaFi commented Apr 23, 2020

@valeriyvan Goodness, I hope not. It's Jenkins. It's always Jenkins...

@CodaFi
Copy link
Contributor

CodaFi commented Apr 23, 2020

@CodaFi CodaFi merged commit 54d2b6a into swiftlang:master Apr 23, 2020
@@ -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.
Copy link
Collaborator

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`
Copy link
Collaborator

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.

@valeriyvan
Copy link
Contributor Author

@xwu, should I make new PR for this?

@xwu
Copy link
Collaborator

xwu commented Apr 24, 2020

That would be lovely; no hurry of course.

valeriyvan added a commit to valeriyvan/swift that referenced this pull request Apr 24, 2020
Suggestion of @xwu in PR swiftlang#31150 after it was already merged
@valeriyvan valeriyvan deleted the patch-3 branch February 20, 2023 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants