View Single Post
Old 07-10-2007, 08:46 AM   #13
Tony M
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 6,156
Suggestion

Remove the hard-codedness for 39 innings in a game summary

Reason

If for some reason a game goes beyond 39 innings, the box score gets messed up as the game just keeps reading through world.dat regardless of the structure so you can start to see the home team's innings scores appearing in the away team's innings scores.

It is hard coded to 39 innings, so for 99% of games there are 60 innings saved that aren't being used. The number of innings the game lasted for are saved in the structure so it could easily be a variable length.

If the average length of a game in a standard MLB setup was 10 innings (highly unlikely) there's another 750Kb of disk space being used to store the 11-39th innings of the 13000+ matches.

Priority

Medium
__________________
This signature is intentionally blank
Tony M is offline