<br><br><div class="gmail_quote">On 26 June 2012 12:49, Robert Ramey <span dir="ltr"><<a href="mailto:ramey@rrsd.com" target="_blank">ramey@rrsd.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <u></u> <div bgcolor="#ffffff"><div class="im"> <div>Paul Harris wrote:<br>> On 26 June 2012 09:09, Robert Ramey <<a href="mailto:ramey@rrsd.com" target="_blank">ramey@rrsd.com</a>> wrote:<br></div> </div><div class="im"><div>> The ONLY reason I need to use the portable binary archive, is because<br>> the usual binary archive's header is incompatible between 32 and 64<br>> bit.� And potentially version number integers and<br>> number-of-elements-in-an-array integers and other such overhead<br>> stuff.��� <br></div> </div><div><font face="Arial">well of course that's the only reason.� binary archive can just stream</font></div> <div><font face="Arial">all the bits.� to be portable, each element must be considered for</font></div> <div><font face="Arial">endianness at a minimum.� </font></div> <div><font face="Arial"></font>�</div> <div><font face="Arial">One could possible make this faster, but I doubt that it would</font></div> <div><font face="Arial">be worth the effort.</font></div> <div><br></div> <div><font face="Arial">Robert Ramey</font></div> <div><br></div></div></blockquote><div><br></div><div>I load large archives. �In debug mode, its slow (of course). �the difference is about 3-6 seconds (with array-optimization) compared to 30-60 seconds. �very painful for debugging!</div> <div><br></div><div>So I'll be flipping on the array mode in my eos code.</div><div><br></div><div>If I were to want to expend the effort, I was wondering... could I just reimplement the save_array() method?</div><div> Its not virtual, but I think in this case I can just implement it and rely on my method shadowing the original basic_binary version.</div><div><br></div><div>Any other tips you might have would be appreciated.</div><div> <br> </div><div>thanks!</div><div>Paul</div><div><br></div><div><br></div></div>