There simple logic for block size choosing in File::Copy:
Unless given as parameter the block size choosen accordingly to size of the copied file up to 2MB. If the file length less than 512 bytes then the size is set to 1024.
So if OP will use File::Copy than he never know if optimal size more than 2MB. :)
In reply to Re^2: How to decide the size of block in file transferring?
by ccn
in thread How to decide the size of block in file transferring?
by SadEmperor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |