Commit Graph

2 Commits

Author SHA1 Message Date
Anton Korobeynikov
41e6cbec3d [NFC] Make the StoredIntegerElement<N> storage properties explicit:
specify the accepted field sizes in ctor.

This is a follow-up refactoring after discussion in #61726
2022-10-26 23:27:02 -07:00
Anton Korobeynikov
7b6c652dc7 Allow StoredIntegerElement to use full storage when necessary. (#61726)
* Allow StoredIntegerElement to use full storage when necessary.

This way we will be able to store whole 64-bit number when we store
only a single value, or two 32-bit numbers or 3 16-bit.

Fixes #61723
2022-10-25 23:28:07 -07:00