On Tue, 2008-11-11 at 13:34 -0400, Ian Lawrence wrote: > Hi, > > ClutterScript has *zero* to do with caching or compressing objects. what > > would you mean by "compressing" a GObject, by the way, I have absolutely > > *no* idea. > > I was talking about compressing the JSON ClutterScene data using something > like > > http://www.oberhumer.com/opensource/lzo/
and what would that achieve, other than compressing plain text that would need to be uncompressed before building the scenegraph itself? text can be embedded into a shared object itself, using the ELF .rodata section, and shared among all processes linked against that shared object. text can be loaded from compressed files and uncompressed on the fly. it does not make an epsilon of a difference, since ClutterScript is a way to *describe* a scenegraph and all the items in it - actors or animation elements. compressing the plain text that is used to describe the scenegraph (as a set of JSON data structures) to make the scenegraph paint faster is akin to compress the HTML and the CSS to make web pages render faster. > With the Webkit/Clutter work and the marketing push for 'netbooks' > this could be one area where improvements in performance and indeed > sales might be obtained. compressing plain text is not going to help. ciao, Emmanuele. -- Emmanuele Bassi, Intel Open Source Technology Center _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: https://lists.moblin.org/mailman/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
