diff options
author | Denton Cockburn <kanielc@gmail.com> | 2015-01-02 18:31:07 -0500 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2015-02-13 11:45:14 -0800 |
commit | 01fad26258d73c1901dedeaf50db02d1407acd65 (patch) | |
tree | d875b4f217189e6775095f0808796f74db1b175b /build-ant-macros.xml | |
parent | 4554a10bcafce6fb14eb8b123bf76887bb6a8114 (diff) | |
download | scala-01fad26258d73c1901dedeaf50db02d1407acd65.tar.gz scala-01fad26258d73c1901dedeaf50db02d1407acd65.tar.bz2 scala-01fad26258d73c1901dedeaf50db02d1407acd65.zip |
SI-9059 Random.alphanumeric is inefficient
Generate alphanumeric values by taking random element of string
containing all alphanumerics.
Instead of generating nextPrintableChar then filtering for
alphanumerics, we can just take from a string containing all
alphanumerics. This provides a significant performance improvement.
Diffstat (limited to 'build-ant-macros.xml')
0 files changed, 0 insertions, 0 deletions