aboutsummaryrefslogtreecommitdiff
path: root/scripts/gen_vimdoc.py
diff options
context:
space:
mode:
authorbfredl <bjorn.linse@gmail.com>2024-02-08 13:40:35 +0100
committerbfredl <bjorn.linse@gmail.com>2024-02-08 14:40:34 +0100
commitaf5beac1bd7a68ff0a4e1a944853bacd6a6c0745 (patch)
treefef0a6f2a29a8fa760f767fb2782bf32d24084b1 /scripts/gen_vimdoc.py
parent1f9da3d0835af2cfe937de250c2cde3a59e1677e (diff)
downloadrneovim-af5beac1bd7a68ff0a4e1a944853bacd6a6c0745.tar.gz
rneovim-af5beac1bd7a68ff0a4e1a944853bacd6a6c0745.tar.bz2
rneovim-af5beac1bd7a68ff0a4e1a944853bacd6a6c0745.zip
refactor(api): refactor more api functions to use arena return
Currently having two separate memory strategies for API return values is a bit unnecessary, and mostly a consequence of converting the hot spot cases which needed it first. But there is really no downside to using arena everywhere (which implies also directly using strings which are allocated earlier or even statically, without copy). There only restriction is we need to know the size of arrays in advance, but this info can often be passed on from some earlier stage if it is missing. This collects some "small" cases. The more complex stuff will get a PR each.
Diffstat (limited to 'scripts/gen_vimdoc.py')
0 files changed, 0 insertions, 0 deletions