develooper Front page | perl.perl5.porters | Postings from November 2005

Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)

Thread Previous | Thread Next
From:
SADAHIRO Tomoyuki
Date:
November 27, 2005 00:00
Subject:
Re: XS-assisted SWASHGET (esp. for t/uni/class.t speedup)
Message ID:
20051127170016.A786.BQW10602@nifty.com

> >Parhaps SWASHGET may be able to recast as a C-level function
> >rather than XS. For example,
> 
> I'd like to see that implemented. Cutting out one layer of subroutine 
> indirection can't hurt :)

Now a patch for the removal of subroutine SWASHGET is implemented.

The patch gzipped (against perl patch 26206) is attached to this mail
as swashget2.patch.gz

This patch will
(1) remove lib/utf8_heavy.pl#utf8::SWASHGET,
(2) move universal.c#XS_utf8_SWASHGET_heavy into utf8.c#S_swash_get,
(3) patch up S_swash_get and Perl_swash_fetch,
(4) remove codes for DEBUG information from S_swash_get,
(5) add a line for S_swash_get to embed.fnc,
(6) correct a line for S_utf8_common in embed.fnc ('s' vs 'p'), 
(7) and modify some comments about SWASHGET in utf(8|ebcdic).h.

Regards,
SADAHIRO Tomoyuki

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About