From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Dr. Arne Babenhauserheide" Newsgroups: gmane.lisp.guile.user,gmane.lisp.guile.devel Subject: Re: Guile optimizations slowing down the program? Date: Wed, 09 Mar 2022 11:25:07 +0100 Message-ID: <87h787wgy9.fsf@web.de> References: <4f80c059-4e10-1c0b-33d4-e73c66da297c@abou-samra.fr> <5f680556a912ad3826f9f722d2e6b5bbcb7cc76f.camel@telenet.be> <87pmmvwo5k.fsf@web.de> <9F1BBE98-4FF0-4B50-8B45-7377B82DE373@abou-samra.fr> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2768"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 27.2 Cc: "guile-user@gnu.org" , guile-devel@gnu.org To: Jean Abou Samra Original-X-From: guile-user-bounces+guile-user=m.gmane-mx.org@gnu.org Wed Mar 09 11:37:05 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 1nRtgn-0000W5-A0 for guile-user@m.gmane-mx.org; Wed, 09 Mar 2022 11:37:05 +0100 Original-Received: from localhost ([::1]:37600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nRtgm-0006gK-94 for guile-user@m.gmane-mx.org; Wed, 09 Mar 2022 05:37:04 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33654) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRtgM-0006fd-4J; Wed, 09 Mar 2022 05:36:38 -0500 Original-Received: from mout.web.de ([212.227.17.11]:33303) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nRtgK-0000Di-BF; Wed, 09 Mar 2022 05:36:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1646822193; bh=N6MtDRZIcxR4GO40tzVJO3qiF8ChMtAVb5Cihkw/t5U=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=ZHSiVNMWUKrx3lP87weNsevzT0WLcZHkSwF9zLqvUL/N7fnganAsUqmwV4K3lTd9M 7pkeRKQ2I4vsJ3afsR52XVJEzLNWpamHMJm0l9DBnszMFXe5JLj1NPZayn6dpxAgxT zoiS6DVMqSOTsNsP440f8KYqx1GsMl6Ye+YtgFHs= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from fluss ([84.149.92.66]) by smtp.web.de (mrweb106 [213.165.67.124]) with ESMTPSA (Nemesis) id 1MwjJo-1oLOoM3Zl4-00yAmv; Wed, 09 Mar 2022 11:36:32 +0100 In-reply-to: <9F1BBE98-4FF0-4B50-8B45-7377B82DE373@abou-samra.fr> X-Provags-ID: V03:K1:IHskQl46KOmb4LDwfo6IevDEm0B0VlLZS5wYkDsfnlx2rWGwzPY Z4tcJGcNHO8MEGShKSNp5Rhy6r0fJpJ73h0QMP9DbYi/yTvq70za9a1tsYXWkqYiPGsiZAF 253zE+bGOJma62GmgvdnklEXw6G5s9nvztoN7676d+bsBGhi4YU0fLwVE0QQ2SzEAeEPzfA WntuA0DanwCICiBQU6lrA== X-UI-Out-Filterresults: notjunk:1;V03:K0:2FKo9D4x3Sw=:Q4ZLQLn4Hm3+kgdYg9eCmd bYQO3Nnoq9OANJxvqc2hhJuiUHQ1u6h3T+DqcmDXNc5/x8ujAW5RQ/gCpvvxOVxyfRbUkyIMc wmIkSUia2ZNKLAo+j2srfIeJMdIXtywC2XRoC2FDfL+skqQB0jOwXy6E8GdSQCKNWJlVvF67w aJWJbgQqH5sPPXhdx71ff/sHeLBpxsBcsVmsOl396aDQpeM3EA4QCwnqxVX47ZreGehUtY6aL OH3rc6os4ugB54//rgLpyRX0fSjXs4IsI+6Sr1InXHl4UQiWEetu66rmIdQ7dMArQ1sH0Q++i Ez6Qd44LTR1PSQgAr5wVWVU6u31cgfhngrueU5y2RB192eqwDuiw4tOXHOdkYoXQmxQIOo7no /KdgFln/dT9nMzGxV6WsvjR5BUm24tw+8tCkPmMABmskY89Swm+hE5nPqMlyupc8k5Kzig5wE xKb/LZdfSfJ8J5E9jb/IWUx4Tg0oT7nsgz+UwkfZCjnW6U6A6hs343z+LTjVeLIQHF3VQ4WaM ll4XrJObymipBtgC9ytnWCRUySqPPi61XxrERLhWg7kxHSAym25zAneWd5LDhb1miWD3dvrsd sDGvQQCJrb5sYZ3JKenPTxobv0rCKpOQNSoNxskjgJitAVnCWngfOD2SENzy4oa21IbgPJVqB rZw2QdEE30SdVvC5rZrRBnQNLZJXixe1osb4hx449W9MPAG7m/WZYhJNunuua2RXbTuYT79XG SV8dmUg2RAKUKdDDy7e7Y1KsNVWIoMlYwqckgtx+ggFd/UKyZ9PVoTVUvDs2T3ZPLh5P6HkG Received-SPF: pass client-ip=212.227.17.11; envelope-from=arne_bab@web.de; helo=mout.web.de 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_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=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: 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:18174 gmane.lisp.guile.devel:21162 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Jean Abou Samra writes: >>> There is also a felicitous feedback effect in that because the >>> baseline compiler is much smaller than the CPS compiler, it takes less >>> time to macro-expand =E2=80=94 https://wingolog.org/archives/2020/06/03= /a-baseline-compiler-for-guile > > As far as I understand, this is about the speed of compilation. For > the reason explained above, it doesn't factor into the speed of > LilyPond. The speed of compilation is only part of it. The blog post also shows that the optimizations gain factor 4 in speed for the compiled code, but if there are lots of macros to expand in the *.ly files, unoptimized code (which is smaller, because it is higher-level) might actually be faster. This as all highly speculative on my side, though =E2=80=A6 > Thanks for responding! In my opinion Lilypond is one of the most important Guile-Programs. Since I started running Guix as Distro, Lilypond is no longer *the* most important Guile program for me (since without Guix my system would simply not run), but Lilypond is still the one tool I really need. All the other Guile-using utilities I have are nice to have conveniences (or code I wrote myself). Lilypond is the only mission-critical tool for which I would not be able to find a replacement, because I require it to improve my songbook. There=E2=80=99s just nothing like it. Thank you very much for working on Lilypond! Best wishes, Arne =2D-=20 Unpolitisch sein hei=C3=9Ft politisch sein, ohne es zu merken. draketo.de --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJEBAEBCAAuFiEE801qEjXQSQPNItXAE++NRSQDw+sFAmIogy8QHGFybmVfYmFi QHdlYi5kZQAKCRAT741FJAPD64qDEACHl3RehiZOXWZvwMgsY2PtKNXVj+taIM+p ofLeTcnX4KVSlro7vK+iVRhiYyoBQuxA+S35LZUejz84LCmmwlQ4dyZDDuR80hBL BRyxvKwnR6zjgeT33KFDhFt2itgCxbA4AYNOBYo972RfMD+D/6NK3DrVSX/DscN4 wrZCJi+SNBp/3llcxjz7Yh8IR2ujg8k/spsumR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