Skip to content
Commit 172367d1 authored by François Degros's avatar François Degros Committed by Copybara-Service
Browse files

[zip] Add ZipReader::Entry

Preparing the transition from (class) ZipReader::EntryInfo to (struct)
ZipReader::Entry. This will remove boilerplate code, and will provide
optimization and simplification opportunities.

Avoid dynamically allocating the Entry over and over again. Reuse the
same internal Entry object.

BUG=chromium:1295127
TEST=autoninja -C out/Default zlib_unittests && out/Default/zlib_unittests

Change-Id: Ie51e1bda05408b28f53957ea89c78d37d8009f5c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3446405


Reviewed-by: default avatarNoel Gordon <noel@chromium.org>
Commit-Queue: François Degros <fdegros@chromium.org>
Cr-Commit-Position: refs/heads/main@{#968767}
NOKEYCHECK=True
GitOrigin-RevId: 153ddbabb7339501c16310337d9b240c37929fb6
parent 3fc79233
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment