Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 34FFC1A9217 for ; Thu, 7 Jan 2021 14:41:53 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 2EC6184D64; Thu, 7 Jan 2021 14:41:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 60AF984D62 for ; Thu, 7 Jan 2021 14:41:51 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id IZDYQIbBKujB for ; Thu, 7 Jan 2021 14:41:51 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id EAEA484C71 for ; Thu, 7 Jan 2021 14:41:50 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D95B8FA9D; Thu, 7 Jan 2021 14:41:50 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Thu, 7 Jan 2021 14:41:50 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: src/lib/libc/cdb To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20210107144150.D95B8FA9D@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Joerg Sonnenberger" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: joerg Date: Thu Jan 7 14:41:50 UTC 2021 Modified Files: src/lib/libc/cdb: cdbw.c Log Message: Optimize CPU and memory use of cdbw(3) Reduce memory footprint and processing time by dropping the vertex parts of the edges kept during the peeling. Hook up the division-by-multiplication logic to help older platforms. To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/lib/libc/cdb/cdbw.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.