summaryrefslogtreecommitdiff
path: root/build.examples.xml
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2011-12-12 06:40:18 -0800
committerPaul Phillips <paulp@improving.org>2011-12-12 13:12:28 -0800
commit4cfc633fc6cb2ab0f473c2e5141724017d444dc6 (patch)
tree2c2467b923f369aa61baa5550bcdb2894b51bc3c /build.examples.xml
parentd1e3b46f5bf58469bffb6f8e2ffebd932b990a5d (diff)
downloadscala-4cfc633fc6cb2ab0f473c2e5141724017d444dc6.tar.gz
scala-4cfc633fc6cb2ab0f473c2e5141724017d444dc6.tar.bz2
scala-4cfc633fc6cb2ab0f473c2e5141724017d444dc6.zip
Range.foreach optimization.
This makes code like 0 to 100 foreach (x += _) as fast as (often faster than, in fact) a while loop. See the comment in Range for the gory details. More investigation should be done regarding total impact on inlining behavior. Review by @odersky.
Diffstat (limited to 'build.examples.xml')
0 files changed, 0 insertions, 0 deletions