Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly use
generate_json_string
for object keys
... instead of `generate_json`. Since the object key is already confirmed to be a string, using a generic dispatch function brings an unnecessary overhead. This speeds up `JSON.generate` by about 3% in a benchmark.
- Loading branch information