summaryrefslogtreecommitdiff
path: root/week2/readme.md
blob: 75e2f9f109b205943bc3afcb27908af7e8761d39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<table class="table table-bordered">
  <tr>
    <th></th>
    <th colspan="2">Quicksort</th>
    <th colspan="2">Quicksort3</th>
    <th colspan="2">Mergesort</th>
    <th colspan="2">Bubblesort</th>
  </tr>
  <tr>
    <th></th>
    <td>gesorteerd</td>
    <td>geshuffled</td>
    <td>gesorteerd</td>
    <td>geshuffled</td>
    <td>gesorteerd</td>
    <td>geshuffled</td>
    <td>gesorteerd</td>
    <td>geshuffled</td>
  </tr>
  <tr>
    <th>Aantal vergelijkingen</th>
    <td>502498</td>
    <td>20178</td>
    <td>10009</td>
    <td>16637</td>
    <td>-</td>
    <td>-</td>
    <td>499500</td>
    <td>498870</td>
  </tr>
  <tr>
    <th>Aantal swaps</th>
    <td>500</td>
    <td>3720</td>
    <td>500</td>
    <td>3218</td>
    <td>-</td>
    <td>-</td>
    <td>499500</td>
    <td>244380</td>
  </tr>
  <tr>
    <th>Uitvoertijd</th>
    <td>132.5 ms</td>
    <td>7.330 ms</td>
    <td>4.360 ms</td>
    <td>8.580 ms</td>
    <td>30.91 ms</td>
    <td>33.52 ms</td>
    <td>304.5 ms</td>
    <td>254.1 ms</td>
  </tr>
</table>