mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-26 01:01:35 +01:00
std/lzma: use 8-byte-copy if applicable
name old speed new speed delta wuffs_lzma_decode_100k/clang14 56.2MB/s ± 0% 60.7MB/s ± 0% +7.96% (p=0.008 n=5+5) wuffs_lzma_decode_100k/gcc12 56.4MB/s ± 1% 61.7MB/s ± 1% +9.44% (p=0.008 n=5+5) $ time example-mzcat < linux-6.8.2.tar.xz > /dev/null Before: user 0m8.396s After: user 0m8.392s
This commit is contained in:
1 parent
7077c20cb6
commit
b6b0f84187
7 files changed
+246
-27
No files matched your search
@@ -321,7 +321,9 @@ func (g *gen) writeBuiltinIOWriter(b *buffer, recv *a.Expr, method t.ID, args []
|
||||
switch method {
|
||||
case t.IDLimitedCopyU32FromHistory,
|
||||
t.IDLimitedCopyU32FromHistory8ByteChunksDistance1Fast,
|
||||
t.IDLimitedCopyU32FromHistory8ByteChunksDistance1FastReturnCusp,
|
||||
t.IDLimitedCopyU32FromHistory8ByteChunksFast,
|
||||
t.IDLimitedCopyU32FromHistory8ByteChunksFastReturnCusp,
|
||||
t.IDLimitedCopyU32FromHistoryFast,
|
||||
t.IDLimitedCopyU32FromHistoryFastReturnCusp:
|
||||
b.printf("wuffs_private_impl__io_writer__%s(\n&%s%s, %s%s, %s%s",
|
||||
|
||||
Reference in new issue
Block a user