Re: [Kicad-developers] Optimization

2016-04-29 Thread Lorenzo Marcantonio
On Thu, Apr 28, 2016 at 08:51:58PM +0200, Simon Richter wrote: > 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. I guess that's gcc auto-intrinsic conversion at work. sincos

Re: [Kicad-developers] Optimization

2016-04-29 Thread Javier Loureiro Varela
for beginners, it is really hard to make fast sse code. You have to copy/convert data to the sse unit, and usually that is slower than the gain from vectorize code. In fact, what I always see is a big drop in perfomance when people start to use intrinsics "because they are faster". Only if you wri

[Kicad-developers] Copyright header

2016-04-29 Thread Chris Pavlina
Hi, The following appears in our copyright header: * Copyright (C) 2015 * Copyright (C) 2015 KiCad Developers, see CHANGELOG.TXT for contributors. CHANGELOG.TXT hasn't been updated since 2012. Perhaps we should modify this somehow? Would it be possible to shorten it to just "Copyright (C) YEAR

Re: [Kicad-developers] New pcbnew features and versioning

2016-04-29 Thread Wayne Stambaugh
Thanks for the update. I've been holding off on releasing 4.0.3 for this. I apologize for my absence over the last week or so. I've been really busy at work and got sick on top of that so my motivation to spend what little free time I had working on KiCad was low. Cheers, Wayne On 4/28/2016 2

Re: [Kicad-developers] PATCH: 3D resolver

2016-04-29 Thread Wayne Stambaugh
This is why ExpandEnvVarSubstitutions() in common.cpp is protected by a MUTEX for just this reason. This was done specifically for loading the footprint libraries using multiple threads so it is thread safe. On 4/28/2016 5:05 PM, Cirilo Bernardo wrote: > Hi Wayne, > > In fp_lib_table.cpp the FP

Re: [Kicad-developers] Optimization

2016-04-29 Thread Wayne Stambaugh
On 4/29/2016 4:48 AM, Lorenzo Marcantonio wrote: > On Thu, Apr 28, 2016 at 08:51:58PM +0200, Simon Richter wrote: >> 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. > > I

Re: [Kicad-developers] Copyright header

2016-04-29 Thread Wayne Stambaugh
On 4/29/2016 8:31 AM, Chris Pavlina wrote: > Hi, > > The following appears in our copyright header: > > * Copyright (C) 2015 > * Copyright (C) 2015 KiCad Developers, see CHANGELOG.TXT for contributors. > > CHANGELOG.TXT hasn't been updated since 2012. Perhaps we should modify this > somehow? Wo

Re: [Kicad-developers] Copyright header

2016-04-29 Thread Chris Pavlina
Ah yes, AUTHORS.TXT - somehow I missed that. I wonder whether we ought to have a script to generate/update AUTHORS.TXT from version control, so as to avoid missing anybody. I don't think it's allowed to use "YEAR" in copyright notices, I was just using that as a placeholder :P On Fri, Apr 29, 20

Re: [Kicad-developers] Copyright header

2016-04-29 Thread Wayne Stambaugh
On 4/29/2016 9:59 AM, Chris Pavlina wrote: > Ah yes, AUTHORS.TXT - somehow I missed that. > > I wonder whether we ought to have a script to generate/update AUTHORS.TXT from > version control, so as to avoid missing anybody. That only covers the source contributors and I prefer to only include con

Re: [Kicad-developers] Copyright header

2016-04-29 Thread Chris Pavlina
On Fri, Apr 29, 2016 at 10:16:04AM -0400, Wayne Stambaugh wrote: > On 4/29/2016 9:59 AM, Chris Pavlina wrote: > > > > I don't think it's allowed to use "YEAR" in copyright notices, I was just > > using > > that as a placeholder :P > > I would hope devs would be savvy enough to replace "YEAR" wit