GitHub user rxin opened a pull request:
https://github.com/apache/spark/pull/397
Added a FastByteArrayOutputStream that exposes the underlying array to
avoid unnecessary mem copy.
This should fix the extra memory copy introduced by #266.
@mridulm @pwendell @mateiz
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rxin/spark FastByteArrayOutputStream
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/397.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 #397
----
commit 2fb9935e6c59ead89cdd425512ccf6e95872b3d8
Author: Reynold Xin <[email protected]>
Date: 2014-04-12T08:09:42Z
Added a FastByteArrayOutputStream that exposes the underlying array to
avoid unnecessary mem copy.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---