Skip to content

fix: skipping inside arrays on comma-atomic#757

Merged
V0ldek merged 5 commits intomainfrom
v0ldek/#751-skipping-inside-arrays
Aug 30, 2025
Merged

fix: skipping inside arrays on comma-atomic#757
V0ldek merged 5 commits intomainfrom
v0ldek/#751-skipping-inside-arrays

Conversation

@V0ldek
Copy link
Member

@V0ldek V0ldek commented Jul 31, 2025

Short description

Tail skipping was not triggered when the item matching the unitary transition was an atomic value inside a list. For example, selecting $[0] from a long list of integers would never skip, massively degrading performance.

Skipping was added to handle_comma in the same vein as it was in handle_colon to enable this.

Issue

Resolves: #751

Checklist

All of these should be ticked off before you submit the PR.

  • I ran just verify locally and it succeeded.
  • Issue was given go ahead and is linked above OR I have included justification for a minor change.
  • Unit tests for my changes are included OR no functionality was changed.

Tail skipping was not triggered when the item matching the unitary
transition was an atomic value inside a list. For example,
selecting `$[0]` from a long list of integers would never skip,
massively degrading performance.

Skipping was added to `handle_comma` in the same vein as it was in
`handle_colon` to enable this.

Ref: #751
@V0ldek V0ldek enabled auto-merge (squash) July 31, 2025 10:20
@V0ldek V0ldek disabled auto-merge July 31, 2025 10:20
@V0ldek V0ldek enabled auto-merge (squash) July 31, 2025 10:20
@V0ldek V0ldek requested a review from KraftRicardo August 1, 2025 14:56
V0ldek added 3 commits August 29, 2025 18:04
This addresses a hard-to-repro bug where reclassification being
called with an index at the end of a block would break the
classifier.
KraftRicardo
KraftRicardo previously approved these changes Aug 29, 2025
Copy link
Collaborator

@KraftRicardo KraftRicardo left a comment

Choose a reason for hiding this comment

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

Second approve

@V0ldek V0ldek merged commit f0c928a into main Aug 30, 2025
50 checks passed
@V0ldek V0ldek deleted the v0ldek/#751-skipping-inside-arrays branch August 30, 2025 09:57
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.

Skipping inside arrays not triggered

2 participants