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: Lars Magne Ingebrigtsen
Subject: Re: Compiling Elisp to a native code with a GCC plugin
Date: Fri, 17 Sep 2010 19:24:48 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

> It also checks that the multibyteness is the same IIRC.

It's possible, but I can't find that in the code.  I think this is the
relevant bit in internal_equal():

    case Lisp_String:
      if (SCHARS (o1) != SCHARS (o2))
        return 0;
      if (SBYTES (o1) != SBYTES (o2))
        return 0;
      if (memcmp (SDATA (o1), SDATA (o2), SBYTES (o1)))
        return 0;
      if (props && !compare_string_intervals (o1, o2))
        return 0;
      return 1;


-- 
(domestic pets only, the antidote for overdose, milk.)
  address@hidden * Lars Magne Ingebrigtsen




reply via email to

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