ext: avoid RARRAY_PTR usage for RGenGC in Ruby 2.1.0
commitc282d490b2084f0a2360d8bea2795a33688d6a59
authorEric Wong <normalperson@yhbt.net>
Thu, 26 Sep 2013 18:45:13 +0000 (26 18:45 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 26 Sep 2013 18:45:13 +0000 (26 18:45 +0000)
treeeeb9605fc9c368af19a835e76038825c59afe9f8
parentcb05eb0c8c2b38292ab0d565e8173ececd68cf3c
ext: avoid RARRAY_PTR usage for RGenGC in Ruby 2.1.0

I have not benchmarked this, but this is unlikely to be a bottleneck
at all in older Rubies.  It results in a smaller binary, too, which
will help with icache bloat.  This should also improve performance
under Rubinius, too.
ext/clogger_ext/clogger.c