Click here to Skip to main content
15,867,308 members
Articles / Web Development / HTML

Apex memmove - the fastest memcpy/memmove on x86/x64 ... EVER, written in C

Rate me:
Please Sign up or sign in to vote.
4.98/5 (29 votes)
5 Jul 2016CPOL36 min read 115.4K   3.5K   38  
2 years ago I went OCD on memcpy/memmove; and wrote over 140 variations (80,000 lines of code) of memmove; testing, disassembling, optimizing and benchmarking them on multiple machines. I never released the article or the code; until now! So I need to do it before I loose my mind!

Views

Daily Counts

Downloads

Weekly Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
South Africa South Africa
Love and passion for low level, high performance code! The lower the better! I disassemble everything!
I learnt x86 Assembler in the 90's, after reading the `Zen of Assembly Language` and `Graphics Programmers Black Book` by Michael Abrash.
I also love C & C++, but I'm anti-Modern C++!
(It's hard to clarify what I mean by `anti-Modern C++`! Because I love a lot of things added to C++11! Like nullptr, auto and a few other things)
I hate the abominations called `futures`/`promises`, STL containers, shared_ptr etc.
I've been inspired by the works of John Carmack, Mark J. Kilgard, Michael Abrash, Bob Jenkins and especially Agner Fog!

Comments and Discussions