4 ms·
They were sufficient for me to implement most of `string.h` and get speedups between 4 and 16x vs “portable musl C code,” including sophisticated algorithms suc
by ncruces 1y ago
They were sufficient for me to implement most of `string.h` and get speedups between 4 and 16x vs “portable musl C code,” including sophisticated algorithms such as this one:
http://0x80.pl/notesen/2016-11-28-simd-strfind.html http://0x80.pl/notesen/2016-11-28-simd-strfind.html
I posted about my efforts here:
https://news.ycombinator.com/item?id=43935284 https://news.ycombinator.com/item?id=43935284
Or, if you wanna jump to the code:
https://github.com/ncruces/go-sqlite3/blob/main/sqlite3/libc/string.h https://github.com/ncruces/go-sqlite3/blob/main/sqlite3/libc...