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: 'Complex.star#uzip/package.xml#gz' mode: 'r');
    shutdown;
    contents

Paolo


_______________________________________________
help-smalltalk mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-smalltalk

Reply via email to