ext: use FIX macros instead of generic NUM macros if possible
commit31925d90c3d292d0b5f20524082b7d3dc2e08fcb
authorEric Wong <normalperson@yhbt.net>
Thu, 8 Apr 2010 21:36:36 +0000 (8 14:36 -0700)
committerEric Wong <normalperson@yhbt.net>
Thu, 8 Apr 2010 21:57:52 +0000 (8 14:57 -0700)
treee23c2d927b3eba08dc107adf9aaba85a75ffe424
parent724c1f6a3b42a020199554c809a46ddc4b404659
ext: use FIX macros instead of generic NUM macros if possible

They're slightly faster when we know a number is small enough
to be a FIXNUM.
ext/clogger_ext/clogger.c
test/test_clogger.rb