scanner was slow cc/@namin

numbers seem reasonable on my machine now:

    query_t1gram2.hand.awk       48.7s
    query_t1gram2.check.scala    19.1s (copying snippet and run as sbt test:run)
    query_t1gram2.hand.c          8.7s
    query_t1gram2.hand2.c         3.045s
    query_t1gram2.check.c         3.404s

grr, why is the generated code 12% slower than hand-written!

C compiler (cc -v):

    Apple clang version 4.0 (tags/Apple/clang-421.0.60) (based on LLVM 3.1svn)
    Target: x86_64-apple-darwin12.2.0
    Thread model: posix

JMV (java -version):

    java version "1.8.0_11"
    Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
    Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)