
27 Mar
2009
27 Mar
'09
3:55 p.m.
On Fri, Mar 27, 2009 at 11:50 AM, Phil Endecott <spam_from_boost_dev@chezphil.org> wrote:
Kornel Kisielewicz wrote:
Also, in the case of 4d vectors, you'd have 5 values, which doesn't scale well ( 4*32 bits = 128bits which is nice -- an addition would ruin this niceness ).
Multiplication by 4 faster than multiplication by 5? Maybe, but probably premature optimisation :-)
I think he meant that an array of four 4d vectors would fit nicely in the 128 bit registers of a say, a Playstation, whereas an array of four 4d vectors with an additional size member would not. --Michael Fawcett