simdjson icon indicating copy to clipboard operation
simdjson copied to clipboard

Consider using yyjson as a fallback

Open lemire opened this issue 3 years ago • 6 comments

Though we need better documentation and investigation, it seems likely that we could use yyjson as a faster fallback than our current fallback. My understanding is that @jkeiser wrote the fallback competently, but without hope of breaking speed barriers. At least for DOM parsing, this appears like an interesting practical possibility.

lemire avatar Oct 22 '20 14:10 lemire

Does that mean yyjson may become an optional build dependency of simdjson? I'll have to package that for debian as well.

cdluminate avatar Oct 24 '20 03:10 cdluminate

Does that mean yyjson may become an optional build dependency of simdjson? I'll have to package that for debian as well.

It would almost certainly be bundled as is, if not modified to better suite simdjson and reduce repetition (ex: float parsing). I doubt you will need to change the packaging at all.

TkTech avatar Oct 24 '20 06:10 TkTech

Tyler is correct. If we do this, it would not impact packaging.

lemire avatar Oct 24 '20 13:10 lemire

Thanks for confirmation!

cdluminate avatar Oct 24 '20 14:10 cdluminate

Did this ever get implemented? :)

luizperes avatar Jun 07 '22 06:06 luizperes

It did not. Do you want to work on it?

lemire avatar Jun 07 '22 12:06 lemire