The 2021-05-06 00:45, Dominique Pellé wrote:
It e.g. takes ~7 seconds with "only" 5000 lines using:

$ yes | nl | head -5000 | vim - -c 'g/./d'

On my system it takes ~7.5 seconds with 150000 lines. But if I delete to the black hole register it works in just under a second:

$ time yes | nl | head -150000 | vim - -c ':g/./d_' -c 'q!'

Regards,
Nick

--
--
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/YJM1FYdes9E8DbS2%40toroa.

Raspunde prin e-mail lui