<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 17, 2015 at 5:05 PM, Dr. Olaf Klinke <span dir="ltr"><<a href="mailto:o.klinke@dkfz-heidelberg.de" target="_blank">o.klinke@dkfz-heidelberg.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'd like to separate serialization (IO) from traversal of the stucture (pure), but how can one avoid the entire heap object from being built? Can lazyness be exploited?</blockquote></div><br></div><div class="gmail_extra">Something I didn't quite understand from your email is whether<br><br></div><div class="gmail_extra">1. the data structure is being constructed and you'd like it simultaneously serialized to disk<br><br>or<br><br></div><div class="gmail_extra">2. it's already serialized and you'd like to perform pure traversals on it.<br><br></div><div class="gmail_extra">Problem 1 is one of compute then write, problem 2 is one of read then compute.<br></div><div class="gmail_extra"><br></div><div class="gmail_extra">Lazy I/O, as in unsafeInterleaveIO, excels at 2.<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">-- Kim-Ee</div></div>
</div></div>