Taking a small sources file with you

John M McIntosh johnmci at smalltalkconsulting.com
Thu Nov 2 15:08:03 UTC 2000


>Because I'm spending a lot of time looking at source code on the Helio, I've
>been trying to figure out how I can keep comments in the system.   I think
>the normal SqueakV2.sources is a little big to be carting around, so I did a
>condenseSources on a majorShrink'd image, and ended up with a 2M sources
>file.  Is condenseSources considered to be Evil?  Should I not be thinking
>about this?
>
>The 2M compressed down pretty nicely.  Zip got it to like 430k.  It's a pain
>to seek around in a big compressed file, so I split it into 64k chunks and
>then compressed those; ended up around 510k.  Does anyone already have
>Squeak code to read such an indexed collection of compressed chunks?
>
>510k isn't much to pay in ramdisk on an 8M machine.
>
>Jay

Ok, I'm curious, if you remove the comments from the source, how much 
space do you get back (IE in the sources file, how much is code, how 
much is comments)

Just a thought (64k here 64k there, all of a sudden no space left)
-- 
--
===========================================================================
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===========================================================================
Custom Macintosh programming & various Smalltalk dialects
PGP Key: DSS/Diff/46FC3BE6
Fingerprint=B22F 7D67 92B7 5D52 72D7  E94A EE69 2D21 46FC 3BE6
===========================================================================





More information about the Squeak-dev mailing list