From 9d4b4746356ce01a69b93294cd5fb6239bb059c9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sat, 7 Jul 2007 13:23:02 +0000 Subject: [PATCH] Comments. --- lib/uniname/uniname.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/uniname/uniname.c b/lib/uniname/uniname.c index 371822c581..cf96c670c0 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] = ...; -- 2.30.2