XArchiver on-disk read-cache.

Stephan Arts psybsd at gmail.com
Wed Apr 12 16:43:05 CEST 2006


On 4/12/06, Rain Viigipuu <rain.viigipuu at gmail.com> wrote:
>
> 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
> >
>
>
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce4-dev
>
> exactly... 60k files inside the archive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060412/b3d39168/attachment.html>


More information about the Xfce4-dev mailing list