C# FileStream : Optimal buffer size for writing large files? -


Suppose I am writing some files between 2 MB and 5 GB on the disk. What are the sensible buffer values ​​for filestream?

Is it worth working with several megabytes of buffers, or should I live with kilobyte buffers?

The default buffer size is 4 KB.

Also, take a look here:


Comments

Popular posts from this blog

Is there an open source WebSockets (JavaScript) XMPP library? -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -

iphone - How do I make a UIPickerView in a UIActionSheet -