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.

AD Teaching Wiki: InformationRetrievalWS1819/ResultsES3 (last edited 2018-11-07 03:46:36 by 141)