Last modified: 2012-01-11 16:29:05 UTC
At the moment User::idFromName is doing for each call a database query. Calling first User::isValidUserName to check, if the user is valid can reduce queries for ips or invalid users. The title check is also done in that method.