From: Yamagata Y. <yor...@mb...> - 2003-06-24 13:15:13
|
From: John Max Skaller <sk...@oz...> Subject: Re: [Ocaml-lib-devel] second proposal of UChar, UTF8 modules Date: Tue, 24 Jun 2003 03:30:06 +1000 > Well, if I go i18n, I want the decoder function > as fast as possible (the encoder is less critical). The part we talked about is the encoder, not the decoder. (the decoder is look function.) I do some benchmarks. While the test repeating "buf.add_uchar 'a' buf" and "buf.clear buf" shows 25% speed up, the more realistic test that repeatedly puts 1K uchars into a buffer shows only 3% speed up. Not a big deal, really. -- Yamagata Yoriyuki |