3 ms·
Jq appears to have its own hand written json parser and requires flex/bison. I suspect something about the hand written parser is slow for large data sets. I
by tyingq 6y ago
Jq appears to have its own hand written json parser and requires flex/bison. I suspect something about the hand written parser is slow for large data sets.
I was somewhat surprised it didn't use an existing json parser library.
- brundolf 6y agoI'm doubly surprised that such a popular utility uses bison; generated parsers tend to be slower than handwritten parser, and JSON isn't exactly the world's hardest language to parse