<div dir="ltr">Did you find speed improvements?</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Nov 6, 2014 at 9:42 AM, dave fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>On 11/06/2014 11:23 AM, Johnoel Ancheta
      wrote:<br>
      <br>
      I already did a bit of testing. test_write.cpp is the low level
      one and test_write2.cpp uses fopen.<br>
      <br>
      <br>
    </div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr">Yes, this is a good idea.  I'll try changing write
        functions and compare speeds.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Thu, Nov 6, 2014 at 5:59 AM, dave
          fournier <span dir="ltr"><<a href="mailto:davef@otter-rsch.com" target="_blank">davef@otter-rsch.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
            I did a bit of experimenting with writing large buffers to
            disk and it appears that<br>
            replacing the low level  writes with fwrites and open with
            fopen etc .  permits one<br>
            to write large buffers to disk in the code.<br>
            <br>
            A more interesting solution might be to optionally  add
            another thread which can write<br>
            portions of the buffer to disk as they become full.
            <div>
              <div><br>
                _______________________________________________<br>
                Users mailing list<br>
                <a href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
                <a href="http://lists.admb-project.org/mailman/listinfo/users" target="_blank">http://lists.admb-project.org/mailman/listinfo/users</a><br>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br></div>