another multibyte question - Mailing list pgsql-hackers

From Joe Conway
Subject another multibyte question
Date
Msg-id 3D5A7A57.9090600@joeconway.com
Whole thread Raw
Responses Re: another multibyte question
List pgsql-hackers
Do any of the encodings with encoding max length > 1 have a constant 
character size (e.g. unicode?). If so, how hard would it be to add 
another member to pg_wchar_tbl, say:

bool   mblen_is_const;  /* all chars = max bytes this charset */

Then those character sets code gain back much of the same speed 
advantages as single byte character sets when it comes to string processing.

Joe



pgsql-hackers by date:

Previous
From: Joe Conway
Date:
Subject: Re: Inheritance
Next
From: Greg Copeland
Date:
Subject: Re: Inheritance