develooper Front page | perl.perl5.porters | Postings from December 2000

Re: UTF8 flag and sv_utf8_upgrade

Thread Previous | Thread Next
From:
Simon Cozens
Date:
December 12, 2000 12:00
Subject:
Re: UTF8 flag and sv_utf8_upgrade
Message ID:
20001212195648.A24140@deep-dark-truthful-mirror.perlhacker.org
On Tue, Dec 12, 2000 at 12:30:02PM +0000, Nick Ing-Simmons wrote:
> Is there any reason NOT to turn on SvUTF8 once we have established 
> that it is valid UTF8 - even if only because it has no high bit chars?

Oh, yeah, speed. Handling UTF8 is a lot more work; look at the various code
paths for, for instance, concat or toupper. (concat'll be the killer, I
suspect)

-- 
"I will make no bargains with terrorist hardware."
-- Peter da Silva

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