Skip to content

Conversation

lorentey
Copy link
Member

@lorentey lorentey commented Jan 6, 2023

Equatability allows faster implementations for updating cached grapheme boundary state after a text mutation, because it enables quick detection of before/after state equality, without having to feed the recognizers until they produce a synchronized grapheme break.

The CustomStringConvertible conformance makes it orders of magnitude more pleasant to debug code that uses this.

Sendable is a baseline requirement for value types these days.

rdar://103903565

…onvertible conformances

Equatability allows faster implementations for updating cached grapheme boundary state after a text mutation, because it enables quick detection of before/after state equality, without having to feed the recognizers until they produce a synchronized grapheme break.

The CustomStringConvertible conformance makes it orders of magnitude more pleasant to debug code that uses this.

Sendable is a baseline requirement for value types these days.
@lorentey lorentey requested a review from Azoy January 6, 2023 22:53
@lorentey
Copy link
Member Author

lorentey commented Jan 6, 2023

@swift-ci test

@lorentey lorentey merged commit 3f808f7 into swiftlang:main Jan 9, 2023
@lorentey lorentey deleted the character-recognizer-conformances branch January 9, 2023 19:33
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