Skip to content

Reflection + tag_invoke approach to enable ondemand parsing on simdjson#38

Merged
FranciscoThiesen merged 8 commits intomainfrom
using_reflection_for_simdjson_ondemand
Aug 9, 2024
Merged

Reflection + tag_invoke approach to enable ondemand parsing on simdjson#38
FranciscoThiesen merged 8 commits intomainfrom
using_reflection_for_simdjson_ondemand

Conversation

@FranciscoThiesen
Copy link
Copy Markdown
Member

This leverage the work done by @the-moisrex at simdjson/simdjson#2219

As @lemire noted in the comments of example3.cpp, more changes are needed to make this work for simdjson documents. I plan to take up this work to improve upon this contribution.

FranciscoThiesen and others added 6 commits July 20, 2024 20:50
error: out-of-line definition of 'get' does not match any declaration in 'simdjson::fallback::ondemand::value'
   45 | simdjson_inline simdjson_result<T> simdjson::ondemand::value::get() noexcept {
      |
… for pushable containers.

Yet to use reflection in the same style in this branch.
…demand_daniel

Using reflection for simdjson ondemand daniel
@FranciscoThiesen FranciscoThiesen requested a review from lemire August 5, 2024 04:36
…or now, since the reflection + tag_invoke approach is not yet working for documents.
@lemire
Copy link
Copy Markdown
Member

lemire commented Aug 7, 2024

I am studying the whole thing.

@FranciscoThiesen
Copy link
Copy Markdown
Member Author

@lemire I've just re-enabled example 2, using the-moisrex latest changes. Everything works as expected (:

simdjson/simdjson#2228

@lemire
Copy link
Copy Markdown
Member

lemire commented Aug 8, 2024

@FranciscoThiesen Excellent.

@FranciscoThiesen FranciscoThiesen merged commit b82c5bd into main Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants