summaryrefslogtreecommitdiff
path: root/gitignore.SAMPLE
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2013-03-13 06:18:53 -0700
committerPaul Phillips <paulp@improving.org>2013-03-13 06:20:00 -0700
commit6ef63e49f8d762ac02367225ee737ea93f52a738 (patch)
tree76dd136c18c65f2dbf52b43b7e4758672bb31154 /gitignore.SAMPLE
parent9c5ea96b1c0fa45037a96e530b6ae71687a292d1 (diff)
downloadscala-6ef63e49f8d762ac02367225ee737ea93f52a738.tar.gz
scala-6ef63e49f8d762ac02367225ee737ea93f52a738.tar.bz2
scala-6ef63e49f8d762ac02367225ee737ea93f52a738.zip
Fix it-never-happened performance regression.
Diligent reviewer observed that a hot spot was possibly being made hotter. Reviewer's suggested remedy was a spectacular bust, but studious observation revealed the news lash that expensive methods are expensive and we should avoid calling them if we can. Put short-circuit test back in front of unapply call. Now the time spent in unapply is within a few percent.
Diffstat (limited to 'gitignore.SAMPLE')
0 files changed, 0 insertions, 0 deletions