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

Optimise compilation times #4

Open
heavenfall opened this issue Sep 19, 2024 · 1 comment
Open

Optimise compilation times #4

heavenfall opened this issue Sep 19, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@heavenfall
Copy link
Collaborator

Many src files only contain a single ostream<< operator overload, look into how we manage src a larger number of src files.

Recommended:
Merge these file contents into a single larger cpp file for faster compiling.

@heavenfall heavenfall added the enhancement New feature or request label Sep 19, 2024
@dharabor
Copy link
Member

Suggest to make this issue about faster compilation more generally.
That means

  1. Measure the current compilation performance and get some statistics (how many compilation units do we have)
  2. Look at opportunities to merge different compilation units; e.g., fold simple cpp files into headers and combine conceptually related compilation units together, if they make sense.

@dharabor dharabor changed the title Source file ostream operators Optimise compilation times Oct 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants