mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
refactor(shada): rework msgpack decoding without msgpack-c
This also makes shada reading slightly faster due to avoiding some copying and allocation. Use keysets to drive decoding of msgpack maps for shada entries.
This commit is contained in:
@@ -343,8 +343,7 @@ static OptInt get_undolevel(buf_T *buf)
|
||||
static inline void zero_fmark_additional_data(fmark_T *fmarks)
|
||||
{
|
||||
for (size_t i = 0; i < NMARKS; i++) {
|
||||
tv_dict_unref(fmarks[i].additional_data);
|
||||
fmarks[i].additional_data = NULL;
|
||||
XFREE_CLEAR(fmarks[i].additional_data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user