We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5df5095 commit 40a245bCopy full SHA for 40a245b
1 file changed
entries/ghatem-fpc/src/OneBRC.lpr
@@ -465,8 +465,21 @@ procedure TOneBRC.ProcessData (aThreadNb: TThreadCount; aStartIdx: Int64; aEndId
465
Inc (I, 5);
466
end;
467
468
- while FData[i] <> #10 do begin
469
- Inc (I);
+ // unroll a few seems to be improving?
+ if FData[i] <> #10 then begin
470
+ Inc (i);
471
472
473
474
+ Inc (I);
475
476
477
+ while FData[i] <> #10 do begin
478
479
+ end;
480
481
482
483
484
485
// new line parsed, process its contents
0 commit comments