sql: introduce vdbe_field_ref class
Refactored OP_Column instruction with a new vdbe_field_ref class. The vdbe_field_ref is a reusable object that speeds-up field access for given tuple or tuple data. Introduced OP_Fetch opcode that uses vdbe_field_ref given as a first argument. This opcode makes possible to perform binding of a new tuple to an existent VDBE without decoding it's fields. Needed for #3691
Showing
- src/box/sql.c 37 additions, 19 deletionssrc/box/sql.c
- src/box/sql.h 55 additions, 0 deletionssrc/box/sql.h
- src/box/sql/tarantoolInt.h 0 additions, 12 deletionssrc/box/sql/tarantoolInt.h
- src/box/sql/vdbe.c 165 additions, 119 deletionssrc/box/sql/vdbe.c
- src/box/sql/vdbeInt.h 4 additions, 7 deletionssrc/box/sql/vdbeInt.h
Loading
Please register or sign in to comment