[Top][All Lists]

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

Re: Compiling Elisp to a native code with a GCC plugin

From: Leo
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Wed, 15 Sep 2010 17:23:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (Mac OS X 10.6.4)

On 2010-09-15 17:05 +0100, David Kastrup wrote:
> Leo <address@hidden> writes:
>> On 2010-09-15 16:51 +0100, Lars Magne Ingebrigtsen wrote:
>>> looking-at probably compiles the regexp, so there might be unnecessary
>>> overhead there.  (The regexp compilation and caching and stuff.)
>>> Is there any function like
>>> (is-the-string-following-point-equal-to-this-string-p "foo ")
>>> in Emacs that I've overlooked somehow?
>> Can you build one using compare-strings?
> More likely compare-buffer-substrings.  It would be nicer if
> compare-strings just accepted a buffer as either of its string
> arguments.  Sure, one can use buffer-substring-no-properties with
> compare-strings or (with-temp-buffer (insert ... with
> compare-buffer-substrings, but that feels clumsy in comparison.

These two functions look similar, any idea why not extend
compare-strings as David suggested?


reply via email to

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