~desrt/indicator-appmenu/hud-performance

Viewing all changes in revision 206.

  • Committer: Ryan Lortie
  • Date: 2012-04-01 17:40:10 UTC
  • Revision ID: desrt@desrt.ca-20120401174010-sw2bpsqoe3e2cw79
Skip checking of search terms when it's not possible to take the term

There are two situations in which a term will never be taken:

 - the max cost has already been exceeded

 - the cost of taking the term can't possibly beat the cost of dropping it

In those two cases, don't do the extra work.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: