I just converted a number of files from FLAC to MP3 for portable use. Because the converter runs in multithreaded mode it manages to fragment each file quite significantly - three Keith Jarret files (long, to be sure) are 234, 579, and 605 fragments. While Windows will get around to defragmenting them over time it would, in the meantime, improve the performance of the conversion if you pre-allocated then truncated the files based on a reasonable guess of the target size. If one is writing to a USB thumb-drive the performance improvement would be orders or magnitude; even writing to disk will be dramatic.
I think this is the method for doing this:
It can extend the size (without actually writing data) or truncate (if you extended too far).
Thanks.
I think this is the method for doing this:
It can extend the size (without actually writing data) or truncate (if you extended too far).
Thanks.
Comment