3 ms·
That memcopy version is hilariously bad. He could at least have made a proper assembly version for a proper comparison.
by MrYellowP 5y ago
That memcopy version is hilariously bad.
He could at least have made a proper assembly version for a proper comparison.
- dzaima 5y agothe memcopies will of course be compiled to unaligned loads & stores. Clang even seems to simplify the multiplications based on the size of the current portion of the argument, so I don't see much that could be improved. Maybe you could squeeze out a dozen or two percent more speed, but not 3.5x faster.