`Point3d.distance` would be faster, as it's computed in C instead of Ruby.

http://www.sketchup.com/intl/en/developer/docs/ourdoc/point3d.php#distance