emacs-devel
[Top][All Lists]
Advanced

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

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


From: Andreas Schwab
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 18:41:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

David Kastrup <address@hidden> writes:

> Lars Magne Ingebrigtsen <address@hidden> writes:
>
>> Lars Magne Ingebrigtsen <address@hidden> writes:
>>
>>> (looking-at (unibyte-string #x68 #xc3 #xa9 #x6c #x6c #x6f) t)héllo
>>> => t
>>>
>>> *scratches head*  Well, I guess I can see that...
>>
>> I've looked at what Fequal does.  It first compares the number of
>> characters in the strings, and then the number of bytes, and then it
>> does a memcmp().
>
> It also checks that the multibyteness is the same IIRC.

If both the number of chars and bytes agree then they must be of the
same multibyteness.

Andreas.

-- 
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



reply via email to

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