diff options
| author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-05-10 23:47:26 +0200 |
|---|---|---|
| committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2026-05-10 23:47:26 +0200 |
| commit | c011363117c18d9332c42d4e5ec7f6ba3f932ec3 (patch) | |
| tree | 347bdc683457ea51ac78ae7aedcc7b78d013aefb /freebsd | |
| parent | db314a6b421a0bc4a8d58605e9bd18f7aa2067cd (diff) | |
* You can provoke hangs in forward searches when opening large files:
`100000S^X$`
This cannot be sped up, but must be interruptible.
* With backwards searches it is even easier to provoke.
Go to the end of a large file and perform any backwards search,
even `-S$`.
Since we must always search from the beginning of the document,
you will always produce all matches over the entire document.
There might be ways to speed up backwards searches, but they must
be interruptible anyway.
* Perhaps we can extend back the search range in chunks of 1-4kb
until we produce at least `-count` matches.
Diffstat (limited to 'freebsd')
0 files changed, 0 insertions, 0 deletions
