Deutsch English Français Italiano |
<vofbf9$35so$1@solani.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!news.nobody.at!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.prolog Subject: Re: ANN: Dogelog Player 1.2.6 (Segmented Fileaccess) Date: Tue, 11 Feb 2025 12:14:51 +0100 Message-ID: <vofbf9$35so$1@solani.org> References: <vmt1k9$bokb$1@solani.org> <vmtonr$c5ui$1@solani.org> <vo2ke7$11mi6$1@solani.org> <vo7lrk$14pkn$1@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:14:49 -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:YLWQeWtb0ldRRG7tRqTSWJbsRmQ= X-User-ID: eJwFwQkBwDAIA0BLZeUJcigE/xJ2Z9fFO9TN1dY2SymvomSMLCfz9jDwsepsy77EB0KnMUO9KRsOs1MJPz+ONRZr In-Reply-To: <vo7lrk$14pkn$1@solani.org> Bytes: 1805 Lines: 20 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