Skip to content

Conversation

@PatrickPijnappel
Copy link
Contributor

No description provided.

- Not having the post-`nil` guarantee can sometimes add storage and performance
burden for the caller instead, e.g. when an iterator somehow buffers it's
underlying iterator. This in contrast can usually not be optimized away. For
example, the standard library's UTF8/UTF16 decoding has 4 instead of 3 branches
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably nitpicking, but UTF-8 and UTF-16 are spelled with a dash.

gribozavr added a commit that referenced this pull request Mar 18, 2016
Create proposal to change IteratorType post-nil guarantee
@gribozavr gribozavr merged commit d0521fd into swiftlang:master Mar 18, 2016
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.

2 participants