File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Hartmut Grosser #
1+ # Hartmut Grosser
22
3- # 1 billion row Challenge entry #
3+ ** 1 billion row Challenge entry**
44
5- # Version #
5+ ## Version
66Version 1.0
77
8- # How to compile #
8+ ## How to compile
99The program was developed with FPC 3.2.2 and Lazarus 2.2.4
1010
11- # How to start #
11+ ## How to start
1212```
1313Usage: hgrosser <path to input file> [buffer size in kb (Default=128 kb)]
1414Example: hgrosser ./measurements.txt 128
1515```
16- There are no switches like '-i' etc, only values.
16+ There are no switches like ` -i ` etc, only values.
1717
1818Please start the program 3 times with buffer sizes of '128', '192' and '256'.
1919
20- # How the program works #
20+ ## How the program works
2121The Program works with 1 thread.
2222
2323To speed things up:
Original file line number Diff line number Diff line change 1818 <i18n >
1919 <EnableI18N LFM =" False" />
2020 </i18n >
21- <BuildModes Count =" 1 " >
21+ <BuildModes Count =" 3 " >
2222 <Item1 Name =" Default" Default =" True" />
23+ <Item2 Name =" Debug" >
24+ <CompilerOptions >
25+ <Version Value =" 11" />
26+ <Target >
27+ <Filename Value =" ../../../bin/hgrosser" />
28+ </Target >
29+ <SearchPaths >
30+ <IncludeFiles Value =" $(ProjOutDir)" />
31+ <UnitOutputDirectory Value =" ../../../bin/lib/$(TargetCPU)-$(TargetOS)" />
32+ </SearchPaths >
33+ <Parsing >
34+ <SyntaxOptions >
35+ <SyntaxMode Value =" tp" />
36+ <IncludeAssertionCode Value =" True" />
37+ </SyntaxOptions >
38+ </Parsing >
39+ <CodeGeneration >
40+ <Checks >
41+ <IOChecks Value =" True" />
42+ <RangeChecks Value =" True" />
43+ <OverflowChecks Value =" True" />
44+ <StackChecks Value =" True" />
45+ </Checks >
46+ <VerifyObjMethodCallValidity Value =" True" />
47+ </CodeGeneration >
48+ <Linking >
49+ <Debugging >
50+ <DebugInfoType Value =" dsDwarf3" />
51+ <UseHeaptrc Value =" True" />
52+ <TrashVariables Value =" True" />
53+ <UseExternalDbgSyms Value =" True" />
54+ </Debugging >
55+ </Linking >
56+ </CompilerOptions >
57+ </Item2 >
58+ <Item3 Name =" Release" >
59+ <CompilerOptions >
60+ <Version Value =" 11" />
61+ <Target >
62+ <Filename Value =" ../../../bin/hgrosser" />
63+ </Target >
64+ <SearchPaths >
65+ <IncludeFiles Value =" $(ProjOutDir)" />
66+ <UnitOutputDirectory Value =" ../../../bin/lib/$(TargetCPU)-$(TargetOS)" />
67+ </SearchPaths >
68+ <Parsing >
69+ <SyntaxOptions >
70+ <SyntaxMode Value =" tp" />
71+ </SyntaxOptions >
72+ </Parsing >
73+ <CodeGeneration >
74+ <SmartLinkUnit Value =" True" />
75+ <Optimizations >
76+ <OptimizationLevel Value =" 3" />
77+ </Optimizations >
78+ </CodeGeneration >
79+ <Linking >
80+ <Debugging >
81+ <GenerateDebugInfo Value =" False" />
82+ <RunWithoutDebug Value =" True" />
83+ </Debugging >
84+ <LinkSmart Value =" True" />
85+ </Linking >
86+ </CompilerOptions >
87+ </Item3 >
2388 </BuildModes >
2489 <PublishOptions >
2590 <Version Value =" 2" />
You can’t perform that action at this time.
0 commit comments