xfs
[Top] [All Lists]

Re: [PATCH 07a/13] xfsprogs: add trie generator for UTF-8.

To: Ben Myers <bpm@xxxxxxx>
Subject: Re: [PATCH 07a/13] xfsprogs: add trie generator for UTF-8.
From: Roger Willcocks <roger@xxxxxxxxxxxxxxxx>
Date: Tue, 23 Sep 2014 19:34:19 +0100
Cc: linux-fsdevel@xxxxxxxxxxxxxxx, tinguely@xxxxxxx, olaf@xxxxxxx, xfs@xxxxxxxxxxx
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20140919160612.GF4482@xxxxxxx>
References: <20140918195650.GI19952@xxxxxxx> <20140918203114.GN4482@xxxxxxx> <20140919160612.GF4482@xxxxxxx>
On Fri, 2014-09-19 at 11:06 -0500, Ben Myers wrote:
> +#define AGE_NAME       "DerivedAge.txt"
> +#define CCC_NAME       "DerivedCombiningClass.txt"
> +#define PROP_NAME      "DerivedCoreProperties.txt"
> +#define DATA_NAME      "UnicodeData.txt"
> +#define FOLD_NAME      "CaseFolding.txt"
> +#define NORM_NAME      "NormalizationCorrections.txt"
> +#define TEST_NAME      "NormalizationTest.txt"

Is there a reason why you're using multiple text-based data files (and
hand-parsing them) when there's an xml formatted flat file available ?

http://www.unicode.org/Public/UCD/latest/ucdxml/


And a 2nd question - why does the trie need to encode "the the unicode
version in which the codepoint was assigned an interpretation" ?


-- 
Roger Willcocks <roger@xxxxxxxxxxxxxxxx>

<Prev in Thread] Current Thread [Next in Thread>