@burntsushi5 They say imitation is the sincerest form of flattery:https://github.com/Freaky/fast-memchr …
-
-
Replying to @blaagh @burntsushi5
This is really neat! Correct me if I'm wrong, but I think this strategy is also used in glibc:https://github.com/lattera/glibc/blob/master/sysdeps/i386/memchr.S …
1 reply 0 retweets 0 likes
Ah neat! TIL. glibc does also use the same/similar strategy for the SSE2 and AVX2 variants. They are fairly well documented approaches to the problem: https://gms.tf/stdfind-and-memchr-optimizations.html …
1:53 PM - 9 Jan 2019
0 replies
0 retweets
1 like
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.