so much shitty C wouldn't exist if people could have trusted the optimizer in 1988
-
-
Replying to @johnregehr @pcwalton
Have you ever read the old glibc strstr? :-)
1 reply 0 retweets 6 likes -
-
-
-
Replying to @pcwalton @johnregehr
For your enjoyment: https://sourceware.org/git/?p=glibc.git;a=blob;f=string/strstr.c;hb=9d13fb2413921c713f83efe331e8e4d219c62c6b …
5 replies 4 retweets 32 likes -
-
the only good thing about it is that it doesn't switch the endianness of the processor dynamically
2 replies 0 retweets 1 like -
someone should benchmark this against musl when both are compiled with modern clang and gcc
1 reply 0 retweets 0 likes -
Replying to @johnregehr @pcwalton
Well the perf ratio is arbitrarily large since it's bad big-O.
2 replies 0 retweets 1 like
Just search for a^Mb in a^Nb, N>>>M.
5:30 PM - 30 May 2018
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.