prefer Integer#to_s(16) to sprintf("%x\r\n")
commitb3ae2d9c49798822933b0776897ee5f77514cad5
authorEric Wong <normalperson@yhbt.net>
Mon, 19 Jul 2010 10:10:01 +0000 (19 10:10 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 20 Jul 2010 00:04:31 +0000 (19 17:04 -0700)
tree85074ff305377f8dd6889ae894f745449f5eb24a
parent593fd91098cbfac13063779226ea65cf5674e3cd
prefer Integer#to_s(16) to sprintf("%x\r\n")

It's slightly faster as theres no string to parse and also
no garbage format string to be discarded.
lib/rainbows/event_machine/response_chunk_pipe.rb
lib/rainbows/rev/deferred_response.rb