-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
Use simdjson in JSONParser #59288
Copy link
Copy link
Closed
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.
Metadata
Metadata
Assignees
Labels
c++Issues and PRs that require attention from people who are familiar with C++.Issues and PRs that require attention from people who are familiar with C++.
JSONParser predated the inclusion of simdjson, we were using the V8 JSON parser for convenience but it requires more than it needs to do the job (e.g. then the parser cannot be used to parse configs before V8 is initialized, then there's a chicken-and-egg problem if we want to use that to configure how to initialize V8).
node/src/json_parser.h
Lines 28 to 30 in ce8f085
It would be simpler to just use simdjson to do this now that we have it.