mirror of
https://github.com/monero-project/monero.git
synced 2025-07-27 20:05:19 -04:00
Improved performance for epee serialization:
- Removed copy of field names in binary deserialization - Removed copy of array values in binary deserialization - Removed copy of string values in json deserialization - Removed unhelpful allocation in json string value parsing - Removed copy of blob data on binary and json serialization
This commit is contained in:
parent
411f1b0ee3
commit
a9bdc6e4c4
7 changed files with 56 additions and 59 deletions
|
@ -157,7 +157,6 @@ namespace misc_utils
|
|||
while (fi != buf_end && ((lut[(uint8_t)*fi] & 32)) == 0)
|
||||
++fi;
|
||||
val.assign(it, fi);
|
||||
val.reserve(std::distance(star_end_string, buf_end));
|
||||
it = fi;
|
||||
for(;it != buf_end;it++)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue