[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: |
Eli Zaretskii |
Subject: |
Re: string_char_to_byte and string_byte_to_char micro-optimisation |
Date: |
Fri, 14 Jun 2019 22:00:40 +0300 |
> From: Paul Eggert <address@hidden>
> Date: Fri, 14 Jun 2019 09:53:50 -0700
>
> On 6/14/19 5:37 AM, Robert Pluim wrote:
> > What I donʼt have is any intuition on whether such a change actually
> > makes any difference in real-world Emacs usage. Can anyone suggest any
> > benchmarks?
>
> My usual benchmark for this sort of thing is 'make compile-always' in
> the lisp directory.
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. Some
JSON processing with non-ASCII strings inside, perhaps?
- string_char_to_byte and string_byte_to_char micro-optimisation, Robert Pluim, 2019/06/14
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Paul Eggert, 2019/06/14
- Re: string_char_to_byte and string_byte_to_char micro-optimisation,
Eli Zaretskii <=
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Stefan Monnier, 2019/06/14
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Eli Zaretskii, 2019/06/15
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Stefan Monnier, 2019/06/15
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Noam Postavsky, 2019/06/15
- Re: string_char_to_byte and string_byte_to_char micro-optimisation, Stefan Monnier, 2019/06/16
Re: string_char_to_byte and string_byte_to_char micro-optimisation, Robert Pluim, 2019/06/17