Re: memory alignment vs passing by value

Daniel Glastonbury <[email protected]> Thu, 02 Dec 2004 11:13:03 +1000
Newsgroups gmane.games.devel.windows
Organization The Creative Assembly
Message-ID <[email protected]>
Andras Balogh wrote:

>I measured the time of computing 100 million bilinear interpolation using
>dot products, and changing the dprod operation to accept a const reference
>instead of the const value makes the test run an order of magnitude slower!!
>
Did you look at the disassembly for each function?

cheers
DanG


-- 
Dan Glastonbury, Senior Programmer, The Creative Assembly
PO Box 883 Fortitude Valley, QLD, Australia. 4006
T: +617 3252 1359 W: http://www.creative-assembly.com.au
`Pour encourjay lays ortras'



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
Gamedevlists-windows mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gamedevlists-windows
Archives:
http://sourceforge.net/mailarchive/forum.php?forum_id=555