This reduces the total CPU time for readRIFF by >50%
It also reduces the memory size of the index by 3%.
For context, before this change: preparing the background index is around:
- 15% computing SHA1 of files to check index validity
- 30% readRIFF
- 50% building serving structures afterwards
could we have some documentations here?