diff options
| author | Nathan James <n.james93@hotmail.co.uk> | 2020-12-22 11:30:55 +0000 |
|---|---|---|
| committer | Nathan James <n.james93@hotmail.co.uk> | 2020-12-22 11:30:56 +0000 |
| commit | 4b3633cf2cb67220763494427f6db250bbd87494 (patch) | |
| tree | fa86831f1168171b0d197fdf9ff72b6ec72a340f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 781a816d4cacbd0e73d36b12f82c87c0393b5a5b (diff) | |
[clangd] Reuse buffer for JSONTransport::sendMessage
Allocate a Buffer in the JSONTransport to be used when sending messages to the client.
This gets reused each time a message is sent, reducing in fewer malloc, which is always a bonus.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D93531
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
