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

stump: remove the last calls to sort #67

Merged
merged 1 commit into from
Feb 6, 2025

Conversation

Davidson-Souza
Copy link
Collaborator

This is the last commit in a series that removes unecessary calls to sort that were taking a lot of CPU time.

This removes calls to sort inside detwin, using the same aproach we've been using of binary searching and inserting where we need it.

It also removes calls to sort and dedup inside Stump::add, by using a BTreeSet.

This is the last commit in a series that removes unecessary calls to
`sort` that were taking a lot of CPU time.

This removes calls to sort inside detwin, using the same aproach
we've been using of binary searching and inserting where we need it.

It also removes calls to `sort` and `dedup` inside `Stump::add`, by
using a BTreeSet.
@Davidson-Souza Davidson-Souza merged commit 9377001 into mit-dci:main Feb 6, 2025
10 checks passed
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