开发者

Why is the concatenation of a set of files greater than the sum of the parts?

开发者 https://www.devze.com 2023-01-04 06:31 出处:网络
In an obscure way, it is a programming question. I concatenated sever开发者_StackOverflow中文版al sets of text files in the range of 1MB and found that in each case the concatenated file size was much

In an obscure way, it is a programming question. I concatenated sever开发者_StackOverflow中文版al sets of text files in the range of 1MB and found that in each case the concatenated file size was much larger than the sum of the individual files by a large extent (2x-4x times more, even greater for Windows7).

Why is this?


IT was probably read in ASCII, and written in Unicode. Open the file in a binary/hex viewer to confirm.

0

精彩评论

暂无评论...
验证码 换一张
取 消