← Back to team overview

kicad-developers team mailing list archive

Re: Experiments and considerations for more layer

 

On 09/03/2013 12:33 PM, Brian F. G. Bidulock wrote:
Lorenzo,

On Tue, 03 Sep 2013, Lorenzo Marcantonio wrote:

On Tue, Sep 03, 2013 at 04:21:59AM -0600, Brian F. G. Bidulock wrote:
5000 module descriptions to extract the 5000 pieces of placement
data is the horror of kicad's internal representation.

There is a reason for components being copied and not instantiated.

Often you need to 'tweak' a component, slimming or fattening a pad, or
removing unusing fixture holes.

So your 5000 capacitors are not necessarily all the same!

But they are the same.

Only an fool copies something 5000 times in preparation for
the never occuring eventuality of modifying one of them:
the code to copy when modification is demanded is trivial.
But it is an apt indication of the pond-scum maturity of
the code base.

Only a fool copies something 5000 times, if he has the time to write and debug the code that avoids copying. In all other cases I'd say copying is fine, and RAMs are dirt cheap nowadays. If someone orders PCBs with 5k+ components that cost thousands of dollars, (s)he can also spend $50 for extra few GBs of memory.

BTW. Judging from Altium's ASCII file format, it also copies every component - and it's a pretty decent PCB program...

Tom


Follow ups

References