chadaustin / sajson

Lightweight, extremely high-performance JSON parser for C++11
MIT License
562 stars 42 forks source link

optimize number parsing #15

Open chadaustin opened 7 years ago

chadaustin commented 7 years ago

The only benchmark where sajson loses to rapidjson is number parsing. Need to split the integer loop from the floating point loop (which has the important effect of breaking p's dependency chain on the numeric value).