-
Notifications
You must be signed in to change notification settings - Fork 373
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
Introduce versioned EntityPath
& refactor mesh/tensor caching
#3230
Merged
Merged
Changes from 12 commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
6782f21
annihilate rerun.datatypes.TensorId definition
teh-cmc 0371ec3
clean up Rust code accordingly
teh-cmc 6ae8613
clean up Python code accordingly
teh-cmc 7572331
clean up C++ code accordingly
teh-cmc ef1731d
{Archetype/Entity}View: make it clear which row_id it is we're storing
teh-cmc 16ea66b
introduce VersionedInstancePath[Hash]
teh-cmc f467f45
reimplement mesh caching in terms of VersionedInstancePaths
teh-cmc a6e581b
annihilate all traces of legacy MeshIds
teh-cmc 78b3b88
introduce versioned query_latest_at_* methods
teh-cmc ebdd2a6
reimplement tensor/texture caching in terms of VersionedInstancePaths
teh-cmc 9e7e6ab
annihilate all traces of legacy TensorIds
teh-cmc 79fcd41
i didnt even touch that?!
teh-cmc a453fbe
reduce query_latest_* API surface by introducing VersionedComponent
teh-cmc 5fc9042
propagating API changes everywhere
teh-cmc beabbfa
docs for primary_row_id
teh-cmc 5d3bd1a
fix raw_mesh cargo manifest
teh-cmc 306ddc2
lints
teh-cmc File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Rather than "component_and_row_id" what if this the result-type was just a "VersionedComponent"?
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.
Interesting. I'll try and see how this looks.
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.
I've implemented it and I think it's a nice enough improvement as it at least prevents the combinatorial explosion of
query_latest_*
APIs.Overall the whole thing is definitely not great, there is so much more we could do if the notion of versioning was more tightly integrated (or rather: integrated at all) all over the codebase overall but... gotta 🚢 !