Monday, September 8, 2008

Re: [HACKERS] Fast REVERSE() function?

Mario Weilguni wrote:
>> (Aside: presumably we could walk thru the string destructively,
>> in-place, swapping bytes; I think that would be theoretically
>> quickest...)
>>
>
> Hmmm... I guess it will not work für UTF-8 or any other multibyte charset
>
>

Yes, quite.

Perl's reverse might work with UTF8 - I've never tried.

cheers

andrew

--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

No comments: