emacs-devel
[Top][All Lists]
Advanced

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

Re: string_char_to_byte and string_byte_to_char micro-optimisation


From: Stefan Monnier
Subject: Re: string_char_to_byte and string_byte_to_char micro-optimisation
Date: Fri, 14 Jun 2019 16:11:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I don't think that will do for this case.  Strings are used rather
> rarely in Emacs.  We need to find a command that uses strings
> extensively, and uses non-ASCII text in strings in particular.

... and uses `aref` on it extensively.
Most strings are used via regexp-search in which case the conversion
between charpos and bytepos is generally lost in the noise.


        Stefan




reply via email to

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