AD Teaching Wiki:

Results for Exercise Sheet 3 (Intersecting Lists)

Add your row to the table below, following the examples already there. In the 1st column, write your account name, or name1+name2 if you work in a group. For each intersection result, write down (1) the runtime of the baseline algorithm, (2) the runtime of your improved algorithm (both in microseconds as an integer) and (3) the speedup ratio as float with exactly two digits of precision, measured as time_for_baseline / time_for_your_algorithm (<1 = slower, >1 = faster). In the last column briefly describe the improvements you implemented.

film + rug

bowling + rug

film + bowling

Name

Baseline

Yours

Ratio

Baseline

Yours

Ratio

Baseline

Yours

Ratio

Language

Summary Improvements

ck1028

8570µs

3298µs

2.59

545µs

520µs

1.05

12920µs

8796µs

1.46

Java

Combination of zipper algorithm & binary search in remainder of longer list; sentinels.

ck1028

1767µs

260µs

6.79

116µs

65µs

1.78

1898µs

1784µs

1.06

C++

Combination of zipper algorithm & galloping search; sentinels.

jt143

5094µs

2566µs

1.98

4518µs

3578µs

1.26

8388µs

6756µs

1.24

Java

Combination of binary search & galloping search; sentinels.

ky18

1328µs

324µs

4.08

81µs

194µs

0.41

2041µs

2394µs

0.85

Java

Combination of binary search, galloping search and zipper; sentinels.

as954

703μs

11μs

58.58

48μs

9μs

5.33

1747μs

243μs

7.19

Java

Combination of sentinels, galloping search and search in remainder of longer list

ml360

6357μs

2029μs

3,13

550μs

270μs

2,03

11029μs

6854μs

1.61

C++

Combination of sentinels, search in remainder of longer list and binary search and zipper

ak736 + lf124

1880943μs

152283μs

12,35

129737μs

193191μs

0,67

1433462μs

2138159μs

0,67

C++

Combination of binary search & galloping search; sentinels.

ms946

867μs

1008μs

0.86

445μs

503μs

0.88

2139μs

3078μs

0.7

Java

Combination of binary search in remainder of longer list & galloping search in remainder of longer list.

lc133+kt101

4436μs

3513μs

1.26

4492μs

3568μs

1.26

2980μs

2283μs

1.30

Java

Combination of Sentinels, Galloping Search and Binary Search in the remaining longer list.

AD Teaching Wiki: InformationRetrievalWS1819/ResultsES3 (last edited 2018-11-10 21:00:31 by 141)