use PackedIntArray

This commit is contained in:
Motiejus Jakštys 2022-02-14 14:55:54 +02:00 committed by Motiejus Jakštys
parent 4076e0ade1
commit ce882b9086

View File

@ -306,10 +306,10 @@ A packed list is a list of varints.
Complete file structure
-----------------------
`idx_*` sections are of type `[]u29` and are pointing to the respective
`Groups` and `Users` entries (from the beginning of the respective section).
Since User and Group records are 8-byte aligned, 3 bits are saved from every
element.
`idx_*` sections are of type `[]PackedIntArray(u29)` and are pointing to the
respective `Groups` and `Users` entries (from the beginning of the respective
section). Since User and Group records are 8-byte aligned, 3 bits are saved
from every element.
Each section is padded to 64 bytes.