[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [PATCH] Store source code in .star files uncompressed

From: Paolo Bonzini
Subject: [Help-smalltalk] [PATCH] Store source code in .star files uncompressed
Date: Mon, 23 Jul 2007 16:13:56 +0200
User-agent: Thunderbird (Macintosh/20070716)

As suggested by Stephen Compall a while ago, we now do not compress .st and .xml files anymore in a .star file. Then, we can just open a "view" of the underlying .zip file if it was stored and not compressed. This is faster by a good percentage (140ms vs. 80ms, counting 40ms for startup on my machine...).

Thanks to the "virtual files" feature it is then possible to feed these views into other VFSHandlers, like this:

(FileStream popen: 'zcat' dir: 'r+')
    nextPutAll: (FileStream
                    open: '' mode: 'r');


reply via email to

[Prev in Thread] Current Thread [Next in Thread]