<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">> Is there some kind of
initialization which delays the 1st route calculation, <br>
> which we can call asynchronously with the graph read, so that
the route calculations can perform equally fast?<br>
<br>
When you try RAM_STORE on Android this probably won't happen. So
yes, the default memory mapped config is more efficient when data
is loaded (partially) from disk into memory. A trick could be to
call mappedBuffer.load for all segments in the MMapDataAccess
object, but a random query through the area is probably more
efficient and simpler.<br>
<br>
Regards,<br>
Peter.<br>
<br>
</div>
<blockquote cite="mid:536232F8.3090904@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi Peter,<br>
<br>
At Android after the application start, the 1st GH route
calculation is notably slower than the next ones, which perform
faster.<br>
This is serious for the first time user experience (I have
received reports about this).<br>
<br>
Is there some kind of initialization which delays the 1st route
calculation, which we can call asynchronously with the graph read,
so that the route calculations can perform equally fast?<br>
<br>
<div class="moz-signature">-- <br>
<font color="#000000">Emux</font><br>
<a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Cruiser">Cruiser</a>
- <a moz-do-not-send="true"
href="http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29">Atlas</a></div>
</blockquote>
<br>
</body>
</html>