On Tue, Sep 4, 2012 at 7:10 PM, Kazu Yamamoto <span dir="ltr">&lt;<a href="mailto:kazu@iij.ad.jp" target="_blank">kazu@iij.ad.jp</a>&gt;</span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":ej">Anyway, I believe we should avoid gettimeofday as much as possible<br>
to implement fast servers.<div class="yj6qo ajU"><div id=":e4" class="ajR" tabindex="0"></div></div></div></blockquote></div><br><div>Sort of agree. It only costs about 17-44ns, depending on the system, so it&#39;s actually very cheap. For comparison, reading an uncontended IORef seems to cost about 0.6ns (!).</div>