EindbaasExpress / handsonscala-issuemigrator

Part of the HandsOnScala Course
0 stars 0 forks source link

Swap out JSON parser for a faster implementation #109

Open EindbaasExpress opened 2 years ago

EindbaasExpress commented 2 years ago

uPickle's current JSON parser is forked from https://github.com/typelevel/jawn. While it's reasonably fast, parsing remains a significant portion of uPickle's execution time.

The state of the art has since moved on, and faster JSON parsers have appeared:

We should fork one of the more modern JSON parsers so we can benefit from their JSON parsing performance. They should be able to plug directly into uPickle's Visitor-based architecture without any code changes on the uPickle side

uPickle's JSON renderer could probably be swapped out for a faster implementation as well ID: 336 Original Author: lihaoyi