]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
build: update to latest gnulib
authorPádraig Brady <P@draigBrady.com>
Sun, 5 Apr 2026 12:04:03 +0000 (13:04 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 5 Apr 2026 12:11:21 +0000 (13:11 +0100)
Pick up mbrto{c32,wc} optimizations on UTF-8 on GLIBC.
Note configure.ac defines the required GNULIB_WCHAR_SINGLE_LOCALE.
This speeds up wc -m by 2.6x, when processing non ASCII chars,
and will similarly speed up per character processing
in the impending cut multi-byte implementation.
* NEWS: Mention the wc -m speed improvement.

NEWS
gnulib

diff --git a/NEWS b/NEWS
index 2fabd07b7670e5fa9d2b98f374bd20e88e578073..98f0724e3623c93b15d898d76919f1f2d843e3fa 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -68,6 +68,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   'wc -l' now operates up to four and a half times faster on hosts that support
   Neon instructions.
 
+  'wc -m' now operates up to 2.6 times faster on GLIBC when processing
+  non-ASCII UTF-8 characters.
+
   'yes' now uses zero-copy I/O on Linux to significantly increase throughput.
   E.g., throughput improved 15x from 11.6GiB/s to 175GiB/s on a Power10 system.
 
diff --git a/gnulib b/gnulib
index dbd5c0e936cc56b4572b029273118892c64a5cdc..305e58f2f803035bccfe051c29d8ffd3d13dfdbc 160000 (submodule)
--- a/gnulib
+++ b/gnulib
@@ -1 +1 @@
-Subproject commit dbd5c0e936cc56b4572b029273118892c64a5cdc
+Subproject commit 305e58f2f803035bccfe051c29d8ffd3d13dfdbc