DarkRTA / chronos

a terminal-based speedrun timer using https://github.com/livesplit/livesplit-core
MIT License
22 stars 4 forks source link

Find an efficient way to deserialize the JSON into C structs. #5

Closed DarkRTA closed 4 years ago

DarkRTA commented 4 years ago

The rationale behind this is allowing for rendering code to be cleaned up. This may require the use of a different library and will definitely require refactoring a lot of code.

DarkRTA commented 4 years ago

This has turned out to be extremely impractical and will needlessly complicate code if I were to go through with it.

In addition, switching to cJSON has improved performance by about 25% overall so that gives one less reason to need this.