emacs-devel
[Top][All Lists]
Advanced

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

Re: About string header


From: Xue Fuqiao
Subject: Re: About string header
Date: Thu, 28 Feb 2013 22:02:27 +0800

On Thu, 28 Feb 2013 08:47:54 -0500
Stefan Monnier <address@hidden> wrote:

> > What does the "string header" mean here?

> Every string is made of 2 parts:
> The first part is a "Lisp_String" struct of fixed size which holds:
> - the size of the string (in bytes and in chars).
> - a pointer to the string's text-properties (stored in an "intervals tree").
> - a pointer to the second part.
> The second part are the actual bytes of the string, which are stored
> elsewhere (and can be relocated so as to compact the memory).
> The "string header" is the first part.

Thanks for your explanation.  Can this be in the elisp manual?

>         Stefan

-- 
Best regards, Xue Fuqiao.
http://www.emacswiki.org/emacs/XueFuqiao



reply via email to

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