From d5f047bee04a42f40425c34061c84b39af846e1f Mon Sep 17 00:00:00 2001 From: bfredl Date: Mon, 23 May 2022 19:53:19 +0200 Subject: refactor(api): use a unpacker based on libmpack instead of msgpack-c Currently this is more or less a straight off reimplementation, but this allow further optimizations down the line, especially for avoiding memory allocations of rpc objects. Current score for "make functionaltest; make oldtest" on a -DEXITFREE build: is 117 055 352 xfree(ptr != NULL) calls (that's NUMBERWANG!). --- runtime/doc/api.txt | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 4dbb3a9a30..60d7528602 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -638,6 +638,12 @@ nvim__stats() *nvim__stats()* Return: ~ Map of various internal stats. +nvim__unpack({str}) *nvim__unpack()* + TODO: Documentation + + Attributes: ~ + |api-fast| + nvim_call_atomic({calls}) *nvim_call_atomic()* Calls many API methods atomically. -- cgit