summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2020-12-22 11:30:55 +0000
committerNathan James <n.james93@hotmail.co.uk>2020-12-22 11:30:56 +0000
commit4b3633cf2cb67220763494427f6db250bbd87494 (patch)
treefa86831f1168171b0d197fdf9ff72b6ec72a340f /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent781a816d4cacbd0e73d36b12f82c87c0393b5a5b (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