Closed MarkReedZ closed 3 months ago
The C test allow capacity to be greater than that reserved.
expect(usearch_capacity(index, &error) >= collection_size, error);
This was changed in https://github.com/unum-cloud/usearch/commit/aa59418e
I'll make a PR to change the rust test as well. Or should we change the tests to expect the correct value and try various reserve values?
The new C behavior is correct and should propagate to Rust 🤗
Describe the bug
The code is:
Steps to reproduce
Expected behavior
Tests should pass
USearch version
main-dev
Operating System
Ubuntu 22 and 24
Hardware architecture
x86
Which interface are you using?
Other bindings
Contact Details
No response
Are you open to being tagged as a contributor?
.git
history as a contributorIs there an existing issue for this?
Code of Conduct