technopagan / adept-jpg-compressor

A Bash script to automate adaptive JPEG compression using common CLI tools
Other
377 stars 28 forks source link

Replacing bc with let #30

Closed joeyhoer closed 10 years ago

joeyhoer commented 10 years ago

I removed the -l (mathlib) option from all occurrences of bc, as it was unused and unnecessary. I also replaced all but one instance of bc with the let equivalent, resulting in a 10-35% improvement in execution time.

Proposed fix for #16