Avoid copies in Facade

This commit is contained in:
2024-05-23 17:27:55 -07:00
parent 2764a049a8
commit b5dbf4a049
3 changed files with 48 additions and 15 deletions

View File

@@ -107,6 +107,8 @@ struct __attribute__((__visibility__("default"))) VersionedMap {
Iterator &operator=(Iterator &&) noexcept;
struct VersionedMutation {
/** param1 is guaranteed to have an addressable null byte at
* param1[param1Len] */
const uint8_t *param1;
const uint8_t *param2;
int param1Len;