At 12:44 PM 10/2/2004 +0200, Thies C. Arntzen wrote:
>before: 34.430
>after: 20.126
>
>do i need to say more?
>
>(if it really works, which i haven't tested yet)
Made another fix (we had to take care of global variables being messed with
by extensions).
>PS: i really think that the vm should be generated by a script! looking at
>what makes most of the patch i really think that we're making hacking the
>engine more complex than needed.
I am not sure. There are advantages and disadvantages to both.
pre-processor vs. script
Advantage: Only maintain source and not script (which might be icky), no
pre-build scripts (which might be a PITA on platforms like Windows), no
script portability issues
Disadvantages: More magic in the source code itself, might be slightly
harder to debug.
Frankly, I am not sure what's better. I think it might be a good idea to
see what can be done with a script and then compare. Will look into it.
Andi