commit | a5e894b9a6d9f06ff0c2311ad37805e039bb2fac | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Thu Mar 05 16:31:23 2020 -0800 |
committer | Tianjie Xu <xunchang@google.com> | Tue Mar 10 11:51:53 2020 -0700 |
tree | 5f158542239d13a0c9b4fad1200a9aa3fc850c7a | |
parent | d6dfe3f54e07be2b8e61fd569954ce7b844403c9 [diff] |
Create an interface for the cd entry hash table The current implementation of the hashtable uses less memory than a std::map. As most of the zip files we encountered don't use the zip64 extension, we should keep the current implementation. And the interface adds the flexibility for us to switch to std::map for zip64 format. Bug: 150900468 Test: unit tests pass Change-Id: Ifd008785c9ff416a27049f9e0c54d9eef985bd85