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

Fix bug in Unselect operation when selecting a single bit string #2181

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

msoeken
Copy link
Member

@msoeken msoeken commented Feb 13, 2025

When selecting a single bit string the number of address bits is 0, and we run into a problem splitting the address register in the optimized Unlookup implementation. This case is now handled without measurement based uncomputation.

Copy link

Change in memory usage detected by benchmark.

Memory Report for d887f29

Test This Branch On Main Difference
compile core + standard lib 19574269 bytes 19562397 bytes 11872 bytes

@swernli swernli added this pull request to the merge queue Feb 13, 2025
Merged via the queue into main with commit 9cc3285 Feb 13, 2025
18 checks passed
@swernli swernli deleted the msoeken/unselect-zero-address-bits branch February 13, 2025 18:54
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