Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sR6sv-00DMmx-Nb for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 09:11:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1sR6su-00EN7z-Ak for pgsql-hackers@arkaria.postgresql.org; Tue, 09 Jul 2024 09:11:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sR6su-00EN7r-0G for pgsql-hackers@lists.postgresql.org; Tue, 09 Jul 2024 09:11:40 +0000 Received: from mail-il1-x135.google.com ([2607:f8b0:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1sR6sr-001B6Z-GV for pgsql-hackers@postgresql.org; Tue, 09 Jul 2024 09:11:38 +0000 Received: by mail-il1-x135.google.com with SMTP id e9e14a558f8ab-3815aaa2ab9so17093335ab.0 for ; Tue, 09 Jul 2024 02:11:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720516297; x=1721121097; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=T+oL4W93AaeTeW172/NHDjTZlerSbLgujQt8X6+rPmo=; b=SMzD64GwM87tAM1Ynj43d1ShzX4GFuzt0IvID0tdIA+Yd3BFRF6PtTcxYjyC4WpimW INrEkXnEqqjEQlmCU4AgIyfvQzpy36f3q/Y9qlbV26Vsus5FR/Muo48qxJZj/h6tM0ec vdUv/yn1gB77tgF8XpCcVZD8h1KCKG2Ie63xjA8Sq7gwgx+emqK5F6iu0yA5wKkg7gyS SipCieCC4RnrmhZ3YQ44hTpOZ+8X+s3p1n4jR3+ZmETXTLN6fN4sOKfihATNV7IqHvcF 1NVQCbzb0MAcGy5nvTXp8QT5xFlM/B44oXNq6Q9Th73N9HkCh4C/Nn3sPZpQnmZ2wam7 8IIA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720516297; x=1721121097; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=T+oL4W93AaeTeW172/NHDjTZlerSbLgujQt8X6+rPmo=; b=SgxFSowsgmXB/PhqUpRV79SX/Ol0JYJ705/HEUNflvHekU3X2mFvNeM+FdxyQIztAw IsLNorX2DfOQA/KImoX0FV6l9wxT1kI2Kmd1kVZ8rqXBXS2zKvrZloKoZVYldyk0AXKp sbSvc/Vupv5phhNtHtCS2k1AOq6mCpMDh1TCdc+yL8WqsYocu6gbnjEjc7CtrWkt9ofJ 9x9kKlNjep2LZ6iJItnEd/oGhwvbfhHPIIZkAkMbRADywrR8Tb7DpYqvPKFmiMC1Uy9K GKmkWUe9pw9jcsOkLug0lnHnjlPV/UE09oL3+NY2L4ikTr5dvhpH9TDKkv83BdaqecO/ V3Rg== X-Forwarded-Encrypted: i=1; AJvYcCW5k4q8k35ONIiTZwcZfnnMT7DWHTl5vp/URQ1pWzXp8+X/3jvQCl4XBLlzjWZVJGwPv42HdVL74j6WtSW07MhmFgMA1eENHplT1sc5 X-Gm-Message-State: AOJu0YyWtJcjoBVm1nRcTWTW1ROxMkghx5qLOT6Llxn3rAh0shiwj0xy jXS+/LFic1vOEF9RyyCI0TPAiQCY1aDBEBDAmAJgsmMaf1+fjRBP75Yj5AsFhC0z7UqdPcftYa/ T98mMxzB+wsm/6uXagZHDOa8H4U+dEg== X-Google-Smtp-Source: AGHT+IGyjGDaSdg5rGVFyLAHVG3P6GwOdYlpxVZLWhc09QkTGAjjhBW1F/T/+bTCj0xMnn+X0s236ysMvTSKoad1axk= X-Received: by 2002:a92:c14f:0:b0:376:490a:2d94 with SMTP id e9e14a558f8ab-38a6ffca928mr10964345ab.0.1720516296575; Tue, 09 Jul 2024 02:11:36 -0700 (PDT) MIME-Version: 1.0 References: <44d2ffca-d560-4919-b85a-4d07060946aa@app.fastmail.com> <87zfr1e1uj.fsf@wibble.ilmari.org> <9ff90ff9-5ac1-4529-b2f4-f93b37734b9c@app.fastmail.com> <81348268-b9fd-4308-bf52-056070aa7c2a@app.fastmail.com> <8e909218-1965-4515-99e3-4bb5b625e004@app.fastmail.com> <0459ded5-6daf-4bf0-9ab0-e1f11ab15ec6@app.fastmail.com> <4e54bf4f-59fe-4c9a-b446-a2b64cbfd584@app.fastmail.com> <27d42b25-f328-4231-9db0-3811dc77c8cf@app.fastmail.com> <33c51978-8ee8-438c-9804-e46c0ca8f3f9@app.fastmail.com> <018dd6e8-8f21-4b3b-8d80-2d128f6d00b4@app.fastmail.com> <32510d71-8c00-4896-9c11-5ea4b3c01ffc@app.fastmail.com> <31b8386d-4bcb-4909-b7da-bbeb9a8ece55@app.fastmail.com> <42d93ebe-fbed-448f-b550-096be9e577db@app.fastmail.com> <58e5e7d2-7ad8-40b4-9b76-a5c3049346e5@app.fastmail.com> In-Reply-To: From: Dean Rasheed Date: Tue, 9 Jul 2024 10:11:24 +0100 Message-ID: Subject: Re: Optimize numeric multiplication for one and two base-NBASE digit multiplicands. To: Joel Jacobson Cc: =?UTF-8?Q?Dagfinn_Ilmari_Manns=C3=A5ker?= , pgsql-hackers Content-Type: text/plain; charset="UTF-8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Sat, 6 Jul 2024 at 12:17, Joel Jacobson wrote: > > > I think this is good to go, so unless there are any further comments, > > I plan to commit it soon. > > LGTM. > OK, I have committed this. At the last minute, I changed the name of the new function to mul_var_short() because "short" is probably a better term to use in this context (we already use it in a preceding comment). "Small" is potentially misleading, because the numbers themselves could be numerically very large. Regards, Dean