realbasic-nug
[Top] [All Lists]

RE: folderitem.lasterrorcode

To: "'REALbasic NUG'" <realbasic-nug at lists dot realsoftware dot com>
Subject: RE: folderitem.lasterrorcode
From: "RBNUBE" <rbnube at mabenterprises dot com>
Date: Sat, 28 Apr 2007 14:16:48 -0400
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Importance: Normal
Keywords: RB-NUG
Organization: N/A
Thread-index: AceI6nT/a0KVjY6pQEmYXP8cmfNIpQA1kEIg
I just tried copying *to* a USB thumbdrive, and there is quite a difference.
Much slower.  A manual OS copy is also slower than a HD copy.

I changed the following...

dstream.Write sstream.Read(8192)

To...

dstream.Write sstream.Read(1048576)

....and it made quite a difference in the transfer speed.  It is nearly that
of copying directly to the thumbdrive.

Is the method you are using faster than a manual copy, about the same or
less?

If the performance is better, would you mind sharing your code?



_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>