On Sun, May 12, 2024 at 12:15 AM Christian Brabandt <cbli...@256bit.org> wrote:
>
> patch 9.1.0409: too many strlen() calls in the regexp engine
>
> Commit: 
> https://github.com/vim/vim/commit/82792db6315f7c7b0e299cdde1566f2932a463f8
> Author: John Marriott <basil...@internode.on.net>
> Date:   Sun May 12 00:07:17 2024 +0200
>
>     patch 9.1.0409: too many strlen() calls in the regexp engine
>
>     Problem:  too many strlen() calls in the regexp engine
>     Solution: refactor code to retrieve strlen differently, make use
>               of bsearch() for getting the character class
>               (John Marriott)
>
>     closes: #14648
>
>     Signed-off-by: John Marriott <basil...@internode.on.net>
>     Signed-off-by: Christian Brabandt <c...@256bit.org>
>
[...]

Warning in gcc 13.2.1 (openSUSE) in all builds from Huge to Tiny in
regexp.c line 645:

regexp.c: In function ‘skip_regexp_ex’:
regexp.c:645:25: warning: ‘startplen’ may be used uninitialized
[-Wmaybe-uninitialized]
  645 |                 size_t  startplen;
      |                         ^~~~~~~~~

An executable is produced.

Best regards,
Tony.

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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAJkCKXtvrXPafgQKqDYWDm10gPFetnGyGHnLX%2B0gE6PLZyFBAA%40mail.gmail.com.

Raspunde prin e-mail lui