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

Reorganize code and reduce header dependencies #4638

Closed
wants to merge 1 commit into from

Conversation

randombit
Copy link
Owner

Preprocessing each source file and counting the non-empty lines (see script in this PR), compiling libbotan involves the compiler looking at roughly 38 million lines of code (!). Changes here bring it down to a bit under 35 million.

Still not great tbh, and I think reducing compile times could use more focus.

This ignores the tests for now, I expect they could see similar improvement.

@randombit randombit requested a review from reneme February 5, 2025 12:53
@randombit
Copy link
Owner Author

Oops still wip closing for now

@randombit randombit closed this Feb 5, 2025
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.

1 participant