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

parse files with simplecpp without providing a stream #4955

Merged
merged 1 commit into from
Apr 30, 2023

Conversation

firewave
Copy link
Collaborator

@firewave firewave commented Apr 13, 2023

This leverages the new interface introduced with danmar/simplecpp#244 to avoid usage of C++ std::ifstream in favor of the C FILE I/O which has less overhead.

This is already used internally for include files opened via simplecpp and this also uses it for the actual input files.

@firewave
Copy link
Collaborator Author

firewave commented Apr 13, 2023

I removed the CI files so this does not trigger a build to ease things.

Still needs to be profiled.

@firewave firewave force-pushed the istr branch 2 times, most recently from 0f638a1 to 68b9ef0 Compare April 28, 2023 11:10
@firewave firewave marked this pull request as ready for review April 28, 2023 11:10
@danmar danmar merged commit 2bc4ee9 into danmar:main Apr 30, 2023
@firewave firewave deleted the istr branch April 30, 2023 20:13
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