random C/C++ question: is there any way to implement the chunking optimization w/o violating strict aliasing?https://github.com/esmil/musl/blob/master/src/string/memcpy.c …
-
-
@RichFelker how about strlen? -
@spun_off strlen needs may_alias added, but there's still no GNUC attribute to say "permitted to access outside the bounds of the object" :(
-
@spun_off There's a thread on the musl ml about at least documenting this stuff; performance diff is too crazy not to use it... :(
-
@spun_off On my hw, roughly 3 bytes/cycle vs 1 byte/cycle for the runner-up strlen.
End of conversation
New conversation -
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.