Click here to Skip to main content
16,012,759 members
Home / Discussions / C#
   

C#

 
GeneralRe: This is about Rotating an image Pin
Dan Neely15-May-08 8:11
Dan Neely15-May-08 8:11 
GeneralRe: This is about Rotating an image Pin
MidwestLimey15-May-08 8:12
professionalMidwestLimey15-May-08 8:12 
QuestionMDI Background image. Pin
benjamin yap15-May-08 6:16
benjamin yap15-May-08 6:16 
AnswerRe: MDI Background image. Pin
Ed.Poore15-May-08 12:48
Ed.Poore15-May-08 12:48 
QuestionFile copy buffer size? Pin
MicealG15-May-08 6:15
MicealG15-May-08 6:15 
AnswerRe: File copy buffer size? Pin
led mike15-May-08 6:23
led mike15-May-08 6:23 
GeneralRe: File copy buffer size? Pin
MicealG15-May-08 6:31
MicealG15-May-08 6:31 
GeneralRe: File copy buffer size? Pin
led mike15-May-08 6:51
led mike15-May-08 6:51 
MicealG wrote:
Is there any way I could work out an optimal buffer size to use depending on the file size?

No. It has nothing to do with the file size. The networking software/hardware determines the optimal buffer size. For Disk I/O it is dependent on the Hardware / OS File System combination. Always use an exponent of 2 since the systems do. When testing Disks I have found that 2k or 4k will prove out as the optimal size. I have never looked at network transfers but if you are doing Disk I/O it seems that should be your determining factor.


led mike

AnswerRe: File copy buffer size? Pin
Guffa15-May-08 7:41
Guffa15-May-08 7:41 
GeneralRe: File copy buffer size? Pin
led mike15-May-08 9:15
led mike15-May-08 9:15 
AnswerRe: File copy buffer size? Pin
The Nightcoder15-May-08 11:44
The Nightcoder15-May-08 11:44 
GeneralRe: File copy buffer size? Pin
Guffa15-May-08 13:01
Guffa15-May-08 13:01 
GeneralRe: File copy buffer size? Pin
The Nightcoder16-May-08 12:10
The Nightcoder16-May-08 12:10 
GeneralRe: File copy buffer size? Pin
MicealG15-May-08 23:14
MicealG15-May-08 23:14 
QuestionStoring data in an array Pin
Brad Wick15-May-08 6:03
Brad Wick15-May-08 6:03 
AnswerRe: Storing data in an array Pin
led mike15-May-08 6:19
led mike15-May-08 6:19 
GeneralRe: Storing data in an array Pin
Brad Wick15-May-08 6:45
Brad Wick15-May-08 6:45 
GeneralRe: Storing data in an array Pin
led mike15-May-08 6:51
led mike15-May-08 6:51 
AnswerRe: Storing data in an array Pin
Bert delaVega15-May-08 6:47
Bert delaVega15-May-08 6:47 
GeneralRe: Storing data in an array Pin
Brad Wick15-May-08 7:11
Brad Wick15-May-08 7:11 
GeneralRe: Storing data in an array Pin
Bert delaVega15-May-08 7:28
Bert delaVega15-May-08 7:28 
AnswerRe: Storing data in an array Pin
DaveyM6916-May-08 2:36
professionalDaveyM6916-May-08 2:36 
QuestionArray.resize Pin
C++NewBe15-May-08 5:55
C++NewBe15-May-08 5:55 
AnswerRe: Array.resize Pin
led mike15-May-08 6:13
led mike15-May-08 6:13 
GeneralRe: Array.resize Pin
Dave Doknjas15-May-08 15:30
Dave Doknjas15-May-08 15:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.