diff options
author | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-09-03 18:12:31 -0700 |
---|---|---|
committer | Grzegorz Kossakowski <grzegorz.kossakowski@gmail.com> | 2013-09-03 18:12:31 -0700 |
commit | 989c3f85d95a22c95bc7ce936c4bd57ff0608bcd (patch) | |
tree | 29056a44bc8b637f31cb5e3f4617e86c57138850 /.gitignore | |
parent | 3ada7038877928711176da6ebde68528ab5fc39c (diff) | |
download | scala-989c3f85d95a22c95bc7ce936c4bd57ff0608bcd.tar.gz scala-989c3f85d95a22c95bc7ce936c4bd57ff0608bcd.tar.bz2 scala-989c3f85d95a22c95bc7ce936c4bd57ff0608bcd.zip |
SI-7149 Use a WeakHashSet for type uniqueness
Currently type uniqueness is done via a HashSet[Type], but
that means the Types live through an entire compile session, even
ones that are used once. The result is a huge amount of unnecessarily
retained memory. This commit uses a WeakHashSet instead so that Types
and their WeakReferences are cleaned up when no longer in use.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions