summaryrefslogtreecommitdiff
path: root/test/files/run/t6114.scala
diff options
context:
space:
mode:
authorDenton Cockburn <kanielc@gmail.com>2014-12-15 21:58:46 -0500
committerDenton Cockburn <kanielc@gmail.com>2015-01-09 20:41:37 -0500
commitd1d3225e28ed1847470d976ffeefbce40e90d9ac (patch)
tree4015a0c80561cf1ca7117f1604d4936a3ca1a982 /test/files/run/t6114.scala
parent7ba38a07916426314cc3bff6999f3992757e0b26 (diff)
downloadscala-d1d3225e28ed1847470d976ffeefbce40e90d9ac.tar.gz
scala-d1d3225e28ed1847470d976ffeefbce40e90d9ac.tar.bz2
scala-d1d3225e28ed1847470d976ffeefbce40e90d9ac.zip
SI-8988 Escaping character in StringLike.split(c) prevents usage of optimized String.split code path
Escaping a char when calling split is slow. We end up compiling a Pattern to simply match a character literal. Instead, we just use an loop with indexOf to construct our resulting Array. Current speed up over old behaviour is about 12-1
Diffstat (limited to 'test/files/run/t6114.scala')
0 files changed, 0 insertions, 0 deletions