JavaMoney/jsr354-ri — pull request #9 by otaviojava (2014-05-19 21:05:40+00:00)
Title: best way with performance to create array

When passing in an array of too small size, the toArray() method has to construct a new array of the right size using reflection. This has significantly worse performance than passing in an array of at least the size of the collection itself.