diff options
author | chrisokasaki <cokasaki@gmail.com> | 2016-05-22 21:54:06 -0400 |
---|---|---|
committer | chrisokasaki <cokasaki@gmail.com> | 2016-05-22 21:54:06 -0400 |
commit | 093c9346dec958c46d0ae2e0473eaca463a5f922 (patch) | |
tree | 07371741d05d307fb69a5298285d569303241da4 /test/junit/scala/tools/nsc/transform/delambdafy/DelambdafyTest.scala | |
parent | a79b9b7220c87ba21b374eda25702c7bc446dc29 (diff) | |
download | scala-093c9346dec958c46d0ae2e0473eaca463a5f922.tar.gz scala-093c9346dec958c46d0ae2e0473eaca463a5f922.tar.bz2 scala-093c9346dec958c46d0ae2e0473eaca463a5f922.zip |
SI-9776: Fix type of PriorityQueue.newBuilder and improve performance
- Fix the return type of mutable.PriorityQueue.newBuilder to be
Builder[A, PriorityQueue[A]] rather than PriorityQueue[A].
- Improve performance of bulk inserts from O(N log N) to O(N),
primarily in the builder, ++=, and reverse. These changes
indirectly benefit the many other methods that use the builder or ++=.
- Improve performance of clone.
- Fix SI-9757 space leak in dequeue.
Diffstat (limited to 'test/junit/scala/tools/nsc/transform/delambdafy/DelambdafyTest.scala')
0 files changed, 0 insertions, 0 deletions