pure: use Rack::Utils.bytesize instead of String#size
commit87c742bd385593bfe001dc3247c4a4ae7fc92463
authorEric Wong <normalperson@yhbt.net>
Thu, 7 Jan 2010 01:41:41 +0000 (6 17:41 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 7 Jan 2010 01:41:41 +0000 (6 17:41 -0800)
tree8289c10c3de5a66a78205ea8e6fb9944a4ffeb47
parent5d4fd9f41ab57f7297569910c08f7330dd3ec39e
pure: use Rack::Utils.bytesize instead of String#size

hacking the C extension with RSTRING_LEN() is so much easier :P
lib/clogger/pure.rb