ashvardanian / StringZilla

Up to 10x faster strings for C, C++, Python, Rust, and Swift, leveraging NEON, AVX2, AVX-512, and SWAR to accelerate search, sort, edit distances, alignment scores, etc 🦖
https://ashvardanian.com/posts/stringzilla/
Apache License 2.0
2.05k stars 66 forks source link

Missing `sz::string::shrink_to_fit` #100

Closed ashvardanian closed 5 months ago

ashvardanian commented 6 months ago

The C layer defines the sz_string_shrink_to_fit, that is not covered by tests and is not yet used by the C++ API to implement the shrink_to_fit.

Riyazul555 commented 5 months ago

Hey @ashvardanian can you please explain this issue a more

ashvardanian commented 5 months ago

@Riyazul555, at the second glance, this issue is trickier then I thought, as I don't yet have a sz_string_shrink_to_fit implementation even in the C layer. It may not be a good fit for a beginner, but if you are interested, cppreference.com describes the operation in more detail.

ashvardanian commented 5 months ago

:tada: This issue has been resolved in version 3.7.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: