From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iJ2NOCSGqmIToAAAbAwnHQ (envelope-from ) for ; Thu, 16 Jun 2022 03:23:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id gGidOCSGqmLjigAA9RJhRA (envelope-from ) for ; Thu, 16 Jun 2022 03:23:48 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id A0C9B37782 for ; Thu, 16 Jun 2022 03:23:48 +0200 (CEST) Received: from localhost ([::1]:57076 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1eEb-0006kY-Fn for larch@yhetil.org; Wed, 15 Jun 2022 21:23:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46348) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1eEO-0006j7-QR for gwl-devel@gnu.org; Wed, 15 Jun 2022 21:23:32 -0400 Received: from smtp.polymtl.ca ([132.207.4.11]:35100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1eEM-0001pI-Eg for gwl-devel@gnu.org; Wed, 15 Jun 2022 21:23:31 -0400 Received: from localhost (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) by smtp.polymtl.ca (8.14.7/8.14.7) with ESMTP id 25G1NGx2013846; Wed, 15 Jun 2022 21:23:21 -0400 DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.polymtl.ca 25G1NGx2013846 To: Ricardo Wurmus Cc: gwl-devel@gnu.org Subject: Re: [PATCH 1/2] gwl/workflows: Execute independent processes in parallel In-Reply-To: <87y1xxy0al.fsf@elephly.net> References: <87edzxuyis.fsf@laura> <20220614195337.30570-1-olivier.dion@polymtl.ca> <87y1xxy0al.fsf@elephly.net> Date: Wed, 15 Jun 2022 21:23:16 -0400 Message-ID: <87edzpxuyj.fsf@laura> MIME-Version: 1.0 Content-Type: text/plain X-Poly-FromMTA: (modemcable094.169-200-24.mc.videotron.ca [24.200.169.94]) at Thu, 16 Jun 2022 01:23:16 +0000 Received-SPF: pass client-ip=132.207.4.11; envelope-from=olivier.dion@polymtl.ca; helo=smtp.polymtl.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: gwl-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gwl-devel-bounces+larch=yhetil.org@gnu.org Sender: "gwl-devel" Reply-to: Olivier Dion From: Olivier Dion via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655342628; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=71UAfq7BqpjNvo0Mze/NPXI7GvvRVtSfgvBg/qJkTdI=; b=UTQs4WUTLzutve5g5HFgnoGNL2KHfZ2TpnuI+FBRyw40mhRp4yRMDKcsSKfAnoih7y+nhz va0uz97pYO0x12W4b7KIJekJzwRFhP0DtG51S2xdXmSJdVWelRs0kNq8VsAbdKwisQxCVJ pSR0Z4JwA5w0BkNg/+gWFooa2Q0d3gwRambUSFKipD587b87Fetk7ZORUdiJCUAY6tnVlZ 94muHiweDAvBPV/iuG2EVb8Ca2byKtuPLHmzvRspzSNxdpWOJCGMf3MBj0YAmDfH+3tPbk 7Oer5VwkMfW+PiY8zwpgTOsG+qZNlHnbWDavwVJSokTWAcPCTx1Z9IPrdyWkTA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655342628; a=rsa-sha256; cv=none; b=lkIXvprX9orbcYpQez1VXVdCgx4AxneUXzrGHWOrZeYKGAmWcPjLMARj1Q5nxEaHCOBjU3 DRaSaK1i8MSM+AGw2O7SoHaZyeyEujWfMY8yiXEnVEUCw5rrXr562saa7T5Oty/Uzk+Zoi IDQ9uvAQNGEeV9hk53zFLs7kXOW+Yt1ryczHHcAp11lujhmlGH2UJYGXKpBB2RwrKTV9k8 RtjwaQS3hLV2/D81c+aABqFFqRyfiZQH56DcdhCBcK548kB2gKkOMH/KGREaQAR2ULkkas TbNBN+pYmjRglzN4rSOjAxZXk4C9ZcmHjUiGCS3PJ8thIaBWxPNhGBYLxJSReQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -2.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "gwl-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="gwl-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: A0C9B37782 X-Spam-Score: -2.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: M2u7Fg1yJyZP On Thu, 16 Jun 2022, Ricardo Wurmus wrote: > Olivier Dion writes: > >> Processes in the same list can be executed in parallel with `par-map'. The >> results are then appended to the accumulator. > > Thanks for the patch. I applied it. I just realize that we can remove the `(reverse item)' in the patch. Although we can't predict the order of `par-map', the reversal of the list is unnecessary with the removal of `fold'. -- Olivier Dion oldiob.dev