about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-04-12 16:12:48 +0000
committerbors <bors@rust-lang.org>2022-04-12 16:12:48 +0000
commitde56c295c394349a68f293039481c3aa6402f9c6 (patch)
treebaf0f6ce25e66fb0175ef72ff467e14395caa99d /compiler/rustc_codegen_gcc
parent327caac4d01aef74d6577b87c295270608be09fa (diff)
parentb4cf2cdf870512373a656393f393bce84eb78d80 (diff)
downloadrust-de56c295c394349a68f293039481c3aa6402f9c6.tar.gz
rust-de56c295c394349a68f293039481c3aa6402f9c6.zip
Auto merge of #95867 - cjgillot:fixed-size, r=oli-obk
Skip `Lazy` for some metadata tables

Some metadata tables encode their entries indirectly, through the Lazy construct. This is useful when dealing with variable length encoding, but incurs the extra cost of one u32.

Meanwhile, some fields can be encoded in a single u8, or can use a short fixed-length encoding. This PR proposes to do so, and avoid the overhead.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions