From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.2 required=3.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 152EA1F54E for ; Thu, 4 Aug 2022 08:17:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=80x24.org; s=selector1; t=1659601024; bh=B95p229MWfMA0MNIzAaCAwsoVwmyHKjv7HMeCO5VEcc=; h=From:To:Subject:Date:From; b=a8FUWYze+pqC95S0ssswl992IcnOGPN0jb8rTBam1Ut6e88uBpHEiJwAvZLkkGIjW 76ZaCkGHQu9wXRVw4r4Xhkkl6PG+XHO5Jq+aGGRYXk45+oSaA69C/h8C8JgHrnd/XH cm8lNzYJ/Oid/j9tUvMXtegw3N+mrwGwvTmwqRIY= From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] various op/allocation golfing Date: Thu, 4 Aug 2022 08:16:56 +0000 Message-Id: <20220804081703.1410595-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Nothing major, but some of these reduce Perl internal pad space, which tends to add up across codebases with many cold paths. Eric Wong (7): http: coerce SERVER_PORT to integer over: get_xref3: modify rows in-place isearch: mset_to_artnums: avoid unnecessary ops lei_overview: remove pointless map {} op imap: ensure_slices_exist: drop needless map and array feed: avoid unnecessary map loop in non-over path view: avoid intermediate array when streaming thread lib/PublicInbox/Feed.pm | 13 ++++++------- lib/PublicInbox/HTTP.pm | 2 +- lib/PublicInbox/IMAP.pm | 7 ++----- lib/PublicInbox/Isearch.pm | 5 ++--- lib/PublicInbox/LeiOverview.pm | 2 +- lib/PublicInbox/Over.pm | 8 ++++---- lib/PublicInbox/View.pm | 4 ++-- 7 files changed, 18 insertions(+), 23 deletions(-)