← Back to team overview

kicad-developers team mailing list archive

Re: CERN work package 4 (Extend number of layers)

 

On 05.06.2014 22:39, Lorenzo Marcantonio wrote:

The problem is not the layer number in itself... there are bitmask with
one bit for layer, so it's not trivial to go over 64 (number of bits in
a uint64_t). It can be done, it's only more difficult (to do it
efficiently).


Lorenzo,

I'm not really proficient with Kicad's legacy code but my gut feeling is that impact of layer object on performance will not be as big as you're worrying. The performance-critical areas are interactive tools and rendering.

A quick grep over pcbnew sources shows that the biggest nest of layer masks is the plotting code. If the new layer object gives will contribute few extra milliseconds there, it's of no concern, at least to us.

Regards,
Tom


Follow ups

References