[ADMB Users] ADMB and MinGW-w64 users should update

dave fournier davef at otter-rsch.com
Thu Nov 6 11:42:41 PST 2014


On 11/06/2014 11:23 AM, Johnoel Ancheta wrote:

I already did a bit of testing. test_write.cpp is the low level one and 
test_write2.cpp uses fopen.


> Yes, this is a good idea.  I'll try changing write functions and 
> compare speeds.
>
> On Thu, Nov 6, 2014 at 5:59 AM, dave fournier <davef at otter-rsch.com 
> <mailto:davef at otter-rsch.com>> wrote:
>
>
>     I did a bit of experimenting with writing large buffers to disk
>     and it appears that
>     replacing the low level  writes with fwrites and open with fopen
>     etc .  permits one
>     to write large buffers to disk in the code.
>
>     A more interesting solution might be to optionally  add another
>     thread which can write
>     portions of the buffer to disk as they become full.
>
>     _______________________________________________
>     Users mailing list
>     Users at admb-project.org <mailto:Users at admb-project.org>
>     http://lists.admb-project.org/mailman/listinfo/users
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20141106/6a2b34b4/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_write.cpp
Type: text/x-c++src
Size: 1927 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20141106/6a2b34b4/attachment.cpp>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_write2.cpp
Type: text/x-c++src
Size: 2272 bytes
Desc: not available
URL: <http://lists.admb-project.org/pipermail/users/attachments/20141106/6a2b34b4/attachment-0001.cpp>


More information about the Users mailing list