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/ikelaiah/README.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,10 @@ The approach I implemented here is simplistic.
6
6
7
7
- Sequentially read the measurement file.
8
8
- 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.
9
10
- 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.
0 commit comments