-
Notifications
You must be signed in to change notification settings - Fork 915
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix ingest_raw_data performance issue in Nested JSON reader due to RVO (
#12070) Issue is that `json::experimental::ingest_raw_data` took double the time of `json::ingest_raw_data` for same data. After replacing tertiary operator with `if` `else`, runtime for 500 MB file is same as `json::ingest_raw_data` I suspect, RVO (copy elision) is skipped while using tertiary operator. Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Nghia Truong (https://github.com/ttnghia) - Elias Stehle (https://github.com/elstehle) - MithunR (https://github.com/mythrocks) URL: #12070
- Loading branch information
1 parent
52dbb63
commit 262631b
Showing
2 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters