[vim/vim] eval: speed up blob += blob (PR #19645)

4 views
Skip to first unread message

mattn

unread,
Mar 11, 2026, 8:53:25 PM (2 days ago) Mar 11
to vim/vim, Subscribed

Related issue #19642 #19494

Speed up blob += blob by replacing the byte-by-byte ga_append() loop with a single ga_grow() + mch_memmove() bulk copy.

Operation Before After Change
blob += blob 1.3905s 1.2765s -8%

You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/19645

Commit Summary

  • b98aa90 eval: speed up blob += blob

File Changes

(1 file)

Patch Links:


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19645@github.com>

Christian Brabandt

unread,
Mar 12, 2026, 3:42:42 PM (2 days ago) Mar 12
to vim/vim, Subscribed

Closed #19645 via 67deae3.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19645/issue_event/23521030622@github.com>

Christian Brabandt

unread,
Mar 12, 2026, 3:43:00 PM (2 days ago) Mar 12
to vim/vim, Subscribed
chrisbra left a comment (vim/vim#19645)

thanks


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/19645/c4049535822@github.com>

Reply all
Reply to author
Forward
0 new messages