aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2024-01-23 00:09:48 +0200
committerJia Tan <jiat0218@gmail.com>2024-01-23 23:05:47 +0800
commit50255feeaabcc7e7db22b858a6bd64a9b5b4f16d (patch)
treebed06df927f6a9d1d91dd3360925ea3c1a3625bf /src/xz/file_io.c
parentxz: Update xz -lvv for RISC-V filter. (diff)
downloadxz-50255feeaabcc7e7db22b858a6bd64a9b5b4f16d.tar.xz
liblzma: RISC-V filter: Use byte-by-byte access.
Not all RISC-V processors support fast unaligned access so it's better to read only one byte in the main loop. This can be faster even on x86-64 when compared to reading 32 bits at a time as half the time the address is only 16-bit aligned. The downside is larger code size on archs that do support fast unaligned access.
Diffstat (limited to 'src/xz/file_io.c')
0 files changed, 0 insertions, 0 deletions