Re: Hostnames, IDNs, Punycode and Unicode Case Folding - Mailing list pgsql-general

From Tom Lane
Subject Re: Hostnames, IDNs, Punycode and Unicode Case Folding
Date
Msg-id 28788.1419898142@sss.pgh.pa.us
Whole thread Raw
In response to Re: Hostnames, IDNs, Punycode and Unicode Case Folding  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-general
David G Johnston <david.g.johnston@gmail.com> writes:
> It was also mentioned that using the Perl encoding function was
> non-performant; which is why caching the data into a memoization table has
> value.

I find it hard to believe that the standards folk would have chosen a
hostname encoding method that was so inefficient that memoization using
a database table would outperform just recomputing the encoding.  What
I suspect the above really means is "man, this Perl code sucks".

            regards, tom lane


pgsql-general by date:

Previous
From: David G Johnston
Date:
Subject: Re: Hostnames, IDNs, Punycode and Unicode Case Folding
Next
From: Adrian Klaver
Date:
Subject: Re: Rollback on include error in psql