emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Unicode Lisp reader escapes


From: Stefan Monnier
Subject: Re: [PATCH] Unicode Lisp reader escapes
Date: Thu, 04 May 2006 08:18:02 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> That's 7 lisp vars accessed from C - for decoding one character!?!

> How often does this happen?

> If it is only/primarily used for interactive use, I guess it doesn't matter.
> Otherwise, I think those vars should be declared in C, to avoid the overhead
> of interning them at run-time...

I'd vote to keep the code in elisp.  After all, it's there, it works, and as
mentioned: there's no evidence that the decoding time of \u escapes it ever
going to need to be fast.  And it'll become fast in Emacs-unicode anyway, so
it doesn't seem to be worth the trouble.


        Stefan




reply via email to

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