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

Cache canonical empty status #29

Merged
merged 16 commits into from
Sep 14, 2023
Merged

Cache canonical empty status #29

merged 16 commits into from
Sep 14, 2023

Conversation

ThomasMG
Copy link
Contributor

@ThomasMG ThomasMG commented Aug 15, 2023

Add caching of the canonical and empty status of a DBM.
Makes calls to close and is_empty more efficient, if we already know their status.
Also inline some methods throughout, moving them from cpp to header file

src/pardibaal/DBM.cpp Outdated Show resolved Hide resolved
src/pardibaal/DBM.cpp Show resolved Hide resolved
src/pardibaal/DBM.cpp Show resolved Hide resolved
src/pardibaal/bounds_table_t.cpp Outdated Show resolved Hide resolved
@ThomasMG ThomasMG merged commit 1c8f7c2 into main Sep 14, 2023
3 checks passed
@ThomasMG ThomasMG deleted the cache_canonical_empty_status branch September 14, 2023 07:51
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