dkorth added a comment.
The original version I wrote a few months back as a quick fix to reduce CPU
usage. I do agree that the magic numbers shouldn't be hard-coded, since that's
not easily maintained, though I'm not sure of the best approach. constexpr
strlen() seems like it'd work, or alte
dkorth created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
dkorth requested review of this revision.
REVISION SUMMARY
std::regex is slow, so use fixed-field parsing instead.
This is an initial version that I've been using for a while with no major