develooper Front page | perl.perl6.language.regex | Postings from August 2000

Re: RFC 165 (v1) Allow Varibles in tr///

From:
Bart Lateur
Date:
August 29, 2000 17:52
Subject:
Re: RFC 165 (v1) Allow Varibles in tr///
Message ID:
rjmoqso4ai9216p4vpuep4ka3q984onr3a@4ax.com
On Tue, 29 Aug 2000 20:36:46 -0400, Bryan C.Warnock wrote:

>> The way tr/// works is that a 256-byte table is constructed at compile
>> time that say for each input character what output character is
>
>Speaking of which, what's going to happen when there are more than 256
>values to map?

A bigger table.

For 16-bit characters, you'd need 2 x 64k = a 128k bytes table. Well, in
principle.

-- 
	Bart.



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