Hi Peter,

On Donnerstag, 29. November 2007, Peter TB Brett wrote:
> On Wednesday 28 November 2007 23:29:42 Peter TB Brett wrote:
> > On Wednesday 07 November 2007 17:11:38 Werner Hoch wrote:
> > > > > 2. Copying of my generated symbols is slow in gschem. If I
> > > > > place 100 symbols and create a copy, it currently takes quite
> > > > > long (about 20s).
> > > >
> > > > Hmm... is it any slower for the file-based symbols compared to
> > > > the command-based ones?
> > >
> > > Yes. I don't notice any delay when copying file-based symbols.
> > >
> > > > If so, that's bad and shouldn't be happening -- the symbol
> > > > data's supposed to be cached.
> > >
> > > gschem calls my script over and over again.
> >
> > Try the attached patchset.  This will cache symbols until the cache
> > is next invalidated (e.g. by explicit flushing, adding component
> > sources, or clicking the "Refresh" button).
>
> Hmm, something ate the 3rd patch.  Here's another attempt.
>
> > Performance seems to be better, although I haven't done any
> > benchmarking.

Thanks for the patches. The performance is great as there's not a single 
redundant call of my scripts.

Great work.

Regards
Werner



_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to