emacs-devel
[Top][All Lists]
Advanced

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

Re: [Gcl-devel] utf8 and emacs text/string multibyte representation


From: Stefan Monnier
Subject: Re: [Gcl-devel] utf8 and emacs text/string multibyte representation
Date: Fri, 31 Oct 2014 15:52:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

> Do these other lisps allocate a fresh character on each aref?  Do they
> maintain some ~2^21 sized table in core?  (And isn't emacs a "lisp"
> :-)).

I'd expect that dynamically typed languages that have a character type
distinct from integers all use an "unboxed" representation for those
chars (i.e. reserve some tag-bit combination for the "character" type).
IIRC, a unicode char only needs 22bit, so that leaves a lot of space
for tagbits.


        Stefan



reply via email to

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