[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug#16832: Emacs goes crazy when deleting lines
From: |
Nicolas Goaziou |
Subject: |
Re: [O] bug#16832: Emacs goes crazy when deleting lines |
Date: |
Sat, 15 Mar 2014 18:57:37 +0100 |
Eli Zaretskii <address@hidden> writes:
> Do you happen to know, or can measure, how much faster is the latest
> version? Given the timing provided by the OP, it'd have to be at
> least 100 times faster, to avoid annoying delays after each command.
Basically it is,
(search-forward "call_")
versus
(re-search-forward
"\\([^\n]*?\\)call_\\([^()[:space:]\n]+?\\)\\(\\[\\(.*?\\)\\]\\|\\(\\)\\)(\\(.*?\\))\\(\\[\\(.*?\\)\\]\\)?")
Of course, the speed factor depends on the length of the lines in the
document, but it could make a significant difference for the OP.
Regards,
--
Nicolas Goaziou