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

refactor(WindowsKeyPoller): change implementation of captured_chars #2701

Conversation

tdadela
Copy link
Contributor

@tdadela tdadela commented May 5, 2024

WindowsKeyPoller.captured_chars uses methods responsible for removing at beginning and appending at end.
collections.deque performs those in constant time, in contrast with list (linear time for appending/removing at beginning).
Replaces #2431

@cyberw cyberw merged commit 06b2274 into locustio:master May 5, 2024
14 checks passed
@tdadela tdadela deleted the refactor_WindowsKeyPoller_replace_list_with_deque branch May 5, 2024 18:41
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.

None yet

2 participants