enhance macro to profile C family code

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

enhance macro to profile C family code

Ni Va

Seeing the attached macro @a which aims to add begin/end profile trace in C family block code, you can see that :

1/ multiply and executing 100@a works fine
2/ executing by command :1,$ normal @a echoes so many lines that it make macro effect slow

How can I optimize this ?
Thanks in advance

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 [hidden email].
For more options, visit https://groups.google.com/d/optout.

MACRO_PROFILE_C_FAMILY_CODE.gif (62K) Download Attachment