Subject: bug#58558: 29.0.50; re-search-forward is slow in some buffers

From: Mattias Engdegård <[email-masked]>
Date: Mon, 10 Apr 2023 10:48:05 +0200

Ihor, would you consider the possibility of regexp cache thrashing? It does occur from time to time; that cache is quite small. Try this instrumentation patch. (We should probably have something like it permanently.)