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

upcoming_windows is slow #61

Closed
Mark2000 opened this issue Sep 14, 2023 · 0 comments
Closed

upcoming_windows is slow #61

Mark2000 opened this issue Sep 14, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Mark2000
Copy link
Contributor

Is your feature request related to a problem? Please describe.
The upcoming_windows, next_windows, and next_targets functions are slow, especially when called with a large number of targets.

Describe the solution you'd like
The API should probably stay the same; however, targets should be stored in a different data structure and perhaps accessed through different methods that don't require the construction of large dicts.

Describe alternatives you've considered
Caching may also be a viable option, though this introduces certain risks. In the case I'm currently looking at, it would lead to 4x fewer calls.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant