[ODE] SIGSEGV in dSolveLCP() at ode/src/lcp.cpp:1137

Michael Lacher michael.lacher at hlw.co.at
Fri Feb 13 19:31:19 MST 2004


Jon Watte wrote:
> Branches are evil. Think of each branch as costing you 40 arithmetic ops.
> 

Yes and No.

1. compared to the amount of work LCP does 40 ops at the beginning 
doesn't even begin to matter

2. depending on the way it is programmed the branching might be placed 
somewhere where there is already a branch or switch statement ...

3. modern optimization with branch prediciton etc, ... can minimize this 
a lot

mucki



More information about the ODE mailing list