Refactoring: prepare for addition of tuple formats.
Extract the remaining places which access tuple->data directly into tuple_to_port.cc file, which will have full access to all tuple formats and all destinations to which a tuple may need to be converted. In this file it'll be possible to perform a conversion efficiently, at the same time, it will be the only place of cross-dependency between all tuple formats and all conversion destinations.
Showing
- src/CMakeLists.txt 1 addition, 0 deletionssrc/CMakeLists.txt
- src/box/CMakeLists.txt 16 additions, 3 deletionssrc/box/CMakeLists.txt
- src/box/box.cc 1 addition, 1 deletionsrc/box/box.cc
- src/box/box_lua.cc 6 additions, 6 deletionssrc/box/box_lua.cc
- src/box/port.cc 7 additions, 7 deletionssrc/box/port.cc
- src/box/port.h 2 additions, 2 deletionssrc/box/port.h
- src/box/tuple.h 10 additions, 0 deletionssrc/box/tuple.h
- src/box/tuple_convert.cc 47 additions, 0 deletionssrc/box/tuple_convert.cc
- src/iproto.cc 4 additions, 129 deletionssrc/iproto.cc
- src/iproto_port.cc 69 additions, 0 deletionssrc/iproto_port.cc
- src/iproto_port.h 107 additions, 0 deletionssrc/iproto_port.h
- src/memcached.cc 2 additions, 2 deletionssrc/memcached.cc
Loading
Please register or sign in to comment