On Nov 4, 2007 3:33 AM, <[EMAIL PROTECTED]> wrote: > teeemcee > 2007-11-03 07:33:01 -0700 (Sat, 03 Nov 2007) > 285 > Hurray! Finally, I have found a way to write a GOSUB macro that allows the > use of assembly, to replace the slow, bloated longjmp kludge. This is only 1 > JMP slower than the real thing. > > The winning macro is approximately "ASM call TEMPLABEL : IF THEN ELSE > TEMPLABEL: GOTO <GOSUB LABEL>" > --- > U wip/compat.bi
Wait... actually it's one JMP slower on the GOSUB, and one on the RETRACE. I was hoping this would speed up the script interpreter (setjmp is very slow), but there are bigger bottlenecks, so probably not yet. _______________________________________________ Ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org