You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by berndhopp <gi...@git.apache.org> on 2015/02/02 18:47:57 UTC
[GitHub] commons-io pull request: Introduce threadlocal buffers to avoid me...
GitHub user berndhopp opened a pull request:
https://github.com/apache/commons-io/pull/6
Introduce threadlocal buffers to avoid memory allocation
This PR aims to avoid unneccessary memory-allocation by using threadlocal byte- and char-arrays to buffer temporary, method-internal data.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/berndhopp/commons-io introduce_threadlocal_buffers_to_avoid_memory_allocation
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-io/pull/6.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 #6
----
commit 1a37843304e04daf302e693a567d7f02d3c40a4b
Author: brndnbg <be...@gmail.com>
Date: 2015-02-01T10:06:31Z
initial commit
commit 5fe8f4090391bc9cc5e0fffd619e0e6e7ddac097
Author: brndnbg <be...@gmail.com>
Date: 2015-02-01T10:17:21Z
let method ofSize() int type ThreadLocalCharArray return char[]
commit 16e15f216cc39bcdf86be28dbbfa68f095dc51c0
Author: brndnbg <be...@gmail.com>
Date: 2015-02-02T07:39:55Z
use ThreadLocalByteBuffer in all applicable places
commit 6d4a48160cd41c43f10114cd84ab74bd55a2c12f
Author: brndnbg <be...@gmail.com>
Date: 2015-02-02T07:41:38Z
removed performance-testing code
commit 0c0d05fb33cb70311c847dbf28df7190b321867f
Author: brndnbg <be...@gmail.com>
Date: 2015-02-02T17:41:54Z
comments
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org
[GitHub] commons-io pull request #6: Introduce threadlocal buffers to avoid memory al...
Posted by berndhopp <gi...@git.apache.org>.
Github user berndhopp closed the pull request at:
https://github.com/apache/commons-io/pull/6
---
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org