-
Notifications
You must be signed in to change notification settings - Fork 88
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
Improve compilation time #643
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
refactor
Modify existing code potentially causing breaking changes
Comments
mpusz
added
help wanted
Extra attention is needed
good first issue
Good for newcomers
refactor
Modify existing code potentially causing breaking changes
labels
Nov 16, 2024
Also, a similar pattern can be found in some overloads of Based on the above, it seems that if we can somehow find out how we can improve the process of multiplying (potentially transformed) elements from type lists directly on the type lists, we could save many seconds during compilation. |
Resolving #610 may also help here for newer compilers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
good first issue
Good for newcomers
help wanted
Extra attention is needed
refactor
Modify existing code potentially causing breaking changes
I made some changes recently that improved the compilation time roughly 2x. Those were low-hanging fruits.
There is probably still room for improvement, but I do not have time to invest time in it now.
Today I did some benchmarks with
-ftime-trace
andClangBuildAnalyzer
. I timed building all the examples separately for headers and modules. Here is the output of both experiments:Headers
Modules
Everyone is welcome to contribute changes or share ideas on possible improvements.
The text was updated successfully, but these errors were encountered: