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

perf: read value range size instead of the value range #205

Merged
merged 1 commit into from
Aug 14, 2023

Conversation

triceo
Copy link
Contributor

@triceo triceo commented Aug 14, 2023

To read an entire value range to get its size,
the value range needs to be first converted to a collection.
This is costly and we therefore implement a shortcut,
allowing us to read the size without creating a collection.

@triceo triceo requested a review from rsynek August 14, 2023 06:29
@triceo triceo force-pushed the valuerange-on-entity branch from 93e7587 to 64ff136 Compare August 14, 2023 08:31
@triceo triceo requested a review from rsynek August 14, 2023 08:31
@triceo
Copy link
Contributor Author

triceo commented Aug 14, 2023

@rsynek Please re-review, I decided to add one more change. (Deprecating uncountable, because that really barely ever works and never should have been added.)

To read an entire value range to get its size,
the value range needs to be first converted to a collection.
This is costly and we therefore implement a shortcut
that allows to read the size without creating a collection.
@triceo triceo force-pushed the valuerange-on-entity branch from 64ff136 to 93ba91e Compare August 14, 2023 09:24
@triceo triceo merged commit 292dc67 into TimefoldAI:main Aug 14, 2023
@triceo triceo deleted the valuerange-on-entity branch August 14, 2023 11:34
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.

2 participants