diff options
author | Nicolas Hillegeer <nicolas@hillegeer.com> | 2014-04-28 21:07:03 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-29 09:29:10 -0300 |
commit | eea98c4d3b695b9ca95db7ac33231e62cdf88ceb (patch) | |
tree | c48634c80de748e8260548db05a3606dddcd2770 /src/regexp.c | |
parent | 767f0fae0b2f981b4563c5b5e2ffdd2b8ed8e27b (diff) | |
download | rneovim-eea98c4d3b695b9ca95db7ac33231e62cdf88ceb.tar.gz rneovim-eea98c4d3b695b9ca95db7ac33231e62cdf88ceb.tar.bz2 rneovim-eea98c4d3b695b9ca95db7ac33231e62cdf88ceb.zip |
garray: refactor and optimize ga_concat
I've checked all uses of ga_concat in the codebase:
- ex_cmds2.c
- ex_getln.c
- eval.c
- message.c
- regexp-nfa.c
- term.c
- spell.c
None of them concats the garray with itself. This makes it safe to use the
faster memcpy() instead of memmove(). This change was also documented.
Diffstat (limited to 'src/regexp.c')
0 files changed, 0 insertions, 0 deletions