Sujet : Re: ANN: Dogelog Player 1.2.6 (Segmented Fileaccess)
De : janburse (at) *nospam* fastmail.fm (Mild Shock)
Groupes : comp.lang.prologDate : 11. Feb 2025, 12:14:51
Autres entêtes
Message-ID : <vofbf9$35so$1@solani.org>
References : 1 2 3 4
User-Agent : Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0 SeaMonkey/2.53.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/1889270444647182542DCG Translation with Unification Spilling
https://www.facebook.com/groups/dogelog