Re: 3rd-party cross-platform UTF-8 support

From: David Starner (dstarner98@aasaa.ofe.org)
Date: Thu Sep 20 2001 - 16:06:17 EDT


On Thu, Sep 20, 2001 at 02:02:37PM -0400, Changjian_Sun@i2.com wrote:
> I'm worried about the performance overhead of this conversion.

How much is this performance overhead? Converting UTF-8 to UTF-16 is
computationally trivial; my guess is that it would be significant for
cat or grep (maybe . . . the running time Unicode regexs and
canonization of the input may dwarf the running time of the conversion),
but not for anything that will run for a significant time or do
significant processing on the input (say a wordprocessor, or a speech
synthesizer).

My guess on the overhead may be wrong, but the only way to really find
out is to actually measure it - always a good idea in optimization.

-- 
David Starner - dstarner98@aasaa.ofe.org
Pointless website: http://dvdeug.dhis.org
When the aliens come, when the deathrays hum, when the bombers bomb,
we'll still be freakin' friends. - "Freakin' Friends"



This archive was generated by hypermail 2.1.2 : Thu Sep 20 2001 - 15:22:48 EDT