[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Outreachy] Use of impure functional programming and use of vlists
From: |
zimoun |
Subject: |
Re: [Outreachy] Use of impure functional programming and use of vlists |
Date: |
Fri, 05 Mar 2021 01:06:48 +0100 |
Hi Magali,
On Sat, 27 Feb 2021 at 00:10, Magali Lemes <magalilemes00@gmail.com> 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:
<https://yhetil.org/guix/86eei4hamb.fsf@gmail.com>
Profiling the 2 functions should be also helpful. Feel free to ask on
guix-devel how to profile with Guile.
Cheers,
simon