diff options
author | Simon Ochsenreither <simon@ochsenreither.de> | 2011-12-02 15:29:51 +0100 |
---|---|---|
committer | Simon Ochsenreither <simon@ochsenreither.de> | 2011-12-02 15:36:03 +0100 |
commit | db7bd31896231cbb8f018ffd8a82bc956d066e40 (patch) | |
tree | de45d4f3d9520724f901f25dc143ab041c7d31ba /test/files/run/t4658.check | |
parent | 947797ea23d711e501605c0cc218fec88e3b97ef (diff) | |
download | scala-db7bd31896231cbb8f018ffd8a82bc956d066e40.tar.gz scala-db7bd31896231cbb8f018ffd8a82bc956d066e40.tar.bz2 scala-db7bd31896231cbb8f018ffd8a82bc956d066e40.zip |
Makes Range#sum an O(1) operation instead of an O(n) one.
Partially fixes SI-4658. NumericRange stays slow, thanks to the brilliant idea that Numeric doesn't need a division operation.
Diffstat (limited to 'test/files/run/t4658.check')
-rw-r--r-- | test/files/run/t4658.check | 80 |
1 files changed, 80 insertions, 0 deletions
diff --git a/test/files/run/t4658.check b/test/files/run/t4658.check new file mode 100644 index 0000000000..743b0faee3 --- /dev/null +++ b/test/files/run/t4658.check @@ -0,0 +1,80 @@ +Ranges: +1073741824 +1073741824 +0 +0 +55 +25 +1 +-45 +-55 +0 +-24 +-30 +0 +-40 +-55 +-10 +-24 +-30 +-10 +IntRanges: +Disabled #1 +Disabled #2 +0 +0 +55 +25 +1 +-45 +-55 +0 +-24 +-30 +0 +-40 +-55 +-10 +-24 +-30 +-10 +LongRanges: +Disabled #1 +Disabled #2 +0 +0 +55 +25 +1 +-45 +-55 +0 +-24 +-30 +0 +-40 +-55 +-10 +-24 +-30 +-10 +BigIntRanges: +Disabled #1 +Disabled #2 +0 +0 +55 +25 +1 +-45 +-55 +0 +-24 +-30 +0 +-40 +-55 +-10 +-24 +-30 +-10 |