At 05:28 PM 10/27/2003 -0800, Jeff Clites wrote:
On Oct 26, 2003, at 10:39 AM, Melvin Smith wrote:

I think a compromise would be to do define a interpreter global PMCNull
and point (or init) all Px registers to it.
...
The downside is fast initialization of register blocks. memsetting with NULL (0)
will not be possible, but I'd have to actually go check and see if that
is really all that common.

If we determine that it makes a difference, we can store away a register block filled with our PMCNull, and memcpy (or memmove) from that to initialize a block. Should be nearly as fast.

If the obvious were a truck, I'd be dead. Thanks for pointing that out. :)


Luckily we init registers with a for loop so there won't be any change.
Either way it won't affect the opcode loop (or will barely).

-Melvin




Reply via email to