On Wednesday, August 6, 2014 at 12:17:19 PM UTC-4, Bram Moolenaar wrote:
> Patch 7.4.396
> Problem:    When 'clipboard' is "unnamed", :g/pat/d is very slow. (Praful)
> Solution:   Only set the clipboard after the last delete. (Christian Brabandt)
> Files:            src/ex_cmds.c, src/ex_cmds2.c, src/ex_docmd.c, 
> src/globals.h,
>           src/ops.c, src/proto/ui.pro, src/ui.c
> 


This patch seems to have regressed in 8.0. ( VIM - Vi IMproved 8.0 (2016 Sep 
12, compiled Mar 20 2017 15:55:48) Included patches: 1-494).

In a 200000 line file, :v/mystring/d takes about 8 minutes if clipboard is 
unnamed. Otherwise, it takes less than a second.

Daniel

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui