Ah... I missed the change in r3366 (which isn't the cheapest way to do this).
New results with 10 million iterations: Comparison (CID), took 19 ms Comparison (UserPtr), took 22 ms ClientManagerListener::ClientDisconnected(), took 427 ms isSelf(), took 96 ms (not that any of this would make any difference in the client, but it's still somewhat interesting :p) -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to DC++. https://bugs.launchpad.net/bugs/309815 Title: [Feature Request] Different hub icons for different user status (User/Reg/Admin) Status in DC++: In Progress Bug description: I usually have 40~50 hub open and some times hubs lost your reg, and you must register agian. But checking where you are a normal user (not reg/not admin) is a pain, so i'd like to have different icons in the hub tabs to show you if yo you are a normal user, reg or admin of each hub in tab list. To manage notifications about this bug go to: https://bugs.launchpad.net/dcplusplus/+bug/309815/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp