Credit to Andrew in hex.scm
1 files changed, 2 insertions(+), 1 deletions(-) M hex.scm
M hex.scm +2 -1
@@ 27,7 27,8 @@ ;; This trick is stolen (with permisison) from Andrew Gierth (RhodiumToad on freenode) ;; Instead of getting each char, we use bytevector-u16-ref/set! to set a complete byte. -;; This saves one lookup and some bit-fiddling. +;; This saves one lookup and some bit-fiddling. Check his repo scheme-bits which is just +;; overall better than this code: https://github.com/RhodiumToad/scheme-bits (define hexstr "\