I would think its calling GetObject() that is time consuming.
Unless your operating at the DBObject level every time you use GetObject() you have to make a cast.
Using the ObjectClass property just avoids calls to GetObject().
As in last example you posted I would do a hard cast because I would want an error thrown if the ObjectClass implementation was messed up and returning incorrect values.