Hi Marc,

after doing a complete build of vim with HUGE features, running the
profiler didn't lead me to any results (log file is omitted here,
cause all times were below 0.0 seconds). Then, I took another
profiling tool (PerformanceValidator). Running my compiled vim under
the hood of the validator, gave me the following results (opening the
long source file, opening a line, typing something so that completion
kicks in and ending gvim without saving the file):
total running time: 225 seconds
foldUpdateIEMS: 17 seconds
foldUpdate: 17 seconds
foldUpdateIEMSRecurse 17 seconds
This seems a bit strange to me because there are no folds present at
all.

Next step: changing fdm from 'syntax' to 'manual'

AND THIS SOLVES THE PROBLEM! After setting the fdm to manual, no
problems are present anymore! Works like a charm. So, IMHO somebody
should do a review on fold.c to work out the differences between 7.2
and 7.3...

Thanks again for putting me towards the profiling stuff!

-- 
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

Raspunde prin e-mail lui