diff options
| author | Daniel Burrows <dburrows@debian.org> | 2009-06-30 22:23:28 -0700 |
|---|---|---|
| committer | Daniel Burrows <dburrows@debian.org> | 2009-06-30 22:23:28 -0700 |
| commit | c4ae6319e57ec7709e12ab8383d23a3341854cd7 (patch) | |
| tree | 2a819593d68a3664eacac8edf275c3908b80d843 | |
| parent | 383cf36aa48c84714dd3007cd3ef9f400172a03b (diff) | |
| download | aptitude-c4ae6319e57ec7709e12ab8383d23a3341854cd7.tar.gz | |
Turn tracking back on -- the apparent cost was an artifact of having profiling turned on by accident.
Profiling has a nasty tendency to cause very fast functions which are
executed often to appear MUCH more costly than they are.
Reference-counting such as this takes a particular hit.
| -rw-r--r-- | src/generic/problemresolver/search_graph.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/generic/problemresolver/search_graph.h b/src/generic/problemresolver/search_graph.h index 1d04838f..c7fa011f 100644 --- a/src/generic/problemresolver/search_graph.h +++ b/src/generic/problemresolver/search_graph.h @@ -569,8 +569,7 @@ public: typedef generic_solver_information<PackageUniverse> solver_information; typedef generic_dep_solvers<PackageUniverse> dep_solvers; - typedef boost::flyweight<dep_solvers, - boost::flyweights::no_tracking> flyweight_dep_solvers; + typedef boost::flyweight<dep_solvers> flyweight_dep_solvers; /** \brief The actions performed by this step. */ choice_set actions; |
