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

Only emit include for IOSystem.h when needed #2374

Merged
merged 1 commit into from Dec 18, 2022

Conversation

ruricolist
Copy link
Contributor

Currently, when generating multiple files, every generated relation class includes IOSystem.h. This is a small change so relation classes only include the header when needed. For us this yields a ~20% speedup in compilation times.

@codecov
Copy link

codecov bot commented Dec 16, 2022

Codecov Report

Merging #2374 (251e8fd) into master (2c9248c) will not change coverage.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2374   +/-   ##
=======================================
  Coverage   77.52%   77.52%           
=======================================
  Files         467      467           
  Lines       30778    30778           
=======================================
  Hits        23862    23862           
  Misses       6916     6916           
Impacted Files Coverage Δ
src/synthesiser/Synthesiser.cpp 84.84% <100.00%> (ø)
...ouffle/datastructure/ConcurrentInsertOnlyHashMap.h 87.40% <0.00%> (-1.58%) ⬇️
src/include/souffle/utility/ParallelUtil.h 85.27% <0.00%> (+1.55%) ⬆️

@quentin quentin merged commit 3cd802d into souffle-lang:master Dec 18, 2022
@quentin
Copy link
Member

quentin commented Dec 18, 2022

Thanks for your contribution

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.

None yet

2 participants