1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-01 10:52:19 +01:00

Apply existing protobuf buffer optimization to nested message encoding (~2.3x speed up) (#9458)

This commit is contained in:
J. Nick Koston
2025-07-12 08:55:32 -10:00
committed by GitHub
parent 7747a5aa62
commit 8863188dd8
6 changed files with 476 additions and 480 deletions

View File

@@ -1451,7 +1451,6 @@ def main() -> None:
#include "esphome/core/defines.h"
#include "proto.h"
#include "api_pb2_size.h"
namespace esphome {
namespace api {
@@ -1461,7 +1460,6 @@ namespace api {
cpp = FILE_HEADER
cpp += """\
#include "api_pb2.h"
#include "api_pb2_size.h"
#include "esphome/core/log.h"
#include "esphome/core/helpers.h"