Sujet : Re: Parsing timestamps?
De : stephen (at) *nospam* vfxforth.com (Stephen Pelc)
Groupes : comp.lang.forthDate : 10. Jun 2025, 13:07:39
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <102976b$17uas$1@dont-email.me>
References : 1 2 3 4
User-Agent : Usenapp for MacOS
On 9 Jun 2025 at 23:40:28 CEST, "Hans Bezemer" <
the.beez.speaks@gmail.com>
wrote:
Third, any statement must come with proof. And in this case that means
extended benchmarking. I can tell you beforehand that I've never seen
significant differences between locals and stack. I'm sorry to say that
- but it's true.
I suspect tthat the lack difference comes from the underlying Forth system.
For threaded code systems, the threading costs a lot of performance. In
our tests, subroutine threaded code on 32 bit systems averages 2.2
times the performance of direct threaded code for 68k class CPUs.
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%.
Stephen
-- Stephen Pelc, stephen@vfxforth.comWodni & Pelc GmbHVienna, AustriaTel: +44 (0)7803 903612, +34 649 662 974http://www.vfxforth.com/downloads/VfxCommunity/ free VFX Forth downloads