File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -263,12 +263,8 @@ function RoundExInteger (const aTemp: Double): Integer; inline;
263263{ TOneBRC }
264264
265265function Compare (AList: TStringList; AIndex1, AIndex2: Integer): Integer;
266- var
267- Str1, Str2: String;
268266begin
269- Str1 := AList.Strings[AIndex1];
270- Str2 := AList.Strings[AIndex2];
271- Result := CompareStr(Str1, Str2);
267+ Result := CompareStr(AList.Strings[AIndex1], AList.Strings[AIndex2]);
272268end ;
273269
274270procedure TOneBRC.ExtractLineData (const aStart: Int64; const aEnd: Int64; out aLength: ShortInt; out aTemp: SmallInt);
@@ -527,7 +523,6 @@ procedure TOneBRC.GenerateOutput;
527523 vStations.Add(iStationName);
528524 end ;
529525 vStations.EndUpdate;
530- // vStations.AddStrings(FDictionary.FStationNames);
531526 vStations.CustomSort (@Compare);
532527
533528 I := 0 ;
You can’t perform that action at this time.
0 commit comments