Sujet : Re: OOS approach revisited
De : dxforth (at) *nospam* gmail.com (dxf)
Groupes : comp.lang.forthDate : 27. Jun 2025, 08:29:30
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <0087b3b084f8af01cf9fb29bf50c389a104e1ffa@i2pn2.org>
References : 1 2 3 4
User-Agent : Mozilla Thunderbird
On 27/06/2025 12:16 pm, minforth wrote:
...
IIRC DO..LOOPs had been a hack for computers in the 60s.
A rather ugly hack, born out of necessity, slow and
often cumbersome to use. That it still persists in Forth
half a century later speaks for Forth's progressiveness.
Testing FOR NEXT on my DTC system showed 15% speed increase over
DO LOOP. Putting 5 NOOPs (executes forth's address interpreter)
in the innermost loop brought it down to 6%. Not worth it IMO.