From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Damien Mattei Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: map-par slower than map Date: Wed, 12 Oct 2022 19:19:54 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31912"; mail-complaints-to="usenet@ciao.gmane.io" To: guile-user , guile-devel Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Oct 12 19:20:51 2022 Return-path: Envelope-to: guile-user@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oifPW-0008CO-Hc for guile-user@m.gmane-mx.org; Wed, 12 Oct 2022 19:20:50 +0200 Original-Received: from localhost ([::1]:53320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oifPV-0000qj-Fl for guile-user@m.gmane-mx.org; Wed, 12 Oct 2022 13:20:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42762) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oifOu-0000ne-AW; Wed, 12 Oct 2022 13:20:12 -0400 Original-Received: from mail-ej1-x62b.google.com ([2a00:1450:4864:20::62b]:35633) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oifOr-0000Xc-FB; Wed, 12 Oct 2022 13:20:12 -0400 Original-Received: by mail-ej1-x62b.google.com with SMTP id k2so39456546ejr.2; Wed, 12 Oct 2022 10:20:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=iCDh+gwFYhOzZlit7GpaYFicSSKR9gyUX80mFZaD2b8=; b=YW2h3xdNH+uEvMeKwaFDqzJXUUCFOr7EfjsA736oEdXLNm0yIqJLUQyffGDel1R1tu 5rtCMnmO6yJNfkFRDRvrAO46g/GYyZIrYcM5lduAIk3yLbd+oQr4qqhkPix++tbbNUXP H08JhXBnOuNEmy39psk1zMz5ZI2lrPQhW4C2LXmSXGnTRA/jMhz+xU1xAEGjmUR7VxHZ tE6cnX4UDzIYBTLXoqg7rwU2tSUeN/Sxb2Z07Y2ri5ADR6huiDWrKEzy+osCMrJSbAs/ +9TFPzEKYudYiJtE25pTc4v2o9W+VCZ+evrQGYMX3igQVH9VYS766HIL5u+njDR3W5CC Wqyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=iCDh+gwFYhOzZlit7GpaYFicSSKR9gyUX80mFZaD2b8=; b=B/JAKZjz9SCWTn5ihnRb5hIxeUC6hQ5Q7q/dI/salqyKFH/X/VIwPbpxn/lW1Hmaqz umHL1d+0amOUe4ugy03j5rba0akv8WMADVsUqSwCznxOLATZ8z+d601TR9bkIP3IBuGn 5n1peJ++plT8k/ZPW2rcVt84z8mMxnlJZWqPGy9ltisuCnp49a/TUthsK07Dta6W3EjP rgsNulGW/xIBLHMI7tOeFuSKgEuTUztyZDQ272/m8aQTQo9Cith9ZKPj2VVvVpoojr7m faYThGoBRlbYN6B4brcMJ9qt8rQI0mCI4DycxHrWusONhW62+tDdp5K/oQ4xzDAC/mg9 IagA== X-Gm-Message-State: ACrzQf11DUvq2ZRzsPiZ8dceSWQzYqjQU5EdTetosOwNOUAN8dHQYDAi 6Np+3GsgWMzs05hQsve32oSPUXfejaFzVIMQDyDhSktH22l2qg== X-Google-Smtp-Source: AMsMyM5e9P8PLNAM2ptP8QTq4KNdCuAcczLph+LAxeAL2bdbDmU3IkqFRABieXs3ru1YCWFYBqiXJDPV1A7ADM9oc0c= X-Received: by 2002:a17:906:ef8c:b0:78d:96b9:a0ad with SMTP id ze12-20020a170906ef8c00b0078d96b9a0admr18002732ejb.529.1665595205668; Wed, 12 Oct 2022 10:20:05 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::62b; envelope-from=damien.mattei@gmail.com; helo=mail-ej1-x62b.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, HTML_MESSAGE=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-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Original-Sender: "guile-user" Xref: news.gmane.io gmane.lisp.guile.user:18622 gmane.lisp.guile.devel:21401 Archived-At: Hello, all is in the title, i test on a approximately 30000 element list , i got 9s with map and 3min 30s with par-map on exactly the same piece of code!? what i change in code is in comments: {unified-minterms-set-1 <+ (map function-unify-minterms-list minterms-set)} ;;(par-map function-unify-minterms-list minterms-set)} translated from Scheme+ to Scheme: (define unified-minterms-set-1 (map function-unify-minterms-list minterms-set)) ;;(par-map function-unify-minterms-list minterms-set)) best regards, Damien