perl-unicode

Re: Encode::XS for CJK

2002-01-30 13:11:21
On Thu, Jan 31, 2002 at 04:19:23AM +0900, Dan Kogai wrote:
First, thank you all for perl(_at_)14503(_dot_)

On 2002.01.30, at 07:07, Nick Ing-Simmons wrote:
If I run the compile script on it and build Encode::EUC_JP
as an XS extension and change Encode::Tcl to ....

   I also made Encode::JP::SHIFTJIS, with Encode::EUC_JP as a template 
(Also relocated Encode::EUC_JP to Encode::JP:EUC_JP) and it also 
worked.  I have a feeling this will work for other CJK.
   Now the problem is escape-based codings such as ISO-2022.
   Another small problem is that XS-based encoding consumes a whole 
directory immediately under perl/ext/Encode.  Well, I can live with a 
few dozens more.
   And the speed of the compile script may be a problem if we want all 
CJK to be XS-based.  It roughly takes about 25 seconds to compile single 
CJK encoding on my FreeBSD box.  Well, I can live with that too but 
other porters may find it frustrating....
   I think we are making a significant progress in CJK....

Good to hear.

Patches against the bleadperl welcome.

Dan

-- 
$jhi++; # http://www.iki.fi/jhi/
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

<Prev in Thread] Current Thread [Next in Thread>