Project

General

Profile

« Previous | Next » 

Revision 37772

Added by glass over 6 years ago

  • 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]