I doubt that anything other than Carmack's comments are covered. See the "Filtration" section:
https://en.wikipedia.org/wiki/Abstraction-Filtration-Compari...
"In computer programs, concerns for efficiency may limit the possible ways to achieve a particular function, making a particular expression necessary to achieving the idea. In this case, the expression is not protected by copyright."
"Finally, material that exists in the public domain can not be copyrighted and is also removed from the analysis."
That code is specifically optimized for efficiency and there were similar approaches floating (get it?) around in the 1980s.