3 ms·
People will tend to focus on the micro-structure of the assembly programs but the takeaway I get from this and recent related work in LLVM is avoiding the PLT i
by jeffbee 5y ago
People will tend to focus on the micro-structure of the assembly programs but the takeaway I get from this and recent related work in LLVM is avoiding the PLT is good for an easy 20% win for small sizes, which tend to be the common case. I like the new LLVM memcpy that is just plain C++, and easy to read and understand.
https://github.com/llvm/llvm-project/blob/main/libc/src/string/memory_utils/memcpy_implementations.h https://github.com/llvm/llvm-project/blob/main/libc/src/stri...