Re: data types and inheritance



On Tue, 16 Aug 2005, Roozbeh Pournader wrote:

> This helps avoiding extra cooking time, and possibly will help save

I'm not quite following you, you get too specific. :)
Just to mention that cooking time is cheap.  Don't bother.

> memory by keeping only small binary diffs for users, so if there are two
> users both using a minimally customized fa_IR, there will be one large
> chunk of data for fa_IR and two small chunk for diffs for these two
> users.

Saving disk space maybe?  Saving memory is all about mmap.  But
yes, it's nice to have binary diffs of customization data.


> But I guess the cooker should also be able to create an expanded XML
> file (with all inheritance, alises, and default attribute values
> expanded), something that would result essentially in the same cooked
> file but without reading any extra file, in case the user wants to pass
> her whole settings around to someone else, like a web application.

Ok, just for you ;).  This is in face one logical step of the
cooker.  It's preprocessing.  Next is the compilation into a
binary format.  Xkb does along the same lines these days too.


> roozbeh

--behdad
http://behdad.org/



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