]> git.mxchange.org Git - flightgear.git/commit
Change the way the nav-cache is rebuilt.
authorJames Turner <zakalawe@mac.com>
Sun, 3 Feb 2013 22:24:40 +0000 (22:24 +0000)
committerJames Turner <zakalawe@mac.com>
Sun, 3 Feb 2013 22:24:40 +0000 (22:24 +0000)
commit1dd3b40907faa3a6379092455eb2b4d70b4db3c9
tree8701bb90665f3d3c867b6e5fb548087eae06ac6b
parent5ef475865c0089264dd780c4c7d5c756b6c0803a
Change the way the nav-cache is rebuilt.

Instead of deleting all table contents, actually remove the entire file on disk and re-create. This is fractionally more work, but removes any possibility of stale indices or missing deletes causing clutter after rebuilds. My suspicion is, this is cause the erratic performance some people have seen with the airports search dialog, so will back-port to 2.10.
src/Navaids/NavDataCache.cxx