summaryrefslogtreecommitdiff
path: root/docs/TODO
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-07-04 03:58:37 -0700
committerAdriaan Moors <adriaan.moors@epfl.ch>2012-07-12 09:56:41 +0200
commite90f79a446414541402cf55e9ac664106a5bc355 (patch)
treefc33e34a97c3c9137f7217ef788fab74595e6627 /docs/TODO
parentf588976005e532fa274f69e95b2326bbe5994df9 (diff)
downloadscala-e90f79a446414541402cf55e9ac664106a5bc355.tar.gz
scala-e90f79a446414541402cf55e9ac664106a5bc355.tar.bz2
scala-e90f79a446414541402cf55e9ac664106a5bc355.zip
Optimization in asSeenFrom.
Eliminated about half the allocations of AsSeenFromMap by examining the arguments more closely. The impact is not what one might conclude from that statistic, because those were the cheap asSeenFrom calls - but now they are cheaper. Also, - worked in some eager vals rather than lazy ones. - changed hot-spot comparison to use eq - simplified annotationArgRewriter - elimnated separate tracking of capturedPre Statistics from compiling scala/collection/**.scala: - 4209382 calls to asSeenFrom - 1025945 maps created (instantiations of AsSeenFromMap) - 1525649 maps avoided (these were instantiations before this patch) Review by most honorable performance-san @gkossakowski . (Rebase of https://github.com/scala/scala/pull/835)
Diffstat (limited to 'docs/TODO')
0 files changed, 0 insertions, 0 deletions