diff options
author | Eric Wong <e@80x24.org> | 2017-03-14 19:18:55 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2017-03-14 19:18:55 +0000 |
commit | 20c66dbf1ebd0ca993e7a79c9d0d833d747df358 (patch) | |
tree | 73cfb72ba379293c29b80d0cf268aa462a06f9ee /test | |
parent | 873218e317773462be2a72556d26dc4a723cc7be (diff) | |
download | unicorn-20c66dbf1ebd0ca993e7a79c9d0d833d747df358.tar.gz |
Unlike constants and instance variables, class variable access is not optimized in the mainline Ruby VM. Use a constant instead, to take advantage of inline constant caching. This further reduces runtime instruction size by avoiding a branch by allocating the Raindrops::TCP_Info object up front. This reduces the method size by roughly 300 bytes on 64-bit.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions