mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
5308b645e0
This change does the following: - Replace slices for serial and subject with offsets. This trades space for a pointer, a length and a relocation (which on 64-bits Linux is an extra 24 bytes), with runtime computation based on a pair (offset, length), that are small enough that they fit in 8-bits integers. - "Inline" sha1 and md5 in Root as fixed-sized arrays instead of slices. That removes an indirection and saves the size of a fat pointer + the corresponding relocations. - Make BUILTINS and ROOT_LIST_LABEL arrays rather than slices, which also saves a relocation each. Overall this saves 24.6KB on my local Linux x64 build. Differential Revision: https://phabricator.services.mozilla.com/D175191 |
||
---|---|---|
.. | ||
certverifier | ||
ct | ||
mac/hardenedruntime | ||
manager | ||
nss | ||
rlbox | ||
sandbox | ||
.eslintrc.js | ||
generate_certdata.py | ||
generate_mapfile.py | ||
moz.build | ||
nss.symbols |