[ruby-cvs:54105] shyouhei:r46959 (trunk): * ext/objspace/objspace_dump.c (dump_append): avoid fflush.

shyouhei at ruby-lang.org shyouhei at ruby-lang.org
Sat Jul 26 17:28:05 JST 2014


shyouhei	2014-07-26 17:28:05 +0900 (Sat, 26 Jul 2014)

  New Revision: 46959

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46959

  Log:
    * ext/objspace/objspace_dump.c (dump_append): avoid fflush.
    
      because dump_append_string_value() iterates over each chars,
      fflush()-ing here effectively issues system calls on every single
      bytes exist in a ruby process.

  Modified files:
    trunk/ChangeLog
    trunk/ext/objspace/objspace_dump.c


More information about the ruby-cvs mailing list