Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9496aa9 authored by Yurii Zubrytskyi's avatar Yurii Zubrytskyi
Browse files

[res] Small ReadString() optimization in idmap

- single read for both the string and padding past it

- use the raw memory filling function in std::string to skip
  zeroing of the newly allocated memory

Flag: EXEMPT bugfix
Test: atest idmap2_tests
Change-Id: I7f7cfd4166bd581bdef18e1233f418c76d2b6ece
parent a19e75b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment