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-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 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 561B91F4B4 for ; Sun, 3 Jan 2021 02:06:17 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] v2: swap in new IPC package Date: Sun, 3 Jan 2021 02:06:10 +0000 Message-Id: <20210103020617.15719-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: SearchIdxShard was too big and adding the new extindex stuff made things worse. Since I intend to use IPC in more places, I figured it'd be good to prove it with works well by dropping it into the old v2 mix. The below diffstat is nice Eric Wong (7): ipc: some documentation comments searchidxshard: use PublicInbox::IPC to kill lots of code searchidxshard: IPC conversion, part 2 searchidxshard: replace index_raw with index_eml use Eml (or MIME) objects for all indexing paths ipc: switch to one-way pipes searchidxshard: use add_xapian directly for v2 lib/PublicInbox/ExtSearchIdx.pm | 38 +++-- lib/PublicInbox/IPC.pm | 127 +++++++++------ lib/PublicInbox/Import.pm | 4 +- lib/PublicInbox/LeiStore.pm | 18 +-- lib/PublicInbox/SearchIdx.pm | 35 +--- lib/PublicInbox/SearchIdxShard.pm | 257 +++++------------------------- lib/PublicInbox/Smsg.pm | 13 ++ lib/PublicInbox/V2Writable.pm | 102 +++++------- t/import.t | 12 +- t/search.t | 2 +- 10 files changed, 206 insertions(+), 402 deletions(-)