A method for preparing electronic data for transmission includes
calculating a duration for compressing the electronic data, calculating a
duration for transmitting the electronic data if not compressed, and
compressing the electronic data only if the duration for compressing does
not exceed the duration for transmitting.