Reduce API proto vtable overhead by splitting decode functionality (#9541)
This commit is contained in:
1 parent
2c478efcba
commit
15768ec00d
5 files changed
+115
-392
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user