emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Compiled regexp?


From: Bastien
Subject: Re: Compiled regexp?
Date: Thu, 31 Jan 2013 15:11:44 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Christopher Schmidt <address@hidden> writes:

> We discussed how cached compiled regexps are looked up, i.e. per object
> or per content.  If the former were true, (re-search-forward (concat "^"
> my-partial-pattern) ...) would result in the regular expression being
> compiled each and every time because concat returns a new lisp object.
> That's slow.

Yes, that's what I tried to say, thanks for clarifying it.

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]