The C library memchr() function is my new friend. I wish the standard has similar functions for more data types (e.g. search for a 16-bit value), likely to be properly optimized by each vendor. http://www.cplusplus.com/reference/cstring/memchr/ …
-
Show this thread
Replying to @ocornut
I just recently implemented these in Rust! Here are the AVX versions: https://github.com/BurntSushi/rust-memchr/blob/master/src/x86/avx.rs …
0 replies
1 retweet
5 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.