help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Lightweight Strings


From: Nordlöw
Subject: Re: Lightweight Strings
Date: Tue, 10 Nov 2009 01:46:19 -0800 (PST)
User-agent: G2/1.0

On 9 Nov, 03:02, Stefan Monnier <monn...@iro.umontreal.ca> wrote:
> > How lightweight are strings in Emacs, if they don't contain any
> > properties?
>
> If you look at emacs/src/lisp.h and search for Lisp_String, you'll see
> that strings are represented as a 4-word object:
> - size in chars
> - size in bytes
> - pointer to text-properties interval tree
> - pointer to the beginning of the string's content
>
>         Stefan

Thanks,
Per


reply via email to

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