Skip to content

Commit 8ab3296

Browse files
committed
Update - Updated the README.md to reflect algo.
1 parent 05111ac commit 8ab3296

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entries/ikelaiah/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ The approach I implemented here is simplistic.
66

77
- Sequentially read the measurement file.
88
- Populate a `TDictionary` with station names, min, max, count and sum; without storing all the temperature measurements.
9+
- Avoided [StrUtil.SplitString](https://www.freepascal.org/docs-html/rtl/strutils/splitstring.html), used [`Pos()`](https://www.freepascal.org/docs-html/rtl/system/pos.html) and [`Copy()`](https://www.freepascal.org/docs-html/rtl/system/copy.html) instead.
910
- Use a custom comparer to sort the station and temperature statistics in a `TStringList`.
10-
- Display the sorted measurements using a simple for loop.
11+
- Use the rounding method as provided in the `baseline.lpr` (or the `README.md` from 1brc-ObjectPascal).
12+
- Display the sorted measurements using a simple `for` loop.
1113

1214
## Getting Started
1315

0 commit comments

Comments
 (0)