Christian:

On Mon, Dec 21, 2015 at 11:29 AM, Christian Schudt
<christian.sch...@gmx.de> wrote:
> I’ve been working on an open source Java implementation for the Precis 
> framework since a few weeks and I'd finally like to share it with you:

Awesome; looks good!

I'm curious, what made you decide to calculate the derived properties
on prepare instead of precomputing them? Have you done any
benchmarking of this? I'd love to see the performance difference
between this way and pre-computing a big trie or something of derived
properties. I'm working on a Go implementation at the moment for the
standard library (feedback welcome on the code review:
https://go-review.googlesource.com/#/c/17933/, or on Bitbucket:
https://bitbucket.org/mellium/golang-x-text/src/HEAD/unicode/precis/)
and I did it this way, but maybe it's not worth the larger memory
requirements.

If you did want to pre-compute the properties, the code generator I
wrote for my Go implementation could probably be adapted to output
Java instead of Go fairly easily and might save you some time.

Best,
Sam


-- 
Sam Whited
pub 4096R/54083AE104EA7AD3
https://blog.samwhited.com

_______________________________________________
precis mailing list
precis@ietf.org
https://www.ietf.org/mailman/listinfo/precis

Reply via email to