Adam Monsen 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?
That sounds like a useful option. It could be implemented like a
filter, using gzip to read from stdin or write to stdout.
The largest proglem I see is to detect that an undo file is compressed,
know that the filter needs to be used. Perhaps we could read some
number of bytes from the file and match a regexp on it?
--
hundred-and-one symptoms of being an internet addict:
25. You believe nothing looks sexier than a man in boxer shorts illuminated
only by a 17" inch svga monitor.
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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