← Back to team overview

yade-dev team mailing list archive

Re: qt4 tree view, new attempt

 

Václav Šmilauer said:     (by the date of Mon, 12 Jul 2010 15:09:53 +0200)

> > - it's not possible to "skip" serialization of some variables to
> >   speed it up. You provide something and all of its internals are
> >   serialized.
> Too bad...

you got me here. I can't stop :/

I added a depth parameter and it works! Everything is serialized
but only to certain depth.

I will try adding a "path" parameter so that selected paths can have
bigger depth.

I will make a branch.

 
> > - yes: if you serialize whole Scene - you really have it duplicated
> >   in memory. There's no way around this. In fact O.saveTmp() could be
> >   saving into this kind of structure. And display it on the screen on
> >   demand.
> saveTmp uses binary serialization, it is MUCH MUCH faster than XML or
> anything else.

OK.

-- 
Janek Kozicki                               http://janek.kozicki.pl/  |



Follow ups

References