Would you consider buffered reading, or the option to have buffered reading to the lib? It can speed up the communication with neovim (probably a bottleneck for many applications... at least it is this way for my plugin for sure) greatly! Simply wrapping the reader in the communication thread in a BufReader reduced the time of the relevant benchmark of my plugin by 70%!
So would you consider that? If it proves troublesome, maybe a compile time option?
Heyho!
Would you consider buffered reading, or the option to have buffered reading to the lib? It can speed up the communication with neovim (probably a bottleneck for many applications... at least it is this way for my plugin for sure) greatly! Simply wrapping the reader in the communication thread in a
BufReader
reduced the time of the relevant benchmark of my plugin by 70%!So would you consider that? If it proves troublesome, maybe a compile time option?