box: introduce tuple_builder class
It encapsulates the logic that helps to build a new MsgPack array by concatenating tuple fields from various locations. The idea is to postpone memory allocation and copying until the finalization. Needed for #8157 NO_DOC=internal NO_CHANGELOG=internal
Showing
- src/box/CMakeLists.txt 1 addition, 0 deletionssrc/box/CMakeLists.txt
- src/box/tuple_builder.c 109 additions, 0 deletionssrc/box/tuple_builder.c
- src/box/tuple_builder.h 77 additions, 0 deletionssrc/box/tuple_builder.h
- test/unit/CMakeLists.txt 5 additions, 0 deletionstest/unit/CMakeLists.txt
- test/unit/tuple_builder.c 172 additions, 0 deletionstest/unit/tuple_builder.c
Loading
Please register or sign in to comment