Skip to content

✨ Customize SequenceSet YAML serialization #432

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 18, 2025

Conversation

nevans
Copy link
Collaborator

@nevans nevans commented Apr 18, 2025

We can perfectly reconstruct the SequenceSet from the string. The string is the canonical IMAP representation. And, even if the tuples representation uses less memory, the string representation will always be more compact than the naive YAML serialization of the tuples.

So only serialize the string.

We can perfectly reconstruct the SequenceSet from the string.  The
string is the canonical IMAP representation.  And, even if the tuples
representation uses less memory, the string representation will always
be more compact than the naive YAML serialization of the tuples.

So only serialize the string.
@nevans nevans added the enhancement New feature or request label Apr 18, 2025
@nevans nevans merged commit b1413c6 into ruby:master Apr 18, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant