Re: Profile Cursor move (very slow)

2022-12-09 Fir de Conversatie Enan Ajmain
On Fri, 9 Dec 2022 12:12:07 -0800 (PST) N i c o l a s I I T h e B l o o d y wrote: > Thank you Enan, I saw thé profile help but don't happen to find particular > sample for Cursor move. That's because there is none. Profiling, as defined in ':h profiling' only measures the runtime of either a sc

Patch 9.0.1042

2022-12-09 Fir de Conversatie Bram Moolenaar
Patch 9.0.1042 Problem:ASAN gives false alarm about array access. Solution: Use an intermediate pointer. Files: src/vim9class.c *** ../vim-9.0.1041/src/vim9class.c 2022-12-09 21:41:43.908327271 + --- src/vim9class.c 2022-12-09 22:39:30.166805632 + *** ***

Patch 9.0.1041

2022-12-09 Fir de Conversatie Bram Moolenaar
Patch 9.0.1041 Problem:Cannot define a method in a class. Solution: Implement defining an object method. Make calling an object method work. Files: src/errors.h, src/eval.c, src/structs.h, src/userfunc.c, src/proto/userfunc.pro, src/vim.h, src/vim9.h, src/vim9c

Re: Profile Cursor move (very slow)

2022-12-09 Fir de Conversatie N i c o l a s I I T h e B l o o d y
Thank you Enan, I saw thé profile help but don't happen to find particular sample for Cursor move. 😊 N i c o l a s Le vendredi 9 décembre 2022 à 20:32:09 UTC+1, 3nan@gmail.com a écrit : > On Fri, 9 Dec 2022 08:36:18 -0800 (PST) > N i c o l a s I I T h e B l o o d y wrote: > > Hi, > > > >

Re: Profile Cursor move (very slow)

2022-12-09 Fir de Conversatie Enan Ajmain
On Fri, 9 Dec 2022 08:36:18 -0800 (PST) N i c o l a s I I T h e B l o o d y wrote: > Hi, > > Vertical moving cursor with arrow keys on such a file > like https://github.com/preservim/tagbar/blob/master/autoload/tagbar.vim is > very very slow. > > How can I measure it with profiling feature ?

Profile Cursor move (very slow)

2022-12-09 Fir de Conversatie N i c o l a s I I T h e B l o o d y
Hi, Vertical moving cursor with arrow keys on such a file like https://github.com/preservim/tagbar/blob/master/autoload/tagbar.vim is very very slow. How can I measure it with profiling feature ? Thank you N i c o l a s -- -- You received this message from the "vim_dev" maillist. Do not top

Patch 9.0.1040

2022-12-09 Fir de Conversatie Bram Moolenaar
Patch 9.0.1040 (after 9.0.1039) Problem:Test for mapping with CmdlineChanged fails. Solution: Put back the check for the cmdline length not changing. Files: src/ex_getln.c *** ../vim-9.0.1039/src/ex_getln.c 2022-12-09 12:21:46.473444271 + --- src/ex_getln.c 2022-12-09

Patch 9.0.1039

2022-12-09 Fir de Conversatie Bram Moolenaar
Patch 9.0.1039 Problem:Using a mapping CmdlineChanged may be triggered twice. Solution: Count the number of times CmdlineChanged is triggered and avoid doing it twice. (closes #116820 Files: src/autocmd.c, src/globals.h, src/ex_getln.c, src/testdir/test_autocmd

Patch 9.0.1038

2022-12-09 Fir de Conversatie Bram Moolenaar
Patch 9.0.1038 Problem:Function name does not match what it is used for. Solution: Include the modifier in the name. (closes #11679) Files: src/ex_getln.c *** ../vim-9.0.1037/src/ex_getln.c 2022-12-01 12:03:42.263227523 + --- src/ex_getln.c 2022-12-09 11:35:25.124645324