|
From: | Kevin Rodgers |
Subject: | bug#18013: 24.3.92; looking-back "[^\n]" taking a lot of time in large buffers |
Date: | Tue, 15 Jul 2014 00:08:01 -0600 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.28) Gecko/20120306 Thunderbird/3.1.20 |
On 7/14/14 5:12 AM, Nicolas Richard wrote:
As you see it takes more than 8 seconds on my system, most of that time is spent looking-back (inserting the file is quick). (looking-back "[^\n]") is bad code, so I totally deserve this. Still, is it possible to make the search smarter when the match is supposed to be "anchored" at point ? Otherwise let's just close this bug.
Use "\\=" to match the empty string at point. -- Kevin Rodgers Denver, Colorado, USA
[Prev in Thread] | Current Thread | [Next in Thread] |