mirror of
https://github.com/wolfpld/tracy.git
synced 2025-03-20 07:40:02 +08:00
Try to conserve as much memory as possible.
This commit is contained in:
parent
8ecb5de062
commit
599a9be37c
@ -118,7 +118,7 @@ private:
|
|||||||
{
|
{
|
||||||
if( m_capacity == 0 )
|
if( m_capacity == 0 )
|
||||||
{
|
{
|
||||||
m_capacity = 64;
|
m_capacity = 1;
|
||||||
memUsage.fetch_add( m_capacity * sizeof( T ), std::memory_order_relaxed );
|
memUsage.fetch_add( m_capacity * sizeof( T ), std::memory_order_relaxed );
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user