From 59418fa3ce05b97bcae028b351259196e4fa843e Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 11 Nov 2023 16:43:37 +0100 Subject: [PATCH] Better comment about the UCA cache. --- bin/sync.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/sync.pl b/bin/sync.pl index 14c6a3b..d8866a6 100644 --- a/bin/sync.pl +++ b/bin/sync.pl @@ -53,9 +53,8 @@ sub log_timing { } # Unicode::Collate is seemingly slow, so add a cache for each name part -# (which, of course, only works for equality). -# Doesn't seem to help the initial one, though; I guess not enough people -# have the same names. +# (which, of course, only works for equality). Helps especially in +# --daemon mode, where even the first request gets a warm cache. my %sort_key_cache = (); my $sort_key_sp = $uca->getSortKey(' '); -- 2.39.2