Adam Monsen <haircut@gmail.com> wrote:
> I use undofiles heavily. I often copy a file along with its
> undofile when creating a new similar file. I notice (a)
> the undofiles can get quite large and (b) they compress
> very efficiently. I tested compressing a few ".test.txt.un~"
> files with gzip and saw 90% compression.
>
> Anyone interested in compressed undofiles?
Indeed, I just checked and I have 200 MiB of files in
my 'undodir' directory with ~4700 files there. So it's big.
Compression and decompression may slow down Vim
So lz4 lib [1] may be the way to go as it's very fast.
zstd lib [2] has a good compromise between speed
and compression ratio. Both libs are now widely used
and available, but not as much as zlib.
[1] https://github.com/lz4/lz4
[2] https://github.com/facebook/zstd
Dominique
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Sunday, June 3, 2018
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment