View Single Post
Unread 28 Aug 2007, 15:24   #9
Hude
self-entitledly superior
 
Join Date: Aug 2004
Location: Finland
Posts: 341
Hude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant futureHude has a brilliant future
Re: Fix the roiding to be independant of user id

Quote:
Originally Posted by wakey
I would guess that part of the reason its done like it currently is due to the fact the tick length would increase if it was done like suggested. The reason for that would be you would have to loop through all the planets again and run two extras calculations not to mention multiple extra database writes.
Duh, updating the roids after all the battles can be done in a single SQL query. If there was 1000 battles, it affects 1000 rows. That should be executed in a fraction of second.
Hude is offline   Reply With Quote