Re: New external dependency: iso-codes ?



On Tue, 2005-03-08 at 23:45 +0100, Christian Persch wrote:

> > Would it be feasible to write an preprocessor that munges the XML at
> > compile-time into some mmap()able binary file?  That way we'll avoid a
> > lot of memory bloat.
> 
> Sure, that should be feasible. Although, to avoid memory bloat,
> shouldn't that file be in iso-codes and therefore shared with between
> all apps, instead of per-app?

Yes, of course.  Something like

iso-codes/src/Makefile:

  install: data.xml
          munge data.xml > bigblob.dat
          $(install) bigblob.dat /usr/share/whatever


  Federico



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