3 ms·
Is this usable from native code, or are these super fast SIMD algorithms really only usable from Python...?
by LoganDark 3y ago
Is this usable from native code, or are these super fast SIMD algorithms really only usable from Python...?
- em3rgent0rdr 3y agoQuick skim of repo shows the vectorized functions which seems like they could be simply called from regular C, e.g.: https://github.com/ashvardanian/Stringzilla/blob/fab854dc4fd99a072fba1319810ad3ccf682238a/stringzilla/stringzilla.h#L315C15-L315C15 https://github.com/ashvardanian/Stringzilla/blob/fab854dc4fd...
- LoganDark 3y agoOh, a header file! Thank you <3
- ashvardanian 3y agoI've updated the main README with a basic C example
- ashvardanian 3y agoYes, it’s intended as a C99 library, to be easily pluggable into different runtimes. NodeJS is next in line :)
- ashvardanian 3y agoOpened an issue in case someone wants to contribute: https://github.com/ashvardanian/Stringzilla/issues/25 https://github.com/ashvardanian/Stringzilla/issues/25