|
From: TheFGFSEagle <the...@gm...> - 2023-06-12 19:35:17
|
Yeah, problem is you can't have dynamic members like in Python in C++ … but wouldn't just pointers to nodes be stored ? I mean, if we have a million nodes, adding one pointer into the class (unsigned int = 4 bytes ?) would add 4 MB RAM usage … I think everyone can afford that ! :D Am Mo., 12. Juni 2023 um 20:41 Uhr schrieb James Turner < ja...@fl...>: > > > On 12 Jun 2023, at 12:49, James Turner <ja...@fl...> wrote: > > I’m working on a proof of concept for ‘alias with listeners’, hit some > questions for Jules but once I hear back about those I will push it to > ‘next’ for discussion / experimentation. > > > … of course nothing is ever simple :) > > Still figuring out how to do this without increasing the size of > SGPropertyNode, which we are rather sensitive too, due to the enormous > number of nodes (millions) created by Canvas/SVG and Effects. > > There’s several solutions but some of them involve rather drastic changes > in SGPropertyNode internals, which of course I want to avoid. > > Kind regards, > James > > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > |