
30 May
2006
30 May
'06
2:37 p.m.
On May 30, 2006, at 2:11 AM, Ralf Stephan wrote:
Jon Cruz, That works, I'm reverting now. ralf
Cool.
I dislike union tricks in general, but then again I dislike warnings left in the code. Given all things, I think in this case the SP_OBJECT () macro gives us the better code legibility.
However, if it comes down to a hotspot that is measured to give problems, then the union work-around would be more appropriate as long as it actually made a measured difference in performance testing. Just wanted to make sure that everyone else was aware of the factors I was considering, and that sometimes using the union like that might be warranted. (but again, we should strive for code legibility first)