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

Refactor some braindead code in FreeListAllocator #2492

Merged
merged 1 commit into from
Mar 8, 2024

Conversation

marc0246
Copy link
Contributor

@marc0246 marc0246 commented Mar 8, 2024

This is better utilizing the built-in binary search capabilities, making the code cleaner, and fixes a bug that I discovered as a result.

Changelog:

### Bugs fixed
- `FreeListAllocator` not giving out suballocations that are free and of suitable size/alignment in a certain edge case.

@Rua Rua merged commit 7bba8cc into vulkano-rs:master Mar 8, 2024
5 checks passed
@marc0246 marc0246 deleted the braindead-freelist-allocator-code branch March 8, 2024 17:45
Rua added a commit that referenced this pull request Mar 8, 2024
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