Re: [vim/vim] :help iccf does not work :-( (Issue #12186)

2023-03-24 Thread Marvin Renich
* Christian Brabandt [230323 18:19]: > I downloaded the `vim-runtime` Debian bullseye [package > ](https://packages.debian.org/bullseye/all/vim-runtime/download). It > is compressed of size 6MB. uncompressed 35MB. > `/usr/share/vim/vim82/doc` alone has 8.6MB. I then removed everything > except fo

Re: map() slows down dramatically after vim running a while

2023-03-24 Thread Ernie Rael
FYI, back to where the latest profiler work started (after nsec clock) The goal: compare performance "map(in, 'v:val')" vs "map(in, Map1)". Map1 is     def Map1(_, val: number): number     return val     enddef Turns out for processing a list with 3 items, 1.049 usec vs 1.590 usec

Re: map() slows down dramatically after vim running a while

2023-03-24 Thread Bram Moolenaar
> > You might want to store the hash number with the function to avoid the > > overhead of computing it. > > This still needs to be done. To make sure I understand, > this is saving `hash_hash(name)` in ufunc_T and has_profiling has an > additional argument which is the hash. And if this argumen

Re: map() slows down dramatically after vim running a while

2023-03-24 Thread Ernie Rael
On 23/03/24 10:45 AM, Bram Moolenaar wrote: You might want to store the hash number with the function to avoid the overhead of computing it. This still needs to be done. To make sure I understand, this is saving `hash_hash(name)` in ufunc_T and has_profiling has an additional argument which is t

Patch 9.0.1426

2023-03-24 Thread Bram Moolenaar
Patch 9.0.1426 Problem:Indent wrong after "export namespace" in C++. Solution: Skip over "inline" and "export" in any order. (Virginia Senioria, closes #12134, closes #12133) Files: src/cindent.c, src/testdir/test_cindent.vim *** ../vim-9.0.1425/src/cindent.c 2023-0