-
Notifications
You must be signed in to change notification settings - Fork 388
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
New Chunk
-based time-series views
#6995
Conversation
8352397
to
d1331a4
Compare
301c344
to
76c5d4a
Compare
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.
Nice! All reads quite logically. Still feels a bit on the verbose side, but looks like some good opportunities still for improved helpers in the future.
.flat_map(|chunk| { | ||
chunk.iter_component_indices(&query.timeline(), &Scalar::name()) | ||
}) | ||
.map(|index| (index, ())) |
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.
This looks odd. I assume this is related to the requirements for using range_zip_1x1
below, but maybe hints at the need for some helpers with slightly different shape if it shows up in more places.
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.
This only shows up in the time series views which are written in an awkward, rustc
-pleasing kind of way.
It's still worthy of a comment in any case, you're right.
The new
Chunk
-based time-series views.They can chomp through your scalars real fast, here's 2.25M of them!
24-07-25_18.45.34.patched.mp4
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerCHANGELOG.md
and the migration guideTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.