[etoys-dev] Compressing sources

Bert Freudenberg bert at freudenbergs.de
Wed Jan 13 19:24:58 EST 2010


Maybe someone can help with

http://tracker.squeakland.org/browse/SQ-647

This is what led to it:

[23:15:52] <Mitch_Bradley> bertf: ping
[23:16:08] <bertf> Mitch_Bradley: pong
[23:16:32] <Mitch_Bradley> we are looking at disk-space-saving opportunities
[23:16:41] <Mitch_Bradley> I want to ask about etoys possibilities
[23:16:53] <bertf> Mitch_Bradley: for 1.5?
[23:17:03] <Mitch_Bradley> Could /usr/share/etoys/EtoysV4.sources be compressed?
[23:17:07] <Mitch_Bradley> yes, for 1.5
[23:17:41] <bertf> I thought that had larger disk than before?
[23:17:48] <Mitch_Bradley> it does
[23:18:04] <bertf> can't be compressed easily, no
[23:18:13] <Mitch_Bradley> and that fact is being used by *everybody* as a justification for pissing it all away
[23:18:26] <bertf> understood
[23:18:46] <Mitch_Bradley> under what circumstances is .sources used, as opposed to .image
[23:19:17] <bertf> whenever you look at the source code. the image stores file offsets
[23:19:22] <Mitch_Bradley> how about decompress-on-first-use?
[23:19:33] <bertf> can't write there
[23:20:07] <bertf> there was a hack once allowing to compress it. not sure how stable that is
[23:22:04] <bertf> I'll try to find that hack
[23:23:57] <Mitch_Bradley> how about locales - could we prune /usr/share/etoys/locales ?
[23:25:08] <Mitch_Bradley> it is ironic that smalltalk is so large
[23:25:44] <Mitch_Bradley> not as ironic as "Micro"soft, though
[23:27:33] <bertf> well if you're sure that some locale is not needed, you can just delete the .mo file, yes
[23:34:03] <Mitch_Bradley> decompressing EtoysV4.sources.gz to ram takes 0.7 seconds.
[23:35:51] <bertf> not bad :)

[00:01:04] <bertf> Mitch_Bradley: I found the sources hack http://wiki.squeak.org/squeak/3510 in what time frame would we have to incorporate that?
[00:02:36] <Mitch_Bradley> bertf: I don't know what our current release train looks like, but I think that we would probably want to fold in the space-saving change whenever it is available.
[00:03:05] <bertf> Mitch_Bradley: when would it be too late?
[00:03:32] <cjb> bertf: within 7 days should be ok
[00:04:41] <bertf> cjb: okay. can't promise anything but I'll see what I can do. or get someone to do.
[00:04:49] <Mitch_Bradley> thanks!


- Bert -




More information about the etoys-dev mailing list