Aley Keprt wrote:
> I can't imagine the situation, where unions are inefficient.
> Go and try it and you will see.
> The Z80 emulator I use in my programs use unions and it looks very
> efficient.

I've done it already and it didn't actually seem to make much difference to
the performance from my tests.  I've changed it to handle HL, IX and IY the
same way now too, instead of as separate special cases in each instruction
that used them, and that didn't make a whole lot of difference either from
what I can see (it does neaten it up a lot tho).

Si

Reply via email to