|
|
|
|
|
by shereadsthenews
2546 days ago
|
|
I think it's irrelevant. In fact the protobuf might be the best choice. If it was just defined as so: bytes key = 1;
bytes value = 2;
... your overhead can be as little as 4 bytes and you can alias the memory of the key and value (using a type like std::string_view) instead of copying it. It takes a few nanoseconds to decode a message like this. |
|