4 ms·
> 2. glibc strings functions are ok, but not particularly good, ime Do you mean for RISC-V, or in general? (and in particular, what about x64?) What problems
by xoranth 3y ago
> 2. glibc strings functions are ok, but not particularly good, ime
Do you mean for RISC-V, or in general? (and in particular, what about x64?)
What problems do they have?
[Also what are in your experience better implementations?]
- moonchild 3y agoI only have experience with their amd64 code. > What problems do they have? Nothing in particular, just not particularly amazing performance. They work fine. One thing they have going for them is that they typically have separate versions for every interesting architecture feature level/set, whereas e.g. bionic only has sse code. I guess I can point at my own implementations of memset and memcmp (https://github.com/moon-chilled/fancy-memset https://github.com/moon-chilled/fancy-memset https://github.com/moon-chilled/fancy-memcmp https://github.com/moon-chilled/fancy-memcmp), both of which employ novel techniques not used by glibc; but I've not yet gotten around to doing proper benchmarks on either.
- xoranth 3y agoThank you! I'll take a look.