Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upFeature/deserialize #20
Conversation
…imdJson/common.hpp so build_data_frame() can go where it should have been (inst/include/RcppSimdJson/deserialize/dataframe.hpp)
|
This looks like very fine work. One thing that is a bit is that you seem to comingled this with an upgrade to (upstream) simdjson. Was that intentional / needed by something else? |
|
Nothing actually requires it and I should've done it separately. Initially it was another sanity check that everything not only works, but works with the updates upstream... and then I left it in. I have vectorized (in the R sense) versions to parse multiple strings and multiple files ready to go to maximize the parser efficiency (instead of creating a new one over and over w/ It should've done the sync separately. That's 100% my bad. |
Stuff happens. Do you just want to drop another commit on top and restore two two files? |
|
Yes, I'll get it sorted ASAP. |
|
Sounds good, and no need to rush. |
|
The upstream issue has been reproduced. It should be "easy" to fix. :-) We will fix it before release 0.4 (which is coming soon). cc @jkeiser |
|
@lemire Your response time is amazing. We all really appreciate it. @eddelbuettel The previous file versions have been restored and vectorized versions of |
|
I'll merge. It is still only from your branch off a fork of this into a branch here so we do need another pass anyway before any of this becomes "real". |
1c7ef14
into
eddelbuettel:feature/deserialize
Many refinements following some real-world usage:
int64_ttodoublecasting bugenums,constexprfunctions, exception options) used in multiple places.load_json()function to read JSON files.deserialize_json()Fingers crossed, but I feel more confident this is sustainable.
Last thoughts:
inst/include/RcppSimdJson/common.hpp), butR CMD checkis passing for both cases..load_many()/.parse_many()by now, but they're going to take some more thought.