View Single Post
Old 07-09-2013, 05:42 PM   #18 (permalink)
t vago
MPGuino Supporter
 
t vago's Avatar
 
Join Date: Oct 2010
Location: Cedar Rapids, IA
Posts: 1,766

The Karen-Mobile - '05 Dodge Magnum SXT
Team Dodge
90 day: 26.72 mpg (US)

Fiat Dakota - '00 Dodge Dakota SLT RWD Quad Cab
90 day: 16.67 mpg (US)

The Red Sled - '01 Dodge Durango SLT 4WD
90 day: 16.96 mpg (US)
Thanks: 799
Thanked 681 Times in 437 Posts
Miscellaneous MPGuino optimization note

This:
Code:
	if (parms[metricIdx] == 1){
		distancefactor /= 1.609;
		fuelfactor /= 3.785;
	}
is 572 bytes larger than this:
Code:
	if (parms[metricIdx] == 1){
		distancefactor = 1000 * distancefactor / 1609;
		fuelfactor = 1000 * fuelfactor / 3785;
	}
__________________
The Fiat Dakota


The Karen-mobile


The Red Sled
  Reply With Quote