| Deutsch English Français Italiano |
|
<vofbg6$35so$2@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder8.news.weretis.net!reader5.news.weretis.net!news.solani.org!.POSTED!not-for-mail From: Mild Shock <janburse@fastmail.fm> Newsgroups: comp.lang.python Subject: Re: ANN: Dogelog Player 1.2.6 (Segmented Fileaccess) Date: Tue, 11 Feb 2025 12:15:20 +0100 Message-ID: <vofbg6$35so$2@solani.org> References: <vmt1l3$bokb$2@solani.org> <vmtopp$c5ui$3@solani.org> <vo2kjh$11mi6$3@solani.org> <vo7m0a$14pkn$4@solani.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Date: Tue, 11 Feb 2025 11:15:18 -0000 (UTC) Injection-Info: solani.org; logging-data="104344"; mail-complaints-to="abuse@news.solani.org" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.20 Cancel-Lock: sha1:7Rmc41ATLgRe8AATI7OFzR9tjME= X-User-ID: eJwNyNsBADEEBMCWEI8oxwr9l3A3n2PH2TvUzdXWljqLTQTbgD6t/yDa1AdHJxsehcTtIX9o3S0TjssUNJMfgTwWnQ== In-Reply-To: <vo7m0a$14pkn$4@solani.org> Bytes: 1798 Lines: 22 Dogelog Player is a Prolog system for JavaScript, Python and Java. It is 100% written in Prolog itself. We present an enhancement to DCG translation. It uses unification spilling to reduce the number of needed unify (=)/2 calls and intermediate variables. Unification spilling can be readily implemented by performing unification (=)/2 during DCG translation. Careful spilling without breaking steadfastness gave us a 10% — 25% speed increase not only for the calculator example but also for the Albufeira transpiler. See also: DCG Translation with Unification Spilling https://x.com/dogelogch/status/1889270444647182542 DCG Translation with Unification Spilling https://www.facebook.com/groups/dogelog