Skip to content

Conversation

@nevans
Copy link
Collaborator

@nevansnevans commented May 5, 2025

Short-circuit frozen SequenceSet modifications for two reasons:

  • Skip coercing inputs or calling (relatively expensive) query methods.
  • Normalize the output for JRuby, which doesn't appear to use #inspect for its built-in frozen error (see Add JRuby and TruffleRuby to CI #454).

Short-circuit frozen SequenceSet modifications does two things: * avoids unnecessarily coercing inputs or calling query methods * normalizes the output for JRuby
@nevansnevans merged commit f117dbd into masterMay 6, 2025
35 of 37 checks passed
@nevansnevans deleted the sequence_set/modifying branch May 6, 2025 15:16
@nevansnevans changed the title ✅ Short-circuit frozen SequenceSet modifications♻️ Short-circuit frozen SequenceSet modificationsMay 8, 2025
@nevansnevans added the sequence-set Any code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class. label Dec 10, 2025
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sequence-setAny code the IMAP `sequence-set` data type or grammar rule, especially the SequenceSet class.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@nevans