You're right. So I could have optimised a tiny bit more by starting at oldLength-4.
Anyway I quite enjoyed today's low-level one after aiming to do them all in a mostly functional style up to now. Takes me back to my years doing embedded C and Linux device drivers.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.