Skip to content

Enhance dwm Performance #12

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

Merged
merged 4 commits into from
Apr 16, 2024
Merged

Enhance dwm Performance #12

merged 4 commits into from
Apr 16, 2024

Conversation

fesowowako
Copy link
Contributor

I swapped the fork() and execvp() code for posix_spawnp(). This change enhances efficiency by minimising system calls, which speeds up process creation. posix_spawnp() also offers finer control over the new process, such as setting attributes, optimising its performance. Additionally, in config.mk update, I've introduced an optional optimisations flag for those who wish to utilise them. Additionally, I've included the -Wno-unused-function flag in the CFLAGS, which suppresses warnings about unused functions, thereby removing dead code.

@ChrisTitusTech ChrisTitusTech merged commit ded2226 into ChrisTitusTech:main Apr 16, 2024
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.

2 participants