MantisBT: master-1.2.x f4e05d1c

Author Committer Branch Timestamp Parent
jreese dhx master-1.2.x 2009-07-01 14:32 master-1.2.x 2fe55fdd
Affected Issues  0010710: Improve form token lookup performance beyond O(n)
Changeset

Form security validation and purge performance

Rather than iterate through all form security tokens to validate and
purge tokens given to a page, partition the token data structure into
blocks by date, and use the token itself as the key. This allows for
constant-time lookups, as well as more performant purges of old token
data by purging entire days in one step.

Signed-off-by: David Hicks hickseydr@optusnet.com.au

mod - core/form_api.php Diff File