Closed anthonynorth closed 7 months ago
There looks to be a bug in the validate json benchmark. {yyjsonr} is reading a file into memory instead of validating it.
https://github.com/eddelbuettel/rcppsimdjson/blob/7100cac4172e904171e8874563d21cbcd13938df/demo/simpleBenchmark.R#L19
I think this should be:
yyjsonr = yyjsonr::validate_json_file(file),
My bad, I will fix that.
Now done, thanks for catching that.
There looks to be a bug in the validate json benchmark. {yyjsonr} is reading a file into memory instead of validating it.
https://github.com/eddelbuettel/rcppsimdjson/blob/7100cac4172e904171e8874563d21cbcd13938df/demo/simpleBenchmark.R#L19
I think this should be: