unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.15k stars 130 forks source link

Fix some miscelenious issues encountered while working on #335 #339

Closed Ngalstyan4 closed 8 months ago

Ngalstyan4 commented 8 months ago

Fix some miscelenious issues encountered while working on #335

  1. Add move construction tests and fix an issue caused by them ASAN flagged the memset call on empty buffer when the test ran with the added move construction portion

  2. Only consider zero length IO an error if input buffer was larger than zero

  3. Move option-override policy opt-in before policy definitions so overr…

ashvardanian commented 8 months ago

Great fixes, @Ngalstyan4! Also, thank you a lot for organizing the suggestions in separate PRs, always supported by evidence! Always joy reading them 🤗

ashvardanian commented 7 months ago

:tada: This PR is included in version 2.9.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: