diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-15 00:25:34 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-15 00:25:34 +0000 |
commit | 90037145dd3cce95e0a7719f5153fc9aa7d087b7 (patch) | |
tree | 32e2ee362705888f7e7ed206b00c5132efb38abe /ChangeLog | |
parent | fdb2fc0b0499236399694ecc1fe6843d85c27dfa (diff) | |
download | ruby-90037145dd3cce95e0a7719f5153fc9aa7d087b7.tar.gz |
rb_{thread,context,fiber}_struct: trivial packing
* vm_core.h (rb_thread_struct): reorder to pack
* cont.c (rb_context_struct, rb_fiber_struct): ditto
On x86-64, these changes reduces:
rb_thread_struct to 1000 bytes (from 1016)
rb_context_struct to 1288 bytes (from 1312)
rb_fiber_struct to 2272 bytes (from 2304)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,12 @@ +Fri Aug 15 09:22:12 2014 Eric Wong <e@80x24.org> + + * vm_core.h (rb_thread_struct): reorder to pack + * cont.c (rb_context_struct, rb_fiber_struct): ditto + On x86-64, these changes reduces: + rb_thread_struct to 1000 bytes (from 1016) + rb_context_struct to 1288 bytes (from 1312) + rb_fiber_struct to 2272 bytes (from 2304) + Fri Aug 15 09:06:31 2014 Eric Wong <e@80x24.org> * thread_pthread.h: define RB_NATIVETHREAD_LOCK_INIT and |