From: Mikhail Z. <mh...@al...> - 2005-02-12 03:26:18
|
В Птн, 11/02/2005 в 11:07 -0800, Ram Viswanadha пишет: > The reason there is no StringPrep in ICU4JNI is that ICU4J already has > pure JAVA implementation. Isn't that considerably slower than the ICU4JNI equivalent, as stated on the site? I'm particularly interested in normalization performance. > We usually implement a JNI wrapper if a > service is not available in JAVA for a particular release. > > That said, implementing a JNI wrapper should not be hard. You need to > write wrappers around usprep_open, usprep_close and usprep_prepare. Thank you. I noticed one discrepancy: the С++ version opens a profile given a pathname while the Java version accepts an arbitrary InputStream. Should the ICU4JNI API mirror that of ICU4J, or different constructors/methods are acceptable? |