From: | Gregory Maxwell <gmaxwell(at)gmail(dot)com> |
---|---|
To: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, mark(at)mark(dot)mielke(dot)cc, Simon Riggs <simon(at)2ndquadrant(dot)com>, Andrew Dunstan <andrew(at)dunslane(dot)net>, "Jim C(dot) Nasby" <jnasby(at)pervasive(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Reducing the overhead of NUMERIC data |
Date: | 2005-11-05 00:15:22 |
Message-ID: | e692861c0511041615y3d7d7e13n81a004dcbafd67c7@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
On 11/4/05, Martijn van Oosterhout <kleptog(at)svana(dot)org> wrote:
[snip]
> : ICU does not use UCS-2. UCS-2 is a subset of UTF-16. UCS-2 does not
> : support surrogates, and UTF-16 does support surrogates. This means
> : that UCS-2 only supports UTF-16's Base Multilingual Plane (BMP). The
> : notion of UCS-2 is deprecated and dead. Unicode 2.0 in 1996 changed
> : its default encoding to UTF-16.
> <snip>
This means it's fine.. ICU's use of UTF-16 will not break our support
for all of unicode. Conversion too and from UTF-16 isn't cheap,
however, if you're doing it all the time. Storing ASCII in UTF-16 is
pretty lame. Widespread use of UTF-16 tends to hide bugs in the
handling of non-bmp characters. ... I would be somewhat surprised to
see a substantial performance difference in working with UTF-16 data
over UTF-8, but then again ... they'd know and I wouldn't.
Other lame aspects of using unicode encodings other than UTF-8
internally is that it's harder to figure out what is text in GDB
output and such.. can make debugging more difficult.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2005-11-05 00:18:22 | Re: Possible problem with pg_reload_conf() and view pg_settings |
Previous Message | Tom Lane | 2005-11-05 00:12:06 | Re: Seeing context switch storm with 10/13 snapshot of |
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2005-11-05 00:33:05 | Re: AIX FAQ addition |
Previous Message | Christopher Browne | 2005-11-04 23:56:03 | Re: AIX FAQ addition |