Re: Removing xrdb for 10% startup win?

Dnia 29-08-2005, pon o godzinie 13:31 +0100, Alan Cox napisał(a):
> > $ ls -l /usr/libexec/gcc/i386-redhat-linux/4.0.1/cc1
> > -rwxr-xr-x  1 root root 4576236 Aug 26 22:34 /usr/libexec/gcc/i386-redhat-linux/4.0.1/cc1
> > 
> > Taking a 1-2 seconds to read a binary of that size isn't great, and 
> > likely object-file reordering could improve things quite a bit, but it
> > should be more believable than for a 90k executable.
> decus cpp is good enough in my experience to process these files, about
> 40K and public domain. Its ANSI-ish but not strict and perfect in all
> respects. The ACK pre-processor is also now free and might be useful but
> does rather more than would be wanted.

I think that writing simple lightweight library (or implement function
in glib - Ridlay ;) which does C-like preprocessing will be better
solution. The library could be used in some other places (projects).

Grzegorz Dabrowski
Pingwinek GNU/Linux

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