tmpio: drop the "size" method
commit0427b31e1f5d676bc4f7a73f001b12335535d2db
authorEric Wong <e@80x24.org>
Sun, 28 Dec 2014 07:08:00 +0000 (28 07:08 +0000)
committerEric Wong <e@80x24.org>
Sun, 28 Dec 2014 17:11:53 +0000 (28 17:11 +0000)
tree3f372ff832967588b522278f315fc045bfa2678c
parent776d3e3d7ac19a50f7342fa48c0a5d5a7e224359
tmpio: drop the "size" method

It is redundant given the existence of File#size in Ruby 1.9+

This saves 1440 bytes of bytecode on x86-64 under 2.2.0,
and at least another 120 bytes for the method entry,
hash table entry, and method definition overhead.
lib/unicorn/tmpio.rb