Skip to content

concretization cache: further simplify locking and fetch code#51448

Merged
tgamblin merged 1 commit intodevelopfrom
concretization-cache-locking-cleanup
Oct 20, 2025
Merged

concretization cache: further simplify locking and fetch code#51448
tgamblin merged 1 commit intodevelopfrom
concretization-cache-locking-cleanup

Conversation

@tgamblin
Copy link
Copy Markdown
Member

The ConcretizationCache, enabled in #50905, could still use a few more simplifications.

  • Use len instead of sum(1 ...)
  • Use WriteTransaction and ReadTransaction context managers instead of reimplementing.
  • Clean up fetch a bit for better control flow

the ConcretizationCache, enabled in #50905, could still use a few more
simplifications.

- [x] Use `len` instead of `sum(1 ...)`
- [x] Use `WriteTransaction` and `ReadTransaction` context managers
      instead of reimplementing.
- [x] Clean up fetch a bit for better control flow

Signed-off-by: Todd Gamblin <[email protected]>
@tgamblin tgamblin requested a review from johnwparent October 19, 2025 03:12
@tgamblin tgamblin merged commit 7e54c06 into develop Oct 20, 2025
32 of 33 checks passed
@tgamblin tgamblin deleted the concretization-cache-locking-cleanup branch October 20, 2025 16:20
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.

3 participants