summaryrefslogtreecommitdiff
path: root/test/files/pos/patmat.scala
diff options
context:
space:
mode:
authorRex Kerr <ichoran@gmail.com>2014-12-26 17:54:50 -0800
committerRex Kerr <ichoran@gmail.com>2015-02-16 12:36:22 -0800
commitad7a2f2d497c59eb61284447b38ea2697f9ab738 (patch)
tree8c66ec20727c670d49235627c325e0dc67e82a52 /test/files/pos/patmat.scala
parentda49d9a00ec373a0e7f2ffe946a897a65c9b0741 (diff)
downloadscala-ad7a2f2d497c59eb61284447b38ea2697f9ab738.tar.gz
scala-ad7a2f2d497c59eb61284447b38ea2697f9ab738.tar.bz2
scala-ad7a2f2d497c59eb61284447b38ea2697f9ab738.zip
Optimization of IterableLike.scala
Changed takeRight to have two tighter loops instead of one with a conditional. See about 10% performance improvement. Other changes were (surprisingly, in some cases) not a win. Overall, IterableLike is pretty well optimized.
Diffstat (limited to 'test/files/pos/patmat.scala')
0 files changed, 0 insertions, 0 deletions