commit | 28f8eaeffb947fc1a01305c5d113bfe91b94cfba | [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 | cc7bd70ad439e7f9e2ef1a51ca65ed929621b750 | |
parent | 151e74894fe7a4163eb74a32634e377e3c558826 [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