You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/hgrosser/README.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,24 +3,26 @@
3
3
**1 billion row Challenge entry**
4
4
5
5
## Version
6
-
Version 1.51
6
+
Version 1.60
7
7
8
8
## How to compile
9
9
The program was developed with FPC 3.2.2 and Lazarus 2.2.4
10
10
11
+
There is a new Conditional "noCR" which is neccessary, if the input file has no CR's
12
+
11
13
## How to start
12
14
```
13
-
Usage: <path to input file> <bit-width for hash-list (14..28)>
14
-
Example: hgrosser measurements.txt 15
15
+
Usage: <path to input file> <bit-width for hash-list (16..28)>
16
+
Example: hgrosser measurements.txt 16
15
17
- bit-width for hash-list: sets the size of the hash list, e.g. '16' => 65536 entries
16
18
```
17
-
There are no switches like `-i` etc, only values.
19
+
There are no switches like `-i` etc, only 2 values.
18
20
19
21
### Optimizing the 2nd command line parameter
20
22
21
-
In theory the program should run faster with greater bit-widths for the hash-list (because of less collisions), but on my own computer (8 GB RAM) in praxis a small value of 15 is the fastest way, allthough this causes many collisions.
23
+
In theory the program should run faster with greater bit-widths for the hash-list (because of less collisions), but on my own computer (8 GB RAM) in praxis a small value of 16 is the fastest way, allthough this causes many collisions.
22
24
23
-
Please (if possible) try all values from 14 to 24 (maybe in a for-loop). Thanks a lot.
25
+
Please (if possible) try all values from 16 to 22 (maybe in a for-loop). Thanks a lot.
24
26
25
27
## How the program works
26
28
The Program works with 1 thread.
@@ -37,3 +39,4 @@ To speed things up:
37
39
- Version 1.00: initial version
38
40
- Version 1.50: hash-list optimized, small improvements in parsing the file
39
41
- Version 1.51: small improvements in asm function
42
+
- Version 1.60: hash-list optimized, some minor improvements, Conditional "noCR" added
0 commit comments