XArchiver on-disk read-cache.

Rain Viigipuu rain.viigipuu at gmail.com
Wed Apr 12 16:38:11 CEST 2006


Maybe he ment an archive with 60 000 files in it?

Rain

On 4/12/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
>
> Stephan Arts wrote:
> > I am concidering an on-disk output-cache for xarchiver, i would like to
> > know what your ideas are about this.
> >
> > This is the reason i might implement it:
> > - currently xarchiver loads all data it can show on screen in memory.
> > For an archive containing 60k files this can make memory usage grow with
> > 60MB.
> > - archivers like rar take ages to perform any operation on them. reading
> > lines from a plain-text file is done in no-time.
> > - by only reading the lines in memory that are actually visible on
> > screen i can reduce memory usage, and to the user it looks like opening
> > the archive goes faster.
> >
> > it will make scrolling in the archive a bit slower, because we need to
> > access the cache file for it.
> > but again, reading lines from a text-file is pretty fast.
> >
> > What are your ideas about this?
>
> Maybe I am missing the point, but why do you need 60MB to display the
> contents of a 60KB file?
>
> > Stephan
>
> Benedikt
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060412/f6ce09f4/attachment.html>


More information about the Xfce4-dev mailing list