Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Previously, we create a new CGEvent for every keystroke, this can be a huge waste. This commit tries to cache the events between sends to improve the typing performance. Lot's of unsafe stuff here but that's the trade off, i guess.
- Loading branch information
Showing
4 changed files
with
240 additions
and
14 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters