diff options
author | Scott Prager <splinterofchaos@gmail.com> | 2015-04-01 19:15:36 -0400 |
---|---|---|
committer | Scott Prager <splinterofchaos@gmail.com> | 2015-04-14 15:20:50 -0400 |
commit | 4a66c48d8b6e7f74b64f06d176a10d8b6d38491b (patch) | |
tree | cf7d467bf1b736ca02cdca4290744e7ba6e8c9bb /runtime/tools/ccfilter.c | |
parent | 71487a935e658e2c193188d871a1c3a7a570dbc0 (diff) | |
download | rneovim-4a66c48d8b6e7f74b64f06d176a10d8b6d38491b.tar.gz rneovim-4a66c48d8b6e7f74b64f06d176a10d8b6d38491b.tar.bz2 rneovim-4a66c48d8b6e7f74b64f06d176a10d8b6d38491b.zip |
msgpack_rpc/server.c: Use a garray over a kmap.
Testing of server_start() and server_stop() found that after adding a
server at address addr, pmap_has(addr) would always return true, but
pmap_get(addr) would always return NULL.
Since a client is only expected to have a small number of servers, an
array may be more efficient than a hash map, anyway.
Discussion:
https://github.com/neovim/neovim/pull/1302#issuecomment-88487148
Diffstat (limited to 'runtime/tools/ccfilter.c')
0 files changed, 0 insertions, 0 deletions