From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IDtwGy54QWANHQAA0tVLHw (envelope-from ) for ; Fri, 05 Mar 2021 00:15:42 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id WFQoFy54QWBRCwAAB5/wlQ (envelope-from ) for ; Fri, 05 Mar 2021 00:15:42 +0000 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 80A6A1ED80 for ; Fri, 5 Mar 2021 01:15:41 +0100 (CET) Received: from localhost ([::1]:33768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHy84-0002yq-4f for larch@yhetil.org; Thu, 04 Mar 2021 19:15:40 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:49554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHy7t-0002ye-Va for guix-devel@gnu.org; Thu, 04 Mar 2021 19:15:29 -0500 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]:38059) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHy7s-0002hy-9p for guix-devel@gnu.org; Thu, 04 Mar 2021 19:15:29 -0500 Received: by mail-wm1-x32b.google.com with SMTP id h7so167136wmf.3 for ; Thu, 04 Mar 2021 16:15:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:in-reply-to:references:date:message-id:mime-version; bh=sKLYF2sTOZpNyGIwMgSVV1RupFEuCW7qGx/DKlycQJs=; b=W0WiwqO+ZLnBso/l1cg34K1aIp92Ut4IhiJLcb9zc2NE6JruSjGjkPum0U6/dhg6WH T6ztvQG2luUwgf259gXnBy0ekwQruS2ULTYjH7rPPiY1mu0W4isuZtXkF4qVpR/ZsrBz M+I69jL9/T5O0qaQ0Dfofs4WTpLqobIkf9FnIiNZUoEjQX51IKph4VAJCe2oi0qg0y1O 61Sp1/Jt2U5OceE4+k0kQy687II3kWjrifzWSaueAO+Fa+FoRuAGcI2IY0cxgdj44gDP /S/jFu5eOLgxb0Wfyy+3T1gDVJXyg1Eq+AGkyv5PsAWtApW2LVOE5M94z1Xn0QaiSn4B Db/w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:in-reply-to:references:date :message-id:mime-version; bh=sKLYF2sTOZpNyGIwMgSVV1RupFEuCW7qGx/DKlycQJs=; b=q7f7bJm79S1pRwv3TqwdFHIfw/D1SFkUK/uvtyHO2nt7VBkOBb4H/g0u0BVHIJD+bW r38zc+3g75EpG9vCEiJq3ZszFhpgfWeJL37Nyx5RKSdt//dRN58pwdfIf5bonIuLCrbu PaaHJrjzGUiqLeLbP2FT3Oq5l/oQDcAYHeTgE+VczuftGFSusVrOuJJbtZHTzI7b2l9d nBGY66niY4wZM1jyBPF8tQmjE14AR0+7+EQwPJHU2vwUS//TxpsjQ6UJ88ENKOdhBjqj udVYmtvRuxTuvMyJljmmi6JDdBkoGiIFAdbUbqMYrQK3pVcnpAhbuX75N/mahDEpst4x TRxQ== X-Gm-Message-State: AOAM530ucVyIsfZCOk3bEhsHoSTdCh1Ios7h5QTkPUeA02+O7cNziQ4R ZLWjSWBqchWdLWHXtebArHxNFcPJfJs= X-Google-Smtp-Source: ABdhPJzDzZyo7B7S/j6FCdqSEG0ClXFg9kMiKp9H5Qm0JOlxUFoC7ANdo5Nb93i8Z8KjewhtcFIhUw== X-Received: by 2002:a1c:e084:: with SMTP id x126mr6184561wmg.37.1614903326856; Thu, 04 Mar 2021 16:15:26 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c3sm1430014wrr.29.2021.03.04.16.15.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 04 Mar 2021 16:15:26 -0800 (PST) From: zimoun To: Magali Lemes , =?utf-8?Q?G=C3=A1bor?= Boskovits , guix-devel@gnu.org Subject: Re: [Outreachy] Use of impure functional programming and use of vlists In-Reply-To: References: Date: Fri, 05 Mar 2021 01:06:48 +0100 Message-ID: <86zgzi79bb.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=zimon.toutoune@gmail.com; helo=mail-wm1-x32b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1614903342; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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:dkim-signature; bh=sKLYF2sTOZpNyGIwMgSVV1RupFEuCW7qGx/DKlycQJs=; b=TC9rP6tvZklRJyL7W7uIuqQ3+JwsKmhgHEuv++3pUtOLuAmzbUttgd1P163UfmyyDvoJv1 OUbRS+SjrMwgJpDge82fXXf2nD5fgNRSj+EgukY6fmnVZJkL02IekvZ+m7bq9M6hp4/VWB xjtUY1niW2etZgYzx3rDGC+S++WH7wIapTtlqjqp+BNGQzI0Zesxa10Uijeoft6h1GYtY1 wDKPbvmZnEMO0xDayMnBCJo9HEozJVDkm+KbwuHhdKTC/V/I6ZUXedUUAM1SuK1G/cxcxs f6tVaKuEqO7iPygOJ5e22ja5mO6UrhEphn6TCJeERyAl/+z+eokukdUwf4n9IA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1614903342; a=rsa-sha256; cv=none; b=enD8jjTa5/b+bMV+KYRUIMnaow8Tu43WwxHJnzkm7/WEDozsQx5D/WrcbxYgtBrFbkTBqe 7MQuM+6KFInaK46tJpKJwJfn1r0FRhOG2cansfuUUoiqbYDqTgbP5Z+NOwhUdBoKRBrdx0 RSz/8W2ayy/dTl813vsnOkbU4k5uZ6g//kSpFQAgg9IGHPyLKJ+Mq0TfMb6OWvIKrgMuBy mSke6kFfr6eZqeVBZrpRtHwRD5TiMqojm3TD/klUyoOrHqJM/sQTPiwMKSXsxvXg+qwWIr zoRX+8kUxV+UyeKRPUrYs2zh2kG3al4859rJCZqZj5TKIjDQ5BMd979dC5f8hw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W0WiwqO+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -3.06 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=W0WiwqO+; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 80A6A1ED80 X-Spam-Score: -3.06 X-Migadu-Scanner: scn1.migadu.com X-TUID: O6tP7WzKDURV Hi Magali, On Sat, 27 Feb 2021 at 00:10, Magali Lemes wrote: > As my Outreachy internship approaches an end, I'd like to know which of > the following options is better for walking and displaying the Git > commit history: > 1) having a list and then using for-each it to display the commit > information; > 2) display the list while building it. What could be informative is to benchmark the two cases. For an example, see my previous tests on your code: Profiling the 2 functions should be also helpful. Feel free to ask on guix-devel how to profile with Guile. Cheers, simon