[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] caching result of charinfo::get_flags
From: |
Daiki Ueno |
Subject: |
Re: [Groff] caching result of charinfo::get_flags |
Date: |
Tue, 21 Dec 2010 13:06:53 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) |
Werner LEMBERG <address@hidden> writes:
> BTW, profiling shows indeed that calling `get_flags' uses far too much
> time.
Maybe the look-up algorithm of `get_flags' (without caching) could also
be optimized. IIUC currently it does not sort/merge the ranges and
check all of them linearly.
BTW, Emacs' char-table seems to use radix-based nested tables for that
purpose - not sure if it is too much here.
Regards,
--
Daiki Ueno
- [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/18
- Re: [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/20
- Re: [Groff] caching result of charinfo::get_flags,
Daiki Ueno <=
- Re: [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/21
- Re: [Groff] caching result of charinfo::get_flags, Daiki Ueno, 2010/12/21
- Re: [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/21
- Re: [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/21
- Re: [Groff] caching result of charinfo::get_flags, Werner LEMBERG, 2010/12/21