|
Unions should be handled entirely by the compiler so there really shouldn't be too large of a performance hit. However, I'd recommend using macro's to manipulate bits using binary math (and, or, xor, not, etc.). After all, that's all the compiler is doing and you may be able to optomize it better than the compiler does.
Matt
|