RE: [Flightgear-devel] Properties and speed of lookup

2004-08-04 Thread Jon Berndt
> It's been a long time since I worked on the property system code, and other > people have hacked on it since I've been there, but basically, Curt's right. > Here's a quick overview: THANK YOU, David! I am just finishing up (this very minute) the loose ends on my presentation and this informati

Re: [Flightgear-devel] Properties and speed of lookup

2004-08-04 Thread David Megginson
Curtis L. Olson wrote: Hopefully David can answer the implimentation details, but I would like to point out that in many situations your code can do the "expensive" string lookup once at init time, cache the pointer to the node, and from then on, just use the cached node pointer to read/write th

Re: [Flightgear-devel] Properties and speed of lookup

2004-07-30 Thread Curtis L. Olson
Jon S Berndt wrote: Properties = text strings bound to variables or access methods. Property manager maintains a list of these. How is the lookup done when a property value is retrieved (assuming the desired property to be looked up is referenced by the text string)? I wondered if an STL map is u

[Flightgear-devel] Properties and speed of lookup

2004-07-30 Thread Jon S Berndt
Properties = text strings bound to variables or access methods. Property manager maintains a list of these. How is the lookup done when a property value is retrieved (assuming the desired property to be looked up is referenced by the text string)? I wondered if an STL map is used? Jon __