gctoolkit icon indicating copy to clipboard operation
gctoolkit copied to clipboard

Parser rules improvements

Open ghost opened this issue 4 years ago • 0 comments
trafficstars

Currently the parser sends a log line through a set of (regex) rules to identify it to know how to safely process it. The proposal is to replace the list with a circular buffer in hopes that for well formed log files, the "next" log line will be the "next" rule which should hopefully reduce the number of rules to try before getting a hit. The worst case is still run to failure, failure being, the log line being passed in isn't recognized.

ghost avatar Oct 03 '21 14:10 ghost