From: Bruno Haible Date: Sat, 7 Jul 2007 13:23:02 +0000 (+0000) Subject: Comments. X-Git-Tag: cvs-readonly~164 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=9d4b4746356ce01a69b93294cd5fb6239bb059c9;p=gnulib.git Comments. --- diff --git a/lib/uniname/uniname.c b/lib/uniname/uniname.c index 371822c58..cf96c670c 100644 --- 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] = ...;