tekkub/GreedBeacon — Issue #4: table 'rolls' growth
Author: Xruptor
Created: 2011-10-30 12:39:39+00:00
State: open

The table 'rolls' can grow exponentially. It has no limit and as such can grow pretty big if the user remains logged in for a long period of time and performs several dungeons and or rolls throughout the day.

Suggestion, have rolls only store the last 15 entries. When the cap is reached remove the first entry since rolls is append in FindRolls. That way rolls will only have at a given point 15 entries only.

SetItemRef would have to be modified to check for nil in the rolls table. If there is a nil value then just return the old link.

This is a suggestion for efficiency nothing else.