2010-09-13, 01:31 AM
Russt Wrote:But given that decompressing files is mainly a disk operation (i.e. slow), the overhead of calling the instructions from Python should be less compared to the cost of the actual instructions themselves. Whereas if you were doing something like calculating prime numbers, Python would be much slower because the individual arithmetic operations involved are small.
Exactly, that's why it is slower: Decompression really isn't mainly a disk operation.

