Taking a small sources file with you
Dan.Ingalls at disney.com
Thu Nov 2 17:03:50 UTC 2000
>On Thu, 2 Nov 2000, John M McIntosh wrote:
>> 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)
and Henrik replied...
>Sum of all method's source code size: 8044462
>Sum of all comment's length in there: 1837882
A reasonable thing to do would be to store comments only, with indices as to where to insert them into the decompiler's output. From the above stats, this would appear to give you better than a four-fold savings in source code storage space.
More information about the Squeak-dev