diff options
author | Raphael <glephunter@gmail.com> | 2024-02-03 15:29:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-03 15:29:05 +0800 |
commit | 51702e0aea99fddba74e299e2640dd350a348df3 (patch) | |
tree | 6ae4b0d9b21813a6bde6fb53ead43468ed92da77 /runtime/lua/vim/treesitter/language.lua | |
parent | 6709f7f8f130377f44c36b2150a167a2afcbdff9 (diff) | |
download | rneovim-51702e0aea99fddba74e299e2640dd350a348df3.tar.gz rneovim-51702e0aea99fddba74e299e2640dd350a348df3.tar.bz2 rneovim-51702e0aea99fddba74e299e2640dd350a348df3.zip |
refactor(strcase_save): optimize memory allocation (#27319)
Problem: Double xmalloc usage led to excess memory allocations.
Solution: Switch to xrealloc to adjust memory as needed, minimizing allocations.
Diffstat (limited to 'runtime/lua/vim/treesitter/language.lua')
0 files changed, 0 insertions, 0 deletions