[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc
From: |
Sam Russell |
Subject: |
bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc |
Date: |
Sun, 3 Nov 2024 10:52:39 +0100 |
Hi,
This patch updates to the latest version of gnulib and speeds up gzip by
about ~35%:
$ time ./gzip_old -c -d -k large_file.gz > /dev/null
real 0m0.502s
user 0m0.473s
sys 0m0.030s
$ time ./gzip_new -c -d -k large_file.gz > /dev/null
real 0m0.318s
user 0m0.303s
sys 0m0.010s
I'm not sure what your conventions are around updating submodules, I see
the last update was September 8, also related to CRC code.
A quick browse showed this commit might be an issue:
commit 134978bd830b73d9bd7698f8ec2442d541056df1
Author: Bruno Haible <bruno@clisp.org>
Date: Mon Sep 9 15:46:44 2024 +0200
striconv, striconveh: Drop workaround for glibc 2.1.
* lib/striconv.c (str_iconv): Remove glibc-2.1 bug workaround.
* lib/striconveh.c (iconveh_open): Likewise.
Not sure if that means glibc 2.1 is deprected, or what impact that might
have for gzip, but that seemed like the main thing that could be of concern.
Cheers
Sam
0001-build-update-gnulib-to-latest-to-enable-faster-crc.patch
Description: Binary data
- bug#74192: [PATCH] build: update gnulib to latest, to enable faster crc,
Sam Russell <=