diff options
author | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 15:17:15 +0000 |
---|---|---|
committer | glass <glass@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-11-20 15:17:15 +0000 |
commit | 132eb25a79fee6c24d6a68da2f0de74ee3229517 (patch) | |
tree | 61050170a58659b83ca31d06816cf1ef63416672 /ChangeLog | |
parent | 2fff359537705ee4c2b1c98a2f95e8b7ffa306f1 (diff) | |
download | ruby-132eb25a79fee6c24d6a68da2f0de74ee3229517.tar.gz |
* marshal.c: add marshal readahead. marshalized Array, Hash and Struct
have size at least number of its elements, marshal readahead will
read the certain readable length and buffer when it needs more bytes.
marshal readahead prevents many calls to IO#getbyte and IO#read,
then it enables performace improvement.
[ruby-dev:45637] [Feature #6440]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37772 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 @@ +Tue Nov 20 23:28:26 2012 Masaki Matsushita <glass.saga@gmail.com> + + * marshal.c: add marshal readahead. marshalized Array, Hash and Struct + have size at least number of its elements, marshal readahead will + read the certain readable length and buffer when it needs more bytes. + marshal readahead prevents many calls to IO#getbyte and IO#read, + then it enables performace improvement. + [ruby-dev:45637] [Feature #6440] + Tue Nov 20 22:35:02 2012 NARUSE, Yui <naruse@ruby-lang.org> * Makefile.in (.d.h): replace char * to const char * because somehow |