--- Begin Message ---
Subject: |
bidi data structure inefficiencies |
Date: |
Sun, 06 Jun 2010 23:21:32 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Some bidi data structures are bigger that they need to be, this
probably results in additional cache misses.
Examples:
struct bidi_saved_info could use bitfields for the bidi_type_t members
Same for bidi_stack
bidi_it could use bitfields for a lot of it's members.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#6365: bidi data structure inefficiencies |
Date: |
Thu, 06 Oct 2011 17:22:40 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Eli Zaretskii wrote:
>> https://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00164.html
>>
>> AFAIU, the conclusion was that there are no evident optimizations, and
>> that only profiling the current code against an alternative can tell
>> which one is better.
>>
>> FWIW, I don't plan working o this any time soon.
>
> Oh, and I did convert 2 members of `struct bidi_it' from `int's to
> 1-bit fields.
OK; doesn't seem worth keeping this open as a bug then.
--- End Message ---