From: Nordlöw <per.nordlow@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Lightweight Strings
Date: Tue, 10 Nov 2009 01:46:19 -0800 (PST) [thread overview]
Message-ID: <0b7b8b0f-e831-48c7-8011-c35b00cd27c6@p8g2000yqb.googlegroups.com> (raw)
In-Reply-To: jwvhbt4cv9s.fsf-monnier+gnu.emacs.help@gnu.org
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
prev parent reply other threads:[~2009-11-10 9:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-08 21:14 Lightweight Strings Nordlöw
2009-11-08 21:41 ` Pascal J. Bourguignon
2009-11-09 2:02 ` Stefan Monnier
2009-11-10 9:46 ` Nordlöw [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0b7b8b0f-e831-48c7-8011-c35b00cd27c6@p8g2000yqb.googlegroups.com \
--to=per.nordlow@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.