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

Avoid calculating spans eagerly in Spanned derives #619

Merged
merged 1 commit into from
Aug 21, 2023
Merged

Conversation

udoprog
Copy link
Collaborator

@udoprog udoprog commented Aug 21, 2023

This would otherwise cause expressions like this:

------------------------------------------15

Playground.

To perform exponential work when calculating spans. Unfortunately such span calculations were used eagerly during indexing through the instrument macro.

@udoprog udoprog added bug Something isn't working changelog Issue has been added to the changelog labels Aug 21, 2023
@udoprog udoprog enabled auto-merge (rebase) August 21, 2023 20:23
@udoprog udoprog merged commit 354b1ee into main Aug 21, 2023
@udoprog udoprog deleted the fix-spanned branch August 21, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working changelog Issue has been added to the changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant