mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-06-06 11:13:02 +02:00
clusterlin: replace benchmarks with SFL-hard ones (bench)
This also adds a per-cost variant of each.
This commit is contained in:
@@ -334,6 +334,15 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
unsigned CountDependencies() const noexcept
|
||||
{
|
||||
unsigned ret = 0;
|
||||
for (auto i : Positions()) {
|
||||
ret += GetReducedParents(i).Count();
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
/** Reduce memory usage if possible. No observable effect. */
|
||||
void Compact() noexcept
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user