← Back to team overview

kicad-developers team mailing list archive

Re: Optimization

 

Hi,

On 27.04.2016 08:42, Lorenzo Marcantonio wrote:

> First guess is that in modern CPUs pipelining, branch prediction and
> cache locality have a bigger effect than raw computation.

FWIW, the fully optimized code even has the compiler replacing the
separate sin() and cos() invocations by a single call to sincos(),
almost cutting computation time in half by computing both at the same
time using vector instructions.

   Simon


Attachment: signature.asc
Description: OpenPGP digital signature


Follow ups

References