Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bitcoin/bitcoin
/ Compact
Method
Compact
src/txgraph.cpp:1372–1377 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1370
}
1371
1372
void GenericClusterImpl::Compact() noexcept
1373
{
1374
m_linearization.shrink_to_fit();
1375
m_mapping.shrink_to_fit();
1376
m_depgraph.Compact();
1377
}
1378
1379
void SingletonClusterImpl::Compact() noexcept
1380
{
Callers
2
Split
Method · 0.45
Merge
Method · 0.45
Calls
12
ClearShrink
Function · 0.85
IsPresent
Method · 0.80
Updated
Method · 0.80
shrink_to_fit
Method · 0.45
empty
Method · 0.45
has_value
Method · 0.45
size
Method · 0.45
pop_back
Method · 0.45
erase
Method · 0.45
begin
Method · 0.45
end
Method · 0.45
clear
Method · 0.45
Tested by
no test coverage detected