Welcome to Vifm Q&A, where you can ask questions about Vifm usage. Registration is optional, anonymous posts are moderated. GitHub or Google logins are enabled.
0 votes
in vifm by

Hello, I swapped fuse-zip for fuse-archive because it's quite a bit faster than other fuse-mounting programmes. But when I use it to mount a zip from vifm, it takes a bit longer to show the mounted files:

$ time fuse-zip archive.zip mnt && time vifm mnt
fuse-zip archive.zip mnt  0.01s user 0.02s system 68% cpu 0.049 total
vifm mnt  0.04s user 0.01s system 5% cpu 0.794 total

$ time fuse-archive archive.zip mnt && time vifm mnt
fuse-archive archive.zip mnt  0.01s user 0.01s system 82% cpu 0.014 total
vifm mnt  0.04s user 0.01s system 4% cpu 1.033 total

1 Answer

0 votes
by

Hi.

It might be that fuse-archive lazy-loads files, which would explain both faster mount and longer file loading. I think I looked at its code years ago and it lacked caching (at least looked up file by path on every access, which was really slow for large archives). Things might have changed since then. Either way, Vifm works with both mounters the same.

by

Hi xaizek,

Just a small thing to note, this is the fuse-archive I was talking about:

https://github.com/google/fuse-archive

Also thank you so much for your work on vifm!

by

Yeah, I've never seen this one before, I was probably thinking about archivemount.

If you would like to make a bug report or feature request consider using GitHub, SourceForge or e-mail. Posting such things here is acceptable, but this is not a perfect place for them.

Support Ukraine
...