DescriptionMake the net logging code more compact.
The generation of the lookup table between errors and strings for
the net log expanded to 37 KB, due to the repeated code. Rewriting
the code to a loop and it shrank by roughly 75%.
Total change: -32087 bytes
==========================
3 added, totalling +960 bytes across 1 sources
60 removed, totalling -1143 bytes across 1 sources
1 shrunk, for a net change of -31904 bytes (36336 bytes before, 4432 bytes after) across 1 sources
BUG=
R=mmenke@chromium.org
Committed: https://crrev.com/3795272d194b346ef1f066936cb20e67bd4b5dba
Cr-Commit-Position: refs/heads/master@{#295338}
Patch Set 1 #
Total comments: 12
Patch Set 2 : net error tables #
Total comments: 8
Patch Set 3 : More compact net logger. #
Total comments: 1
Patch Set 4 : Net logger, addressed nit. #
Messages
Total messages: 14 (3 generated)
|