Mercurial > vim
view src/proto/clientserver.pro @ 31235:7fb4e244b16e v9.0.0951
patch 9.0.0951: trying every character position for a match is inefficient
Commit: https://github.com/vim/vim/commit/01105b37a108022515d364201767f7f111ec4222
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 26 11:47:10 2022 +0000
patch 9.0.0951: trying every character position for a match is inefficient
Problem: Trying every character position for a match is inefficient.
Solution: Use the start position of the match ignoring "\zs".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 26 Nov 2022 13:00:05 +0100 |
parents | 5e41b2e63c73 |
children |
line wrap: on
line source
/* clientserver.c */ void server_to_input_buf(char_u *str); char_u *eval_client_expr_to_string(char_u *expr); int sendToLocalVim(char_u *cmd, int asExpr, char_u **result); char_u *serverConvert(char_u *client_enc, char_u *data, char_u **tofree); void exec_on_server(mparm_T *parmp); void prepare_server(mparm_T *parmp); void f_remote_expr(typval_T *argvars, typval_T *rettv); void f_remote_foreground(typval_T *argvars, typval_T *rettv); void f_remote_peek(typval_T *argvars, typval_T *rettv); void f_remote_read(typval_T *argvars, typval_T *rettv); void f_remote_send(typval_T *argvars, typval_T *rettv); void f_remote_startserver(typval_T *argvars, typval_T *rettv); void f_server2client(typval_T *argvars, typval_T *rettv); void f_serverlist(typval_T *argvars, typval_T *rettv); /* vim: set ft=c : */