Sujet : Re: Parsing timestamps?
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 10. Jun 2025, 15:06:37
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2025Jun10.160637@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5
User-Agent : xrn 10.11
Stephen Pelc <
stephen@vfxforth.com> writes:
Once full native code compilation and optimisation is turned on, you
can get surprising results. At one stage we (MPE) de-localled a
substantial portion of the PowerNet TCP/IP stack - all in high-level
Forth. For the modified code, size decreased by 25% and performance
increased by 50%.
This demonstrates that you implemented locals less efficiently than
stack manipulation, not that locals are inevitably slow. For more
information, see
@InProceedings{ertl22-locals,
author = {M. Anton Ertl},
title = {Are Locals Inevitably Slow?},
crossref = {euroforth22},
pages = {48--49},
url = {
http://www.euroforth.org/ef22/papers/ertl-locals.pdf},
url-slides = {
http://www.euroforth.org/ef22/papers/ertl-locals-slides.pdf},
video = {
https://www.youtube.com/watch?v=tPjSKetEJn0},
OPTnote = {presentation slides},
abstract = {Code quality of locals on two code examples on
various systems}
}
@Proceedings{euroforth22,
title = {38th EuroForth Conference},
booktitle = {38th EuroForth Conference},
year = {2022},
key = {EuroForth'22},
url = {
http://www.euroforth.org/ef22/papers/proceedings.pdf}
}
- anton
-- M. Anton Ertl http://www.complang.tuwien.ac.at/anton/home.htmlcomp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html New standard: https://forth-standard.org/EuroForth 2023 proceedings: http://www.euroforth.org/ef23/papers/EuroForth 2024 proceedings:
http://www.euroforth.org/ef24/papers/