changeset 9054:5599181b9e10

Comments.
author Bruno Haible <bruno@clisp.org>
date Sat, 07 Jul 2007 13:23:02 +0000
parents 1d22b1ee9970
children 4abfac11855b
files lib/uniname/uniname.c
diffstat 1 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/uniname/uniname.c
+++ b/lib/uniname/uniname.c
@@ -30,7 +30,13 @@
 #define SIZEOF(a) (sizeof(a) / sizeof(a[0]))
 
 
-/* Table of Unicode character names, derived from UnicodeData.txt.  */
+/* Table of Unicode character names, derived from UnicodeData.txt.
+   This table is generated in a way to minimize the memory footprint:
+     1. its compiled size is small (less than 300 KB),
+     2. it resides entirely in the text or read-only data segment of the
+        executable or shared library: the table contains only immediate
+        integers, no pointers, and the functions don't do heap allocation.
+ */
 #include "uninames.h"
 /* It contains:
   static const char unicode_name_words[34594] = ...;