diff options
author | bfredl <bjorn.linse@gmail.com> | 2022-06-23 19:19:20 +0200 |
---|---|---|
committer | bfredl <bjorn.linse@gmail.com> | 2022-06-24 13:53:42 +0200 |
commit | a8ecc1ae6d82d80f63ed75ac5c882520843905ae (patch) | |
tree | 801e2e9ec63a4bab04c10a34309d98f960922c65 /scripts/gen_vimdoc.py | |
parent | 614fd3a883cd9357d922ec8d4e01738b9ca07ac0 (diff) | |
download | rneovim-a8ecc1ae6d82d80f63ed75ac5c882520843905ae.tar.gz rneovim-a8ecc1ae6d82d80f63ed75ac5c882520843905ae.tar.bz2 rneovim-a8ecc1ae6d82d80f63ed75ac5c882520843905ae.zip |
perf(map): avoid extraneous heap allocations when setting mappings
- don't immediately vim_strsave and then xfree a heap buffer.
- allow replace_termcodes to take in a buffer instead of allocating it
- grug! memory allocation bad!
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions