On Wednesday, May 13, 2015 at 8:16:49 AM UTC-5, Ni Va wrote: > Hi, > > I wonder if I can optimize the source of a vimfile that contains 6800 lines > that aims to build menu entries. > > This following line per 6800. > an <silent> &MYMENU.&_FOO_.BAR1.BAR2.BAR3.mstsc.BAR4 :call > m.mstsc(['TARGETMACHINEDNSNAME'],'SOURCEMACHINEDNSNAME',"span")<CR> > > > Profiling by gvim --startuptime startup.log, the log tells that sourcing this > file take 310ms on physical machine and more than 500ms on virtual machine. > > > Do you think that I can optimize this spent time? > Thank you
I'm failing to see how a 6800-entry menu is useful to anyone. I think you're optimizing the wrong thing here. -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
