Taking a small sources file with you
Doug Way
dway at riskmetrics.com
Thu Nov 2 18:11:18 UTC 2000
Bert Freudenberg wrote:
>
> On Thu, 2 Nov 2000, Dan Ingalls wrote:
>
> > 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.
>
> It would be way cool to integrate this with the temp name saving when you
> abandon the sources. Jay said the majorShrinked sources are 2M, with a
> source/comment ratio of 4:1 that would be 500K comments ...
Yes!! This would be great for the Squeak Netscape browser plugin, too. Lessee, a compressed majorShrinked comments-only sources file would probably only be 150K or so...
I guess another trick would be to have a .changes file which only stored bytecodes, temp names and comments as well. Get rid of these huge .sources/.changes files taking space on my hard drive. :) Of course, a really good pretty printer becomes more important once you give up source code based development.
- Doug Way
dway at riskmetrics.com
More information about the Squeak-dev
mailing list
|