[
https://issues.apache.org/jira/browse/GROOVY-8894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16691963#comment-16691963
]
ASF GitHub Bot commented on GROOVY-8894:
GitHub user danielsun1106 opened a pull request:
https://github.com/apache/groovy/pull/826
GROOVY-8894: Improve performance of DGM `leftShift(OutputStream, Inpu…
…tStream)`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/danielsun1106/groovy refine-io-leftshift
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/groovy/pull/826.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #826
commit 43abd7b1dddea45240a53d1848c2aaba001809e4
Author: danielsun1106
Date: 2018-11-19T16:46:21Z
GROOVY-8894: Improve performance of DGM `leftShift(OutputStream,
InputStream)`
> Improve performance of DGM `leftShift(OutputStream, InputStream)`
> -
>
> Key: GROOVY-8894
> URL: https://issues.apache.org/jira/browse/GROOVY-8894
> Project: Groovy
> Issue Type: Improvement
>Reporter: Daniel Sun
>Assignee: Daniel Sun
>Priority: Major
> Fix For: 3.0.0-alpha-4, 2.5.5
>
>
> The original buffer size(1k) is too small. Increase it to 8k.
> In addition, remove useless code `Thread.yield()`
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)