Liste des Groupes | Revenir à cl forth |
On 12/09/2024 8:19 pm, Anton Ertl wrote:The only thing that can be deduced from this is that back in 1999Register allocation is one of the most effective optimizations in>
compilers. That's also true of Forth.
>Costs multiply in the face of many small functions.>
Register allocation is also effective for small functions.
Moore talked about registers. It's worth repeating for those who may be
new
to forth.
>
"But such registers raises the question of local variables. There is a
lot of
discussion about local variables. That is another aspect of your
application
where you can save 100% of the code. I remain adamant that local
variables
are not only useless, they are harmful. If you are writing code that
needs
them you are writing, non-optimal code" - Chuck Moore 1999
Les messages affichés proviennent d'usenet.