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

IO/STL: speedup reading of ASCII files #93

Merged
merged 2 commits into from
Oct 24, 2020
Merged

Conversation

andrea-iob
Copy link
Member

The speedup is achieved using a custom stream instead of the std::stingstream.

With these changes, the time it takes to generate a SurfUnstructured patch form an ASCII file of 450k triangles goes from 11.3 seconds to 9.3 seconds.

@andrea-iob andrea-iob merged commit 0958b5b into master Oct 24, 2020
@andrea-iob andrea-iob deleted the IO.STL.optimize.read branch October 24, 2020 06:50
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.

2 participants