[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set function benchmark : Oops :-(
From: |
etienne grossmann |
Subject: |
set function benchmark : Oops :-( |
Date: |
Mon, 10 Jul 2000 08:52:08 +0100 (WEST) |
Sorry,
in the previous "benchmark" I posted, the "setdiff" function was
not Paul's, but mine, which is just a wrapper around Octave's
"complement". Paul's "setdiff" is somewhat quicker than Octave's
"complement".
Sizes : 1 2 5 20 200 50000
Octave create_set : 0.0021 0.0022 0.0022 0.0022 0.0030 0.3560
Paul's unique : 0.0013 0.0016 0.0015 0.0016 0.0029 0.4790
OK : sizes 1, Res : 1
Sizes : 1 2 5 20 200 50000
Octave intersection : 0.0042 0.0041 0.0041 0.0051 0.0105 4.6840
Paul's intersect : 0.0023 0.0035 0.0034 0.0034 0.0052 1.0200
OK : sizes 1, Res : 1
Sizes : 1 2 5 20 200 50000
Octave union : 0.0039 0.0038 0.0039 0.0040 0.0049 0.8280
Paul's union : 0.0020 0.0020 0.0021 0.0021 0.0042 1.0680
OK : sizes 1, Res : 1
Sizes : 1 2 5 20 200 50000
Octave complement : 0.0041 0.0039 0.0042 0.0045 0.0078 4.0740
Paul's setdiff : 0.0031 0.0034 0.0033 0.0033 0.0055 1.0140
OK : sizes 1, Res : 1
Sorry again for the errors in the previous mail,
Etienne
-----------------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.che.wisc.edu/octave/octave.html
How to fund new projects: http://www.che.wisc.edu/octave/funding.html
Subscription information: http://www.che.wisc.edu/octave/archive.html
-----------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- set function benchmark : Oops :-(,
etienne grossmann <=