mirror of
https://github.com/wolfpld/tracy
synced 2025-04-29 12:23:53 +00:00
Increase block size.
This commit is contained in:
parent
6092c695bd
commit
30ceac359d
@ -282,7 +282,7 @@ struct ConcurrentQueueDefaultTraits
|
|||||||
// but many producers, a smaller block size should be favoured. For few producers
|
// but many producers, a smaller block size should be favoured. For few producers
|
||||||
// and/or many elements, a larger block size is preferred. A sane default
|
// and/or many elements, a larger block size is preferred. A sane default
|
||||||
// is provided. Must be a power of 2.
|
// is provided. Must be a power of 2.
|
||||||
static const size_t BLOCK_SIZE = 32;
|
static const size_t BLOCK_SIZE = 128;
|
||||||
|
|
||||||
// For explicit producers (i.e. when using a producer token), the block is
|
// For explicit producers (i.e. when using a producer token), the block is
|
||||||
// checked for being empty by iterating through a list of flags, one per element.
|
// checked for being empty by iterating through a list of flags, one per element.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user