From eeb05e8c119f8cab6434d90f21551b6bb2954778 Mon Sep 17 00:00:00 2001 From: normal Date: Sun, 20 Jul 2014 04:19:06 +0000 Subject: rb_io_buffer_t: pack structure * include/ruby/io.h (rb_io_buffer_t): pack structure Reduces rb_io_t from 200 to 192 bytes, allowing rb_io_t to occupy one less cache line. [Feature #10050] n.b. this leaves a 4-byte hole after the `cbuf' field which may be used for future expansion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 73cdbcd986..ffedc38209 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +Sun Jul 20 12:44:23 2014 Eric Wong + + * include/ruby/io.h (rb_io_buffer_t): pack structure + Reduces rb_io_t from 200 to 192 bytes, allowing rb_io_t to + occupy one less cache line. + [Feature #10050] + Sun Jul 20 12:41:53 2014 Eric Wong * include/ruby/io.h (rb_io_t): shrink to 200 bytes from 216 on 64-bit -- cgit v1.2.3