-
Notifications
You must be signed in to change notification settings - Fork 393
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
Optimize point clouds #4932
Optimize point clouds #4932
Conversation
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.
neat, but how much faster did it get for you?
// TODO(emilk): optimize the extend function. | ||
// Right now it is 3-4x faster to collect to a vec first, which is crazy. |
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.
oh wow, that's so sad. I wonder what aspect of this method is this and if that's true with all iterators or only some.
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'm guessing all the added bounds check
Well, I have 16 cores, so color loading got around 16x faster :) |
What
Some optimizations I found while playing around with large point clouds.
Checklist
main
build: app.rerun.ionightly
build: app.rerun.io