I think it would be nice to be able to see a clan's overall EPH on the clan rankings page.
suggestions
Moderator |
|
Leveled Again [39] |
Would be another useless neat addition. :) |
Administrator |
This would be difficult/impossible without significant changes because EPH values are calculated on the fly and this is a relatively expensive operation. Showing a clan's EPH requires calculating the EPH for each bot, so showing every clan's EPH would require calculating the EPH for every bot in a clan. |
|
What if you did something that just summed all the current values that get displayed on the clan page instead of recalculating all the values twice? |
Nosferatu [50] <Solo Act>
|
Or going with what you stated earlier in the month where you only calculate and show the EPH of each bot on the hour rather than having it be a constantly moving number. |
|
Then you have to store it for each bot. He could store it in the database for each hour. Just update each bot. That's 20,000 updates per hour. Not a lot, but still a few to many. |
Administrator |
The ones on the clan page are calculated on the fly. In fact, EPH is not cached anywhere. Implementing this idea would require caching, but I'm hesitant to do it because of the extra complexity of maintaining the cache (or in the case of only updating the cache every hour, the potentially confusing user experience of seeing EPH values that are sometimes current and sometimes stale). |