[threeten-dev] CaseInsensitive parsing

Stephen Colebourne scolebourne at joda.org
Mon Dec 24 04:21:51 PST 2012


I think a single class that can handle cases sensitive and insensitive
is probably best. Bytecode size and lack of duplication probably
trumps absolute performance.

I'm happy for you to integrate this and push if you want.

Stephen

On 24 December 2012 05:34, Xueming Shen <xueming.shen at oracle.com> wrote:
> Here is the case insensitive version of the prefix tree.
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/radixtree_ci/RadixTreeCI.java
>
> It holds performance relative good in -serve mode, about 2 x the case
> sensitive
> version (it's 6 x in -client vm)
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/radixtree_ci/RadixTree.java
>
> I do have a combined version, but it slows down the case sensitive version
> about 20%.
> I'm not sure if we really case about this 20% in parsing.
>
> -Sherman


More information about the threeten-dev mailing list