1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Increase block size.

This commit is contained in:
Bartosz Taudul 2020-02-23 12:35:30 +01:00
parent 31d2bc1740
commit bd34c24b84

View File

@ -191,7 +191,7 @@ struct ConcurrentQueueDefaultTraits
// 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
// is provided. Must be a power of 2.
static const size_t BLOCK_SIZE = 128;
static const size_t BLOCK_SIZE = 256;
// 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.