From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: 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.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 173861FEAA for ; Tue, 21 Jun 2016 03:12:03 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/7] www: avoid recursion for thread walking Date: Tue, 21 Jun 2016 03:11:54 +0000 Message-Id: <20160621031201.28089-1-e@80x24.org> List-Id: Deep message threads can cause problems for perl since stack seems to be much more expensive than arrays. Switch to a non-recursive thread walking design and commonalize some common idioms, too. Eric Wong (7): view: remove upfx parameter from thread skeleton dump view: remove dst parameter from thread skeleton dump view: remove recursion from thread skeleton dump view: remove recursion from expanded thread view searchview: remove recursion from thread view view: avoid recursion in topic index view: common thread walking interface lib/PublicInbox/SearchView.pm | 9 ++------ lib/PublicInbox/View.pm | 53 +++++++++++++++++++++---------------------- 2 files changed, 28 insertions(+), 34 deletions(-)