]> git.lizzy.rs Git - dragonfireclient.git/commit
Optimize JSON string (de)serialization routines
authorsfan5 <sfan5@live.de>
Sun, 1 May 2022 11:44:42 +0000 (13:44 +0200)
committersfan5 <sfan5@live.de>
Sat, 21 May 2022 15:46:10 +0000 (17:46 +0200)
commit9ee3dc71f1bb094c04afe98832f69f2a95995340
treec91432d8d0edbce44f126fe220f11ec76f3bb365
parent70dc23f996683a59dd85db74e8f15e49c4f7b9fd
Optimize JSON string (de)serialization routines

stringstreams were shown to be slow when reading/writing single characters
and there is lots of potential by having functions perform on existing
buffers whenever possible.
src/util/serialize.cpp