discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSCharacterSet bloat?


From: Derek Zhou
Subject: NSCharacterSet bloat?
Date: Mon, 23 Jan 2006 12:20:54 -0800

Hi all,
It looks like now NSCharacterSet in base (1.11.2) contains more than
600k of const static data (all the NSCharacterSet bitmaps). To put
thing in persective, it is more than 25% of the total TEXT size of the
compiled libgnustep-base.so file. I check base-1.9.1 I had from a
while ago, base used to store them in files (they still exist, just
out of date) and read them in on demand. IMO, the old behavior is much
saner. Embedding large data structure in the source code just don't
look right to me. Why do we made this change? If the concern is to
share the bitmaps among multiple app instances, we can mmap them
instead of read them anyway. 
 
Also the file NSCharacterSetData.h seems like auomatically generated
by some program and I cannot find the program in the base
tarball. Inconvienence aside, it is also against common practices of 
distributing free software. 

Derek     
  




reply via email to

[Prev in Thread] Current Thread [Next in Thread]