Skip to content

Commit b20853e

Browse files
committed
skip more chars
1 parent 8f7c4e2 commit b20853e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

entries/ghatem-fpc/src/OneBRC.lpr

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,12 @@ procedure TOneBRC.ProcessData (aThreadNb: TThreadCount; aStartIdx: Int64; aEndId
459459
vLineStart := i;
460460

461461
while i < aEndIdx do begin
462+
463+
// can still skip some chars
464+
if FData[i] > ';' then begin
465+
Inc (I, 5);
466+
end;
467+
462468
while FData[i] <> #10 do begin
463469
Inc (I);
464470
end;

0 commit comments

Comments
 (0)