Reduce API proto vtable overhead by splitting decode functionality (#9541)

This commit is contained in:
J. Nick Koston authored and GitHub committed 2025-07-16 20:46:04 +12:00
1 parent 2c478efcba
commit 15768ec00d
5 files changed
+115 -392

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ namespace api {
static const char *const TAG = "api.proto";
void ProtoMessage::decode(const uint8_t *buffer, size_t length) {
void ProtoDecodableMessage::decode(const uint8_t *buffer, size_t length) {
uint32_t i = 0;
bool error = false;
while (i < length) {