Skip to content

Commit 06177d8

Browse files
committed
fix: do not allocate so frequently
1 parent 2b9c90a commit 06177d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/utils/queue.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
extern "C" {
66
#endif
77

8-
#define QUEUE_FREE_CAP_BUFFER 0.5 // Percentage
8+
#define QUEUE_FREE_CAP_BUFFER 0.8 // Percentage
99

1010
struct queue {
1111
char* data;

0 commit comments

Comments
 (0)