commit | c6602745961d7e990b87dbb9c0a807b3b12e4957 | [log] [tgz] |
---|---|---|
author | Yurii Zubrytskyi <zyy@google.com> | Mon Jun 17 15:43:16 2019 -0700 |
committer | Yurii Zubrytskyi <zyy@google.com> | Tue Jun 18 21:49:16 2019 -0700 |
tree | b81bbe8b02f2110f9d5b4d77a8949f50ebcfc7d0 | |
parent | 549bdb96824981425b224493fc110f643f76d705 [diff] |
[zip] Save 1 malloc and memset for each added file in ZipWriter + add a benchmark for the function. This change speeds up the function by about 3%: 910ns->880ns Change-Id: I33c8c31de18d10eb38f109917ecbcbdda45b4034