-
Notifications
You must be signed in to change notification settings - Fork 176
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
feat: Add (optional) forward linking of track states #2418
feat: Add (optional) forward linking of track states #2418
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2418 +/- ##
==========================================
+ Coverage 49.80% 49.81% +0.01%
==========================================
Files 466 466
Lines 26141 26190 +49
Branches 11989 12009 +20
==========================================
+ Hits 13019 13047 +28
- Misses 4615 4620 +5
- Partials 8507 8523 +16
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
Very nice, indeed! @EdwardMoyse you mind reviewing this one? |
This was previously still using the `iprevious` member in `IndexData`, but we did have a separate `m_previous` column already that was being ignored. Preparation for #2418
This better indicates that the iterations is outside in Preparation for #2418.
A track can now initiate forward linking of its track states. The track states have a new property, `next` that optionally makes the sequence a doubly linked list. This is not filled by default (not even by `appendTrackState`) because for branching cases, it's not unambiguous. `linkForward()` on a track will initiate the forward linking and store the innermost track state index for easy access. `reverseTrackStates` also does this, since it's only valid for non-branching trackstate sequences anyway.
7231cc8
to
cd2e27e
Compare
Rebased, conflicts resolved. |
Conflicts resolved. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍
A track can now initiate forward linking of its track states. The track states have a new property, `next` that optionally makes the sequence a doubly linked list. This is not filled by default (not even by `appendTrackState`) because for branching cases, it's not unambiguous. `linkForward()` on a track will initiate the forward linking and store the innermost track state index for easy access. `reverseTrackStates` also does this, since it's only valid for non-branching trackstate sequences anyway. Also adds a `innermostTrackState()` getter, which returns a track state proxy in case the track is forward linked and has a `stemIndex` Blocked by: - acts-project#2425 - acts-project#2426
A track can now initiate forward linking of its track states. The track
states have a new property,
next
that optionally makes the sequence adoubly linked list. This is not filled by default (not even by
appendTrackState
) because for branching cases, it's not unambiguous.linkForward()
on a track will initiate the forward linking and storethe innermost track state index for easy access.
reverseTrackStates
also does this, since it's only valid for non-branching trackstate
sequences anyway.
Also adds a
innermostTrackState()
getter, which returns a track state proxy in case the track is forward linked and has astemIndex
Blocked by: