2 ms·
x86 had 6 general-purpose working registers total. Using length + pointers would have caused a lot of extra spills.
by theamk 7mo ago
x86 had 6 general-purpose working registers total. Using length + pointers would have caused a lot of extra spills.
- masklinn 7mo ago“Sure your software crashes and your machines get owned, but at least they’re not-working very fast!”
- tialaramex 7mo agoRight. This is so often the excuse for terrible designs in C and C++. It's wrong, "But it's faster". No, it's just wrong, only for correct answers does it matter whether you were faster. If just any answer was fine there's no need to write any of this software.