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

Compilation time improvements (part 3) #2592

Merged
merged 3 commits into from
Feb 27, 2025
Merged

Compilation time improvements (part 3) #2592

merged 3 commits into from
Feb 27, 2025

Conversation

ammen99
Copy link
Member

@ammen99 ammen99 commented Feb 27, 2025

  • plugins: split workspace-wall into a separate helper library
  • plugins: move move-drag-interface into a shared library
  • vswitch: move most of the implementation to the cpp file

These changes do not really reduce the total compilation time, however they make some of the biggest header-only helpers used by plugins into shared libraries. This allows us to compile them only once (things like move-drag-interface and workspace-wall). Thus, we can avoid recompiling all related plugins when their code changes, and we get faster compilation times for the individual plugins. For example move.cpp is down to 2s from 4.5s.

@ammen99 ammen99 merged commit 2ff6b3b into master Feb 27, 2025
8 checks passed
@ammen99 ammen99 deleted the ctimes-v4 branch February 27, 2025 17:16
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