From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 831DC23B1C for ; Fri, 27 Apr 2018 18:36:44 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b20uOX76ZeDM for ; Fri, 27 Apr 2018 18:36:44 -0400 (EDT) Received: from smtp45.i.mail.ru (smtp45.i.mail.ru [94.100.177.105]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id EB8DC23B0E for ; Fri, 27 Apr 2018 18:36:43 -0400 (EDT) From: Vladislav Shpilevoy Subject: [tarantool-patches] [PATCH 0/3] Optimize and simplify some tuple_update things Date: Sat, 28 Apr 2018 01:36:37 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: tarantool-patches@freelists.org Cc: kostja@tarantool.org 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)