Comments.
authorBruno Haible <bruno@clisp.org>
Sat, 7 Jul 2007 13:23:02 +0000 (13:23 +0000)
committerBruno Haible <bruno@clisp.org>
Sat, 7 Jul 2007 13:23:02 +0000 (13:23 +0000)
lib/uniname/uniname.c

index 371822c58187fc05da480375852a2e7025f1b231..cf96c670c01548718cdf5ff214065d70e74b8407 100644 (file)
 #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] = ...;