MantisBT: master 5e145289

Author Committer Branch Timestamp Parent
dregad dregad master 2013-02-26 11:11 master 84567aec
Affected Issues  0015538: Issues list is not displayed when $g_limit_reporters is ON
Changeset

Optimize performance of access_has_bug_level() api function

Through use of a static array to cache the reporter threshold when
$g_limit_reporter = ON and more importantly reducing the total number of
API calls, the performance of this function has been improved by 65%
(stress tests executed over 2000 iterations, 0.34s vs 0.22s).

Issue 0015538, follow up on b3276bbf50abdf53eaa9ef3b20ddb9461aaf1808

mod - core/access_api.php Diff File