<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 5, 2017 at 3:43 AM, Moritz Lennert <span dir="ltr"><<a href="mailto:mlennert@club.worldonline.be" target="_blank">mlennert@club.worldonline.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id="m_1192096417874630658gmail-:2yb" class="m_1192096417874630658gmail-a3s m_1192096417874630658gmail-aXjCH m_1192096417874630658gmail-m15bd790adc035f9f">Markus is probably right: working with an intermediate file solves all<br>
this and I don't think it would imply a serious speed decrease.</div></blockquote></div><br></div><div class="gmail_extra">I have tested r.vect.stats (with pipe) and compared it with pipe in shell - the time is the same (expected behavior). Here is the test with pipe in shell for 19693050 (almost 20 million) points:<br></div><div class="gmail_extra"><br>time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe | <a href="http://r.in.xyz" target="_blank">r.in.xyz</a> input=- output=bin2 method=mean sep=pipe --o"<br>real 1m5.982s<br>user 1m39.120s<br>sys 0m1.740s<br><br></div><div class="gmail_extra">And here is the same test but using temporary file (similar result with and without SSD):<br></div><div class="gmail_extra"><br>time sh -c "v.out.ascii input=points layer=-1 format=point sep=pipe output=tmp.txt --o; <a href="http://r.in.xyz" target="_blank">r.in.xyz</a> input=tmp.txt output=bin3 method=mean sep=pipe --o"<br>real 1m32.933s<br>user 1m30.472s<br>sys 0m1.796s<br><br></div><div class="gmail_extra">According to this, using temporary file requires 1.4 more time.<br></div></div>