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 2719F25203 for ; Wed, 10 Jul 2019 15:02:25 -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 uqXYT-A-tvPl for ; Wed, 10 Jul 2019 15:02:25 -0400 (EDT) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (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 CF529250C8 for ; Wed, 10 Jul 2019 15:02:24 -0400 (EDT) Date: Wed, 10 Jul 2019 22:02:22 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v2 02/12] sql: get rid of LIKELY, UNLIKELY and LIKEHOOD Message-ID: <20190710190222.GD5619@atlas> References: <3f721bb190812977a76a740da4a178436f24df99.1562756438.git.kshcherbatov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3f721bb190812977a76a740da4a178436f24df99.1562756438.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: Kirill Shcherbatov Cc: tarantool-patches@freelists.org, korablev@tarantool.org * Kirill Shcherbatov [19/07/10 14:02]: > Got rid of LIKELY, UNLIKELY and LIKEHOOD builtins because they > are not a part of the Standard and make source code more > complicated. Ugh, I don't mind removing them, but for a non-reason? There exist for a reason, especially in absence of statistics, they allow the optimizer to guess the amount of rows a WHERE clause returns. Why did you get angry at them? -- Konstantin Osipov, Moscow, Russia