Re: Bug in UTF8-Validation Code? - Mailing list pgsql-hackers

From Martijn van Oosterhout
Subject Re: Bug in UTF8-Validation Code?
Date
Msg-id 20070318155208.GB5722@svana.org
Whole thread Raw
In response to Re: Bug in UTF8-Validation Code?  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-hackers
On Sun, Mar 18, 2007 at 08:25:56AM -0400, Andrew Dunstan wrote:
> It does also seem from my test results that transcoding to MB charsets
> (or at least to utf-8) is surprisingly expensive, and that this would be
> a good place to look at optimisation possibilities. The validity tests
> can also be somewhat expensive.

Hmm, I just noticed that the verify string works one character at a
time, at least that part could be dramatically optimised.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

pgsql-hackers by date:

Previous
From: Luis Gustavo Lira
Date:
Subject: New Project: PostGIS application to Missing People
Next
From: "Mike Rylander"
Date:
Subject: Re: [PATCHES] xml2 contrib patch supporting default XML namespaces