]> gitweb.factorcode.org Git - factor.git/commit
Optimize byte-reverse macro in alien.endian -- it was shifting each byte to the 0th...
authorDoug Coleman <doug.coleman@gmail.com>
Wed, 12 Oct 2011 02:36:22 +0000 (19:36 -0700)
committerDoug Coleman <doug.coleman@gmail.com>
Wed, 12 Oct 2011 02:36:22 +0000 (19:36 -0700)
commit757889167a2deb86137e5289e39cd57c46426d0a
treeaa6deb9ee26f9abd7394af8028e5102293e4b9ce
parent250e5282094777c717be036d8f47448ba3009ba5
Optimize byte-reverse macro in alien.endian -- it was shifting each byte to the 0th bit place, bitand-ing it with HEX: ff, then shifting it to its final destination -- now we immediately shift to the proper location and bitand with the proper bitmask.
basis/alien/endian/endian.factor