Property Tree Performance: Difference between revisions

Jump to navigation Jump to search
 
Line 54: Line 54:
   |script_version = 0.40  
   |script_version = 0.40  
   }}</ref>
   }}</ref>
we've been tossing with the idea of using Tom's cppbind framework to update/modernie the props.nas/props.cxx stuff - and it would obviously also help with Canvas related stuff where lots of property tree I/O is a factor (i.e. taxiways layer) - so given that 3.0 is now out, this could be a good opportunity to re-implement props.nas on top of cppbind - indeed, it would be interest to benchmark a test case first - in theory - once implemented in native code, a cached property.setValue() call should be faster than plain setprop("foo", value).<ref>{{cite web
  |url    =  https://forum.flightgear.org/viewtopic.php?p=201375#p201375
  |title  =  <nowiki> Re: getprop() and performance </nowiki>
  |author =  <nowiki> Hooray </nowiki>
  |date  =  Feb 20th, 2014
  |added  =  Feb 20th, 2014
  |script_version = 0.40
  }}</ref>




Navigation menu