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 1B02F2C226 for ; Fri, 5 Apr 2019 07:33:13 -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 knktvlBiiWdY for ; Fri, 5 Apr 2019 07:33:12 -0400 (EDT) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (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 4A4762C221 for ; Fri, 5 Apr 2019 07:33:12 -0400 (EDT) Date: Fri, 5 Apr 2019 14:33:10 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: fix perf degradation on name normalization Message-ID: <20190405113310.wg6fdu54ah7cxazv@tarantool.org> References: <09c8ef39eaf35ae7fa6825236a3b32b54d13dec5.1554386791.git.kshcherbatov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <09c8ef39eaf35ae7fa6825236a3b32b54d13dec5.1554386791.git.kshcherbatov@tarantool.org> 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: v.shpilevoy@tarantool.org, Kirill Shcherbatov Hello, On 04 Apr 17:07, Kirill Shcherbatov wrote: > Because sql_normalize_name used to be called twice - to estimate > the size of the name buffer and to process data querying the > UCaseMap object each time DDL performance felt by 15%. > > This patch should eliminate some of the negative effects of using > ICU for name normalization. > > Thanks @avtikhon for a bechmark > > Follow up e7558062d3559e6bcc18f91eacb88269428321dc I've checked yout patch into master and 2.1 branch. -- Regards, Kirill Yukhin