summaryrefslogtreecommitdiff
path: root/pull-binary-libs.sh
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-04-08 23:20:59 -0700
committerPaul Phillips <paulp@improving.org>2012-04-09 06:33:08 -0700
commit7bddd73f6e18bde931026abf5fe2526b747727ad (patch)
treec356907fc8a2232bda914cd4d7c9f445d3bcc9bb /pull-binary-libs.sh
parent174a75f78df9436884100768eff7ec938315280d (diff)
downloadscala-7bddd73f6e18bde931026abf5fe2526b747727ad.tar.gz
scala-7bddd73f6e18bde931026abf5fe2526b747727ad.tar.bz2
scala-7bddd73f6e18bde931026abf5fe2526b747727ad.zip
Make specialize check cheaper and consistent.
Profiler said checking hasAnnotation thousands of times is expensive. I always wondered why some things used the SPECIALIZED flag and others looked for the annotation. No reason emerges which is apparent from the tests. So: - mark an annotated symbol specialized at a convenient time - always look for the flag - create Symbol#isSpecialized to be consistent with all others
Diffstat (limited to 'pull-binary-libs.sh')
0 files changed, 0 insertions, 0 deletions