* David Luff -- Sunday 12 December 2004 18:14:
> Why not first scan
> FG_SCENERY path for installed scenery in either 10x10 (quicker) or 1x1
> (deals with the small CVS area) degree chunks, and cache this in memory.
> Then test all airports against installed scenery area on load, and save the
> result with the airport.  That should work, question is what impact on load
> time it would have.

Rough estimation:

  $ time find $FG_ROOT/WorldScenery >/dev/null

  real    5m2.778s
  user    0m1.184s
  sys     0m4.976s


  $ time find $FG_ROOT/Scenery >/dev/null
  
  real    0m0.187s
  user    0m0.002s
  sys     0m0.005s

m.  :-)

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to