wc-duck / datalibrary

Open Source Data Library for data serialization.
Other
42 stars 8 forks source link

Optimized packing pointers from json #154

Closed Tisten closed 1 year ago

Tisten commented 1 year ago

In my test I had some 200000 pointers, and with the linear searches and O^2 complexity of the json parser it took too long. I waited ~15 minutes before I aborted the test. After these changes my test have the following timings: DL Binary write 4.1s DL Json write 4.6s DL Json read 2.7s DL Binary read 1.9s