-
Notifications
You must be signed in to change notification settings - Fork 411
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
Implement support for opt-in eagerly-serialized archetypes #8646
Conversation
Web viewer failed to build. | Result | Commit | Link | Manifest | Note: This comment is updated whenever you push a commit. |
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.
BEAUTIFUL ⭐⭐⭐⭐⭐
let keypoint_ids = arrays_by_descr | ||
.get(&Self::descriptor_keypoint_ids()) | ||
.map(|array| { | ||
SerializedComponentBatch::new(array.clone(), Self::descriptor_keypoint_ids()) | ||
}); |
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.
It's so much shorter and beautiful ❤️
1ecedd4
to
13926a3
Compare
15b27bd
to
159b53f
Compare
7c341c7
to
38330b0
Compare
This introduces a new
attr.rust.archetype_eager
codegen attribute. When toggled, the associated archetype will now only carry raw Arrow data around, and go through the new eager logging APIs.The attribute has been set on

Points3D
:Legacy and eagerly-serialized archetypes can co-exist, making it possible to migrate everything incrementally.
Archetype::{from_arrow, to_arrow}
and friends tag compliant #8644