Re: encoding names - Mailing list pgsql-hackers

From Tom Lane
Subject Re: encoding names
Date
Msg-id 9446.997969410@sss.pgh.pa.us
Whole thread Raw
In response to Re: encoding names  (Tatsuo Ishii <t-ishii@sra.co.jp>)
Responses Re: encoding names
List pgsql-hackers
Tatsuo Ishii <t-ishii@sra.co.jp> writes:
> Thanks. BTW, I'm working on for dynamically loading the Unicode
> conversion functions to descrease the runtime memory requirement. The
> reason why I want to do this is:
> o they are huge (--enable-unicode-conversion will increase ~1MB in the
>   load module size)
> o nobody will use all of them at once. For example most Japanese users
>   are only interested in EUC/SJIS maps.

But is it really important?  All Unixen that I know of handle process
text segments on a page-by-page basis; pages that aren't actually being
touched won't get swapped in.  Thus, the unused maps will just sit on
disk, whether they are part of the main executable or a separate file.
I doubt there's any real performance gain to be had by making the maps
dynamically loadable.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: encoding names
Next
From: Bruce Momjian
Date:
Subject: Re: Dollar in identifiers