No, the damage value is the same. You can't just make a general assumption that "248 is better if you take Rocks damage", it always depends on the actual numerics, if you run leftovers/other forms of recovery, etc.
For the Calyrex example:
With 252 HP EVs you end up at 404 HP, so you take 101...