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
refactor(parser): address review feedback on Link parser
Locate the ld2 metadata block via the blocks vector rather than using
hardcoded absolute file offsets (survives any future change to lf3 size).
Pre-allocate the all_times vector with the known total sample count to
skip reallocations during push. Truncate the f64 times vector at the
same 50_001-sample ceiling the inner loop enforces on data_matrix, so
large logs don't pay the cost of a timeline allocation that gets
discarded. Drop the now-redundant times[..data_matrix.len()].to_vec()
slice at the end.
No behavior change on any file in exampleLogs/link/ or on the three
.llgx files from a real G4X install; same sample counts, same channel
min/max values. All tests still pass.
0 commit comments