[tarantool-patches] [PATCH 0/3] Optimize and simplify some tuple_update things

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat Apr 28 01:36:37 MSK 2018


Branch: http://github.com/tarantool/tarantool/tree/gh-1261-update-by-json-preliminary
Issue: https://github.com/tarantool/tarantool/issues/1261

The patchset is a preparation for tuple update by JSON. It removes big amount of
legacy and not effective code, especially from tuple_update.c, and improves
tuple update performance by elimination of function pointers from rope library.

Vladislav Shpilevoy (3):
  vinyl: remove vy_apply_upsert_ops
  tuple_update: remove alloc and alloc_ctx args
  rope: make rope library be C template using macros

 debian/copyright             |   2 +-
 src/box/memtx_space.c        |  18 +-
 src/box/space.c              |  23 +-
 src/box/tuple.c              |   6 +-
 src/box/tuple_update.c       | 123 ++++---
 src/box/tuple_update.h       |  14 +-
 src/box/vinyl.c              |  10 +-
 src/box/vy_upsert.c          |  64 +---
 src/lib/salad/CMakeLists.txt |   2 +-
 src/lib/salad/rope.c         | 664 ------------------------------------
 src/lib/salad/rope.h         | 790 ++++++++++++++++++++++++++++++++++++++-----
 test/unit/column_mask.c      |  30 +-
 test/unit/rope.c             |   1 -
 test/unit/rope_avl.c         |   1 -
 test/unit/rope_basic.c       |   1 -
 test/unit/rope_common.h      |  21 +-
 test/unit/rope_stress.c      |   5 +-
 17 files changed, 834 insertions(+), 941 deletions(-)
 delete mode 100644 src/lib/salad/rope.c

-- 
2.15.1 (Apple Git-101)





More information about the Tarantool-patches mailing list