<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">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>
<blockquote
cite="mid:CAJMx2XU-m98ngOgTyOFgk=1tzC1D1En_D5EDC31TJz5e66Q6gQ@mail.gmail.com"
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 moz-do-not-send="true"
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 class="HOEnZb">
<div class="h5"><br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Users@admb-project.org" target="_blank">Users@admb-project.org</a><br>
<a moz-do-not-send="true"
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>
</body>
</html>