transmesh generates significantly larger binary file from the original ASCII file #39
|
Hi, We have a dummy.sol file, with the following content: Replace the Calling transmesh (version TRANSMESH v4.0, feb 27 2014) on it results in the binary file dummy.solb, which is much larger: Tested it with the version from the master branch too ( What is the reason for the significant file size increase in the binary format? |
Replies: 1 comment 1 reply
|
Hi Zoltan, |
Hi Zoltan,
your binary file is bigger than the ASCII one because it is full of zeroes.
Usually ASCII files are bigger than binary ones except when using small integers which take 2 or 3 bytes while still using 8 bytes in double precision binary.
Your file if full of 0 that take two bytes (the "0" and the following space separator.
A binary "0" uses 8 bytes ...