]> asedeno.scripts.mit.edu Git - cl-protobufs.git/commit
Generate integer encoders and decoders with thought towards the size of a FIXNUM
authorAlejandro R Sedeño <asedeno@google.com>
Mon, 17 Dec 2012 18:47:55 +0000 (13:47 -0500)
committerAlejandro R Sedeño <asedeno@google.com>
Thu, 3 Jan 2013 17:32:25 +0000 (12:32 -0500)
commitea15208b881f397a58d8fc7364385ff209cf094b
treeaea824369ca6cbf378089af056b1622bda5c9e33
parentce78619ebd2cc6c9c73cad611ceda7e1f3f45562
Generate integer encoders and decoders with thought towards the size of a FIXNUM

Rather than hard-code assumptions about the size of a FIXNUM, check
the size of FIXNUM at compile time and generate code appropriate for
the number of bits we're working with, with FIXNUM optimizations
in place if appropriate.

Includes some changes from swmckay@gmail.com.
wire-format.lisp