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

Add an end bound for invalidating the cache of drawn timeline items #49

Merged
merged 1 commit into from
Feb 21, 2024

Conversation

kevinaboos
Copy link
Member

  • This avoids unnecessarily clearing the entire cache of drawn item indices upon a Set operation (e.g., an in-place update to a timeline event item).
  • Also adds a clear_cache boolean to wipe the whole cache, which is a frequent enough occurrence that it merits an dedicated optimization.

* This avoids unnecessarily clearing the entire cache of drawn item indices
  upon a `Set` operation (e.g., an in-place update to a timeline event item).
* Also adds a `clear_cache` boolean to wipe the whole cache, which is a
  frequent enough occurrence that it merits an dedicated optimization.
@kevinaboos kevinaboos changed the title Add an end bound for cache invalidation of timeline items Add an end bound for invalidating the cache of drawn timeline items Feb 21, 2024
@kevinaboos kevinaboos merged commit cafc78b into project-robius:main Feb 21, 2024
1 check passed
@kevinaboos kevinaboos deleted the better_caching_ranges branch February 21, 2024 19: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.

1 participant