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

Several optimizations #20

Merged
merged 2 commits into from
Apr 6, 2021
Merged

Several optimizations #20

merged 2 commits into from
Apr 6, 2021

Conversation

sayanarijit
Copy link
Owner

@sayanarijit sayanarijit commented Apr 6, 2021

  • Write to pipes only when the value changes.
  • Sleep when not reading key event or messages.

Fixes: #10

- Write to pipes only when the value changes.
- Sleep when not reading key event or messages.

Fixes: #10
Also fix nix hash
@sayanarijit sayanarijit merged commit e34755b into main Apr 6, 2021
@sayanarijit sayanarijit deleted the fix/cpu-usage branch May 8, 2021 14:22
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.

CPU Usage
1 participant