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

Only calculate start window timestamp once in BaseTimeWindowPartitionsSubset.__contains__ #21792

Merged
merged 1 commit into from May 13, 2024

Conversation

gibsondan
Copy link
Member

Summary:
speedscope suggests this might actually make a difference when there are large numbers of time windows in the subset (for example, a */15 asset or hourly asset going back to 2015)

Test Plan: BK

Summary & Motivation

How I Tested These Changes

…sSubset.__contains__

Summary:
speedscope suggests this might actually make a difference when there are large numbers of time windows in the subset (for example, a */15 asset or hourly asset going back to 2015)

Test Plan: BK
@gibsondan gibsondan merged commit e4109a9 into master May 13, 2024
1 check passed
@gibsondan gibsondan deleted the easyoptimization branch May 13, 2024 14:10
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