mesos/spark — pull request #756 by cdshines (2013-07-31 16:19:38+00:00)
Title: Refactored Vector.apply(length, initializer) replacing excessive code with library method

(also removed unused variable ```ans``` as minor change)

Relying on library method rather than writing one's own replacement should result in better performance (or at least the same performance while more concise code).