Bug#1059085: xpdf: text searching is very slow

2024-01-23 Thread Florian Schlichting
Hi Vincent,

On Wed, Dec 20, 2023 at 04:27:40AM +0100, Vincent Lefevre wrote:
> Package: xpdf
> Version: 3.04+git20231213-1
> Severity: important
> 
> With the latest version, text searching (Ctrl-F) is very slow.
> 
> For instance, on a PDF document with 3952 pages, with a word
> that has no occurrences:
>   * xpdf 3.04+git20220601-1 takes 8 seconds on an old machine;
>   * xpdf 3.04+git20231213-1 takes 110 seconds on a new machine.

I don't have precise numbers, but in my impression xpdf 3.04+git20240118
(which contains Adam's text search fix and is uploading as I write this,
so will take a few hours before being available for download) has become
a bit faster searching through large documents. When convenient, could
you check again with the same document, so we know for sure?

Thanks, Florian



Bug#1059085: xpdf: text searching is very slow

2023-12-19 Thread Vincent Lefevre
Package: xpdf
Version: 3.04+git20231213-1
Severity: important

With the latest version, text searching (Ctrl-F) is very slow.

For instance, on a PDF document with 3952 pages, with a word
that has no occurrences:
  * xpdf 3.04+git20220601-1 takes 8 seconds on an old machine;
  * xpdf 3.04+git20231213-1 takes 110 seconds on a new machine.

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500, 
'stable-security'), (500, 'stable-debug'), (500, 'proposed-updates-debug'), 
(500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.5.0-5-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages xpdf depends on:
ii  libc6  2.37-13
ii  libgcc-s1  13.2.0-9
ii  libpaper1  1.1.29
ii  libpoppler126  22.12.0-2+b1
ii  libstdc++6 13.2.0-9
ii  libx11-6   2:1.8.7-1
ii  libxm4 2.3.8-3
ii  libxt6 1:1.2.1-1.1

Versions of packages xpdf recommends:
ii  cups-bsd  2.4.7-1
ii  fonts-urw-base35  20200910-7
ii  poppler-data  0.4.12-1
ii  poppler-utils 22.12.0-2+b1
ii  sensible-utils0.0.20

xpdf suggests no packages.

-- no debconf information

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)