diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-03-01 22:37:11 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-03-02 20:22:49 -0500 |
commit | f88ea12bacf381ad4f39ba2328c806e772c0dda8 (patch) | |
tree | 211a5b21bffda36e54c0a2fe62d3c94faee85f86 /firmware/common/pathfuncs.c | |
parent | ae97d410c5d2114d353480301e8c1f1d7bbaacce (diff) | |
download | rockbox-f88ea12bacf381ad4f39ba2328c806e772c0dda8.tar.gz rockbox-f88ea12bacf381ad4f39ba2328c806e772c0dda8.zip |
tagcache compress uniqbuf 2 16-bit indices occupy a single 32 bit slot
a lot of space is wasted when file indices less than 65535
entries should be more than 1 byte apart so use the LSB as a flag
when indices are > 65535 set flag to 0 and proceed as before
explicitly mark uniqbuf as 32bit
Change-Id: I54e06c152c369eb6c0322186fe2c1e9a1e6d940d
Diffstat (limited to 'firmware/common/pathfuncs.c')
0 files changed, 0 insertions, 0 deletions