IO#putc flushes on every char
-----------------------------

                 Key: JRUBY-3008
                 URL: http://jira.codehaus.org/browse/JRUBY-3008
             Project: JRuby
          Issue Type: Bug
    Affects Versions: JRuby 1.1.4
            Reporter: Wayne Meissner
            Assignee: Thomas E Enebo
            Priority: Trivial


IO#putc flushes the output on every char - i.e. it is effectively unbuffered.  
Performance is probably worse than it need be because of this.

It should only flush if ChannelStream#isSync() returns true, or the char is a 
line terminator.




-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to