linuxdcpp-team team mailing list archive
-
linuxdcpp-team team
-
Mailing list archive
-
Message #07650
[Bug 309815] Re: [Feature Request] Different hub icons for different user status (User/Reg/Admin)
"I don't see how performance would be improved by constantly checking
'self'"
Benchmarking with 1 million iterations:
Comparing to ClientManager::getInstance()->getMe() (CID), took 2 ms
Comparing to ClientManager::getInstance()->getMe() (UserPtr), took 2 ms
Fire ClientManagerListener::ClientUpdated() [5 listeners, no handling for the event], took 51 ms
See dcpp/Speaker.h for explanation. There's practically no performance
cost related to the comparison operations.
--
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