<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
this is for two reasons:<br>
first, it allows you to use the MMap for server side<br>
second, it allows us to use multi-threaded algorithms at some
point in the future<br>
<br>
Regards,<br>
Peter<br>
<br>
On 01.07.2015 02:31, John Zhao wrote:<br>
</div>
<blockquote
cite="mid:CA+EBg9RdRCWWXi0J_xT1HFSvDPy+Yx776choLfuyQXS___Bkow@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Peter,
<div><br>
</div>
<div>This question is for you. :)</div>
<div><br>
</div>
<div><span style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe
UI Web Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">I
guess MMapDataAccess is mainly designed for running
Graphhopper on Android device, which you can't load all the
data into the limited memory.</span></div>
<div><font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px"><br>
</span></font></div>
<div><span style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe
UI Web Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">In
the comment of MMapDataAccess:</span><br
style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe UI Web
Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">
<span style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe UI
Web Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">This
is a data structure which uses the operating system to
synchronize between disc and memory.</span><br
style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe UI Web
Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">
<span style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe UI
Web Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">Use
SynchDAWrapper if you intent to use this from multiple
threads!</span></div>
<div><font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px"><br>
</span></font></div>
<div><span style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe
UI Web Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">why
GH need a thread-safe one, somebody want to do the extract
on Android device?</span><br
style="color:rgb(0,0,0);font-family:'Segoe UI','Segoe UI Web
Regular','Segoe UI Symbol','Helvetica
Neue',Helvetica,Arial,sans-serif;font-size:13px;line-height:18.8500003814697px">
<font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px">just
curious.</span></font></div>
<div><font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px"><br>
</span></font></div>
<div><font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px">Thanks
in advance.</span></font></div>
<div><font color="#000000" face="Segoe UI, Segoe UI Web Regular,
Segoe UI Symbol, Helvetica Neue, Helvetica, Arial,
sans-serif"><span style="line-height:18.8500003814697px"><br
clear="all">
</span></font>
<div>
<div class="gmail_signature"><b>Best Regards,</b>
<div><b>ZhiQiang ZHAO</b></div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
GraphHopper mailing list
<a class="moz-txt-link-abbreviated" href="mailto:GraphHopper@openstreetmap.org">GraphHopper@openstreetmap.org</a>
<a class="moz-txt-link-freetext" href="https://lists.openstreetmap.org/listinfo/graphhopper">https://lists.openstreetmap.org/listinfo/graphhopper</a>
</pre>
</blockquote>
<br>
</body>
</html>