From: Yamagata Y. <yor...@mb...> - 2003-06-26 05:05:08
|
From: "Nicolas Cannasse" <war...@fr...> Subject: Re: [Ocaml-lib-devel] second proposal of UChar, UTF8 modules Date: Wed, 25 Jun 2003 11:56:12 +0900 > if the code doesn't get bigger - since for some people > space is more an issue than time - and if the source doesn't get ugly so it > can still be maintained , modified , etc. The code gets slightly bigger (160 bytes). I am most concerned about code duplication. The code converter has several "magic" numbers and formulas in it. We had better to stuff them in one place, so that we can easily review and modify them. In my experience, (and judging from the woe stories caused by the broken converters) writing a correct code converter is not easy. To err on the safe side is the better decision than reckless optimization. -- Yamagata Yoriyuki |