diff options
author | Paul Phillips <paulp@improving.org> | 2011-08-15 20:46:35 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2011-08-15 20:46:35 +0000 |
commit | f309513c9f540e1e9eb5c072e66cb64333aa7bda (patch) | |
tree | 3b776b1cd64e9a428573be3aeddfd5e3f91f330d /test/files/run/multi-array.scala | |
parent | abc851a1de27e1dedab2b646a1568197b8189681 (diff) | |
download | scala-f309513c9f540e1e9eb5c072e66cb64333aa7bda.tar.gz scala-f309513c9f540e1e9eb5c072e66cb64333aa7bda.tar.bz2 scala-f309513c9f540e1e9eb5c072e66cb64333aa7bda.zip |
A conceivably pretty bad performance bug in bui...
A conceivably pretty bad performance bug in builders.
SI-4821 pointed out that ArrayBuffer's ++ checks for a cheap size method
by matching on IndexedSeq, but mutable.IndexedSeq, so all immutable
collections are thrown in the same group as linear seqs. I went looking
for other examples of this and found them, in key classes like Builder.
The "type shadowing trap" is a serious issue in the collections. Closes
SI-4821, no review.
Diffstat (limited to 'test/files/run/multi-array.scala')
0 files changed, 0 insertions, 0 deletions