Changes between Initial Version and Version 1 of Ticket #2449, comment 2
- Timestamp:
- Mar 4, 2014, 5:00:50 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2449, comment 2
initial v1 1 I think we should minimize the calculations needed on retrieval for performance since I assume that people may view profiles more times than they play rated games. Calculating the average rating for opponents after every game should only comprise of1 I think we should minimize the calculations needed on retrieval for performance since I assume that people may view profiles more times than they play rated games. Updating the average rating for opponents after every game should only comprise of 2 2 {{{ 3 3 average_rating = (average_rating * num_games + new_opponent_rating)/(num_games + 1)