diff options
author | Aleksandar Prokopec <axel22@gmail.com> | 2012-06-06 18:56:28 +0200 |
---|---|---|
committer | Aleksandar Prokopec <axel22@gmail.com> | 2012-06-06 18:56:28 +0200 |
commit | 0291797fec629c750cefea17ff23c9adc236fec4 (patch) | |
tree | 69483964306ba5f2924502cf66c3d978f4705e87 /test/benchmarking/TreeSetInsertRandom.scala | |
parent | db1b777372a6883f9c474159804b8f7798c0ec49 (diff) | |
download | scala-0291797fec629c750cefea17ff23c9adc236fec4.tar.gz scala-0291797fec629c750cefea17ff23c9adc236fec4.tar.bz2 scala-0291797fec629c750cefea17ff23c9adc236fec4.zip |
Fixes SI-5857.
Override `min` and `max` in `Range` and `NumericRange`
to check if a default `Ordering` for the numeric type
in question is used.
If so, bypass traversal and compute the minimum or
maximum element.
Diffstat (limited to 'test/benchmarking/TreeSetInsertRandom.scala')
0 files changed, 0 insertions, 0 deletions