emacs-devel
[Top][All Lists]
Advanced

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

Re: size of emacs executable after unicode merge


From: Chong Yidong
Subject: Re: size of emacs executable after unicode merge
Date: Mon, 10 Nov 2008 10:18:20 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Kenichi Handa <address@hidden> writes:

> map-charset-chars calls FUNCTION (modify-category-entry in
> the above case) on all characters in CHARSET.  But, to know
> which characters belongs to CHARET (chinese-gb2312 in the
> above case), we must consult with
> "etc/charsets/GB2312.map".  The contents is something like
> this:
>
> 0x2121-0x2123 0x3000
> 0x2124 0x30FB
> 0x2125 0x02C9
> [...]
>
> From this file, we know that #x3000, #x3001, #x3002, #x30FB,
> #x02C9, ... belong to chinese-gb2312.
>
> We must find a way to make map-charset-chars work without
> loading that map into a char-table.
>
> One idea is to have a single boolean vector of size #x110000
> (139264 bytes), setup it for CHARSET everytime when we call
> map-charset-chars for the different charset.  In that
> vector, only the bit for #x3000, #x3001, #x3002, etc are 1
> for chinese-gb2312.  Then map-charset-chars can know for
> which characters FUNCTION must be called.

Good idea.  But, is this sufficient?  Do you know whether
map-charset-chars the only thing during loadup that loads these
char-tables?




reply via email to

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