Performance

- Added locally cached configuration for urgency coefficients, which effectively
  relocates expensive loop-invariants for the 'next' report.
This commit is contained in:
Paul Beckingham
2012-04-28 17:59:48 -04:00
parent 2668b04901
commit 0c0f767688
3 changed files with 98 additions and 44 deletions

View File

@@ -140,6 +140,10 @@ int Context::initialize (int argc, const char** argv)
// Apply rc overrides to Context::config, capturing raw args for later use.
a3.apply_overrides ();
// Now that the final RC is in place, initialize the urgency coefficients
// to speed the 'next' report.
initializeUrgencyCoefficients ();
// Initialize the color rules, if necessary.
if (color ())
initializeColorRules ();