apache/spark — pull request #397 by rxin (2014-04-12 08:11:15+00:00)
Title: 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