1760
Comment:
|
1845
I had given the wrong R for the second run; this time I took the average of the 3 times; tested with an improvement of the optimal algorithm (start binary search lower bound where last elem was found)
|
Deletions are marked like this. | Additions are marked like this. |
Line 18: | Line 18: |
||Stefan M ||0.80 s|| 0.48s || 0.18s ||0.19s || i5 2557M @ 1.7GHz / 4GB ||Java || | ||Stefan M || 0.48s|| 0.80s || 0.19s ||0.18s || i5 2557M @ 1.7GHz / 4GB ||Java || ||Carlos L || 0.32s|| 0.23s || 0.29s ||0.02s || i7-2600K @ 3.40GHz / 8GB ||Java || |
Results for Exercise Sheet 3 (List Intersection)
Please read the instructions below, before adding something to the table!
Add your row to the table below, following the examples already there. Simple = the simple linear-time algorithm. ExpBin = the asymptotically optimal exponential-binary-search algorithm. R = the ratio of the list length. The sum of the two list lengths should be N=250M in both cases (so 1/(R+1)*N for the smaller list, and R/(R+1)*N for the larger list). Provide the query times in seconds (s) please, with exactly two digits after the dot. Provide your machine specs in the same way as the examples already there. In particular, specify the processor frequency with exactly one digit after the dot, the amount of RAM as an integer, and don't provide secondary details about the processor.
Name |
Simple, R = 5 |
ExpBin, R = 5 |
Simple, R = 50 |
ExpBin, R = 50 |
Processor / RAM |
Language |
Florian B |
0.58s |
0.95s |
0.33s |
0.15s |
Intel X5560 @ 2.8GHz / 36GB |
Java |
Simon S |
0.43s |
0.53s |
0.27s |
0.13s |
Intel X5560 @ 2.8GHz / 36GB |
C++ |
Adrian + Susi |
0.21s |
0.36s |
0.18s |
0.08s |
i5 3570K @ 3.4GHz / 8GB |
C++ |
Simon P |
2.53s |
2.83s |
0.80s |
0.71s |
i3 380UM @ 1.3GHz / 4GB |
Java |
Philipp L |
1.08s |
1.09s |
0.57s |
0.26s |
Phenom II X4 955 @ 3.2GHz / 6GB |
Java |
Nikolaus M |
0.25 s |
0.46s |
0.03s |
0.05s |
i3 3220 @ 3.3GHz / 8GB |
C++ |
Anton S |
0.35 s |
0.39s |
0.25s |
0.1s |
VM: i5 3570K @ 3.4GHz / 4.9GB |
C++ |
Milan O |
1.29 s |
1.38s |
0.64s |
0.62s |
Intel T6570 @ 2.1GHz / 8GB |
C++ |
Stefan M |
0.48s |
0.80s |
0.19s |
0.18s |
i5 2557M @ 1.7GHz / 4GB |
Java |
Carlos L |
0.32s |
0.23s |
0.29s |
0.02s |
i7-2600K @ 3.40GHz / 8GB |
Java |