diff options
author | Ruediger Klaehn <rklaehn@gmail.com> | 2012-08-09 21:09:39 +0200 |
---|---|---|
committer | Ruediger Klaehn <rklaehn@gmail.com> | 2012-08-09 21:09:39 +0200 |
commit | 1f3f1addfd21842da371a7d1755f9756a7fad3f0 (patch) | |
tree | eeb89823d30e9875201224943770d7992c68a4fa /test/files | |
parent | 6b3d36bc19cc82350c3754b0b91fb074a443d9bc (diff) | |
download | scala-1f3f1addfd21842da371a7d1755f9756a7fad3f0.tar.gz scala-1f3f1addfd21842da371a7d1755f9756a7fad3f0.tar.bz2 scala-1f3f1addfd21842da371a7d1755f9756a7fad3f0.zip |
Only create a HashTrieSet if necessary.
If allow HashTrieSets with one element, you can get a degenerate tree that is six levels deep yet contains only one element by first building a large tree and then removing elements
Diffstat (limited to 'test/files')
0 files changed, 0 insertions, 0 deletions