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

Optimized event handling & performance improvements #72

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

0xSolanaceae
Copy link

  • Added helper function to mod.rs and reducing number of match arms
  • Optimized draw_header_block by reducing cloning, where Text::from method is now chained to patch_style to reduce intermediate variables
  • Removed unnecessary string allocation
  • Combined some similar assertions in test_handle_table_scroll
  • Shifted handle_key_events to hashmap to store keybindings and increase performance

…iling with -D warnings by default results in a failed build
- Optimized draw_header_block by reducing cloning, where Text::from method is now chained to patch_style to reduce intermediate variables
- Removed unnecessary string allocation
- Combined some similar assertions in test_handle_table_scroll
- Shifted handle_key_events to hashmap to store keybindings and increase performance
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