scodec/scodec-bits — pull request #9 by rossabaker (2014-04-18 02:09:36+00:00)
Title: Specialize toArray for performance.

`byteVector.toArray` is beautiful, but slow. This makes it ugly, but 40-60% faster. No public API changes, if this were to be included in a 1.0.1. `copyToArray` could be a helpful addition to the public API in 1.1.0.