Skip to content

Commit 9ae8121

Browse files
committed
Update - Minor edits.
1 parent 30a81a2 commit 9ae8121

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

entries/ikelaiah/README.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,11 @@ Iwan Kelaiah
145145
* Revision release - Sequential approach. 3-5 mins on my Inspiron 15 7510 laptop, around 2m55s (no improvement on speed).
146146
* Replaced `LGenerics` with `Generics.Collections` for the time being.
147147

148+
* 1.12
149+
* Revision release - Sequential approach. 3-5 mins on my Inspiron 15 7510 laptop, around 2m40s (small improvement on speed).
150+
* Called TStreamReader.ReadLn, twice in the while loop. This saves approx 5-10 seconds.
151+
* Updated the Acknowledgments section.
152+
148153
## License
149154

150155
This project is licensed under the MIT License - see the LICENSE.md file for details
@@ -164,10 +169,12 @@ Inspiration, code snippets, libraries, etc.
164169
- Borrowed and modified Gus' `WriteHelp` from the `baseline.lpr`.
165170
3. A.Koverdyaev (avk)
166171
- For the amazing (LGenerics)[https://github.com/avk959/LGenerics] library.
167-
4. Székely Balázs.
172+
4. Benito van der Zander (benibella)
173+
- FOr providing the [Free Pascal Hashmaps Benchmark](https://www.benibela.de/fpc-map-benchmark_en.html).
174+
5. Székely Balázs.
168175
- Now I know what `Single` data type is!
169176
- I borrowed the custom `TStringList` comparer from the `baseline` program.
170-
5. Shraddha Agrawal - https://www.bytesizego.com/blog/one-billion-row-challenge-go.
177+
6. Shraddha Agrawal - https://www.bytesizego.com/blog/one-billion-row-challenge-go.
171178
- The advice for not storing measurements for each station in a data structure.
172-
6. Arman Hajisafi - https://arman-hs.github.io
179+
7. Arman Hajisafi - https://arman-hs.github.io
173180
- Encouragements and inspirations.

entries/ikelaiah/src/weatherstation.pas

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ TStat = record
3737

3838
type
3939
// Using this dictionary, now approx 4 mins faster than Generics.Collections.TDictionary
40+
// THashMap<shortstring, PStat> - takes around 120s.
41+
// TFastHash<shortstring, PStat> - takes around 100s.
4042
TWeatherDictionary = specialize TFastHashMap<shortstring, PStat>;
4143

4244
type

0 commit comments

Comments
 (0)