← Back to team overview

kicad-developers team mailing list archive

Re: Trigonometric look up table.

 

And unit testing, right? What percentage coverage does the Kicad code
base have currently?

On Mon, Sep 19, 2011 at 10:31 PM, jean-pierre charras
<jp.charras@xxxxxxxxxx> wrote:
> Well,
> I used trigonometric look up tables to speed up calculations when I started
> Kicad.
> Some features (like file formats) come from to constraints due to low speed
> of computers or networks.
> Obviously, these constraints are now very different.
> Today, we can consider a more understandable and maintainable code it the
> first constraint.
> Mainly because:
> - Kicad code is growing more and more.
> - Computers and networks and more and more faster.
> - Our brain does not grow (unfortunately).
>
> The main reason there is a mixed use of sin(), cos() and lockup table in
> code is the complexity of Kicad code.
> There is a lot of duplicated code due to this reason.
> So, code simplification is the most important criteria when changing the
> Kicad code.
>
> --
> Jean-Pierre CHARRAS
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>


References