diff options
author | Paul Phillips <paulp@improving.org> | 2013-04-04 13:29:18 -0700 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-04-05 10:34:58 -0700 |
commit | ca2a09d2934672b16ca9a729ec57bf9211a0a01a (patch) | |
tree | 5a1d2ee649542143b0a887816172b2d6f730f855 /test/files/jvm/t2585/Test.java | |
parent | d301a86488f944ae3a1a14ba578ac8c87e64f01d (diff) | |
download | scala-ca2a09d2934672b16ca9a729ec57bf9211a0a01a.tar.gz scala-ca2a09d2934672b16ca9a729ec57bf9211a0a01a.tar.bz2 scala-ca2a09d2934672b16ca9a729ec57bf9211a0a01a.zip |
Optimization/logic improvement in Scopes.
I rescued "isSubScope" from the innards of isSameType
and placed it on Scope.
To write a more efficient "isSameScope", I needed a size
method which wasn't O(n). I now cache the size whenever the
elemsCache is regenerated.
Diffstat (limited to 'test/files/jvm/t2585/Test.java')
0 files changed, 0 insertions, 0 deletions