Q: A faster re-implementaiton of jq written in Reason Native/OCaml
1–10 of 196 posts
Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#2Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#3Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#4Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#5This looks nice, but I was a bit dismayed at "friends don't let friends curl | bash, to install this run curl | bash".
Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#6Is jq slow? I have only worked with datasets up to 1mb but I’ve never had a performance issue that wasn’t attributed to my error.
I often have to pluck out attributes from streams of json records (1 json object per line) - often millions/billions.
jq is almost always the bottleneck in the pipeline at 100% CPU - so much so that we often add an fgrep to the left side of the pipeline to minimize the input to jq as much as possible.
Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#7Is jq slow? I have only worked with datasets up to 1mb but I’ve never had a performance issue that wasn’t attributed to my error.
The main weakness seems to be streaming use cases (not having the whole file in memory at once). These are supported, but the syntax is quite awkward.
Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#8Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#9Re: Q: A faster re-implementaiton of jq written in Reason Native/OCaml
#10Are we sure it should get a single-letter 'q' binary name though? Docs seem to point that it's short for 'query-json'? Why not call it 'query-json' and let the user decide that as a shell alias or whatever. Even the ubiquitous 'ls' and 'cd' are two characters.