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
improve line parsing, using regex to extract labels
Using a regex to parse each line makes the code easier to read
and reason about. It uses capture groups to extract the exact
substrings we need, removing the need for extra whitespace
trimming and string splitting.
Benchmarking showed that it even performs slightly better on
the ESP32, while raising the committed memory by only 64 extra
bytes of memory compared with the previous algorithm
(measured after garbage collect).
0 commit comments