On Tue, 2010-03-02 at 20:31 +0000, David Barth wrote:
> Hmm, it feels you should avoid going into the loop if the 
> user_count is wrong, to avoid some pathological cases. I'd 
> prefer to cut processing as soon as possible, and check for 
> the guest account explicitly.

To find the guest account we're going to have to look through the
entries until we find it, which is the same thing as when we find the
guest account we discover the issue, and break.  I'm not sure that it'd
be any faster to do in another loop.

-- 
https://code.launchpad.net/~ted/indicator-session/removing-me/+merge/20474
Your team ayatana-commits is subscribed to branch lp:indicator-session.

_______________________________________________
Mailing list: https://launchpad.net/~ayatana-commits
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ayatana-commits
More help   : https://help.launchpad.net/ListHelp

Reply via email to