Re: Radix tree for character conversion
Daniel Gustafsson <daniel@yesql.se>
From: Daniel Gustafsson <daniel@yesql.se>
To: Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp>
Cc: Heikki Linnakangas <hlinnaka@iki.fi>,
robertmhaas@gmail.com,
tsunakawa.takay@jp.fujitsu.com,
tgl@sss.pgh.pa.us,
ishii@sraoss.co.jp,
pgsql-hackers@postgresql.org
Date: 2016-11-08T13:06:29Z
Lists: pgsql-hackers
> On 08 Nov 2016, at 12:21, Kyotaro HORIGUCHI <horiguchi.kyotaro@lab.ntt.co.jp> wrote: > > Hello, this is the revising patch applies on top of the previous > patch. > > ... > > Finally the attached patch contains most of (virtually all of) > Daniel's suggestion and some modification by pgperltidy. Reading over this it looks good to me. I did spot one thing I had missed before though, the error message below should be referencing the scalar variable ‘direction' unless I’m missing something: - die "unacceptable direction : %direction" + die "unacceptable direction : $direction" if ($direction ne "to_unicode" && $direction ne "from_unicode"); With this, I would consider this ready for committer. >> Addition to this, I'll remove existing authority files and modify >> radix generator so that it can read plain map files in the next >> patch. > > So, I think the attached are in rather modern shape. +1, nice work! cheers ./daniel
Commits
-
Use radix tree for character encoding conversions.
- aeed17d00037 10.0 landed
-
Small fixes to the Perl scripts to create unicode conversion tables.
- bc1686f3f653 10.0 landed
-
Rewrite the perl scripts to produce our Unicode conversion tables.
- 1de9cc0dcca6 10.0 landed
-
Remove leading zeros, for consistency with other map files.
- 6c303223be34 10.0 landed
-
Remove code points < 0x80 from character conversion tables.
- 2c09c93ce1b8 10.0 landed