-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.WG-incr-compWorking group: Incremental compilationWorking group: Incremental compilation
Description
Since Fingerprint
values have roughly random distribution, most of them will not profit from being stored in a variable-length encoding:
- encoding to leb128 takes additional time, and
- in the common case, the leb128 representation of the two 64 bit numbers in a
Fingerprint
will take up around 160 bits, so we are even wasting space.
We should not do that. UseSpecializedEncodable
and UseSpecializedDecodable
might be the way to circumvent the standard encoding methods of the opaque::Encoder
.
kennytm
Metadata
Metadata
Assignees
Labels
A-incr-compArea: Incremental compilationArea: Incremental compilationC-enhancementCategory: An issue proposing an enhancement or a PR with one.Category: An issue proposing an enhancement or a PR with one.E-mentorCall for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.Call for participation: This issue has a mentor. Use #t-compiler/help on Zulip for discussion.WG-incr-compWorking group: Incremental compilationWorking group: Incremental compilation