Gittyup icon indicating copy to clipboard operation
Gittyup copied to clipboard

Indexer stores data as big endian

Open AHSauge opened this issue 5 months ago • 0 comments

The indexer code currently uses QDataStream to read and write data. This defaults to big endian byte order. While this is great for compatibility and data exchange, it also adds overhead for any little endian machine (x86, ARM etc.). That overhead seems pointless for files that are exclusively local. I therefore suggest to use native byte order and speed up the indexer about 5% as a result.

AHSauge avatar Jul 23 '25 07:07 AHSauge