mesos/spark — pull request #680 by tdas (2013-07-06 04:50:43+00:00)
Title: Major performance improvement in Network Receiver

The data received with NetworkReceiver.BlockGenerator into an ArrayBuffer which was then copied twice into 2 new ArrayBuffer unnecessarily, before being stored in the BlockManager. This was partially due to the use of BlockManager.put with iterator method, even though the BlockManager.put with ArrayBuffer exists. This bug affects almost all the receivers. I havent tested how much performance improvement in data ingestion rate would one get with this fix, but since its such an obvious fix and I want the fix go into 0.7.3 immediately, I am requesting this to be accepted.