Skip to content
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

PLYLoader: Increase parse performance 2. #25248

Merged
merged 1 commit into from
Jan 7, 2023
Merged

PLYLoader: Increase parse performance 2. #25248

merged 1 commit into from
Jan 7, 2023

Conversation

aardgoose
Copy link
Contributor

Description

Remove the creation of a temporary array for every value parsed in binary formats, construct accessor methods and file offsets for property value types.

Reduces parsing time for 500MB lucy.ply model from 7s to 4s on my laptop, similar changes for smaller files.

@mrdoob mrdoob added this to the r149 milestone Jan 7, 2023
@mrdoob mrdoob merged commit 5acabb6 into mrdoob:dev Jan 7, 2023
@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 7, 2023

@aardgoose Thanks for the performance tuning in context of PLYLoader! Even without measurement tools you can clearly see a performance boost between dev and prod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants