This is an imperfect comparison for a number of reasons. Service time when signing, perceived market value, and track record of success not being the least of which ... but it's for fun anyways, so here we go: Tim Lincecum just agreed to a two-year deal worth $23M. Evan Longoria's contract wouln't reach the $23M earned point until 2014.
Lincecum is great. Longoria (with deal in tow) is a heaven-sent instrument of efficiency.