aboutsummaryrefslogtreecommitdiff
path: root/src/regexp.c
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-04-28 21:07:03 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-29 09:29:10 -0300
commiteea98c4d3b695b9ca95db7ac33231e62cdf88ceb (patch)
treec48634c80de748e8260548db05a3606dddcd2770 /src/regexp.c
parent767f0fae0b2f981b4563c5b5e2ffdd2b8ed8e27b (diff)
downloadrneovim-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