Closed ihor-tarasov closed 2 years ago
May be it's better to use static keyword for char buffer[1024]; to avoid allocations of 1024 bytes of stack memory every call of functions?
static
char buffer[1024];
Or it can be bad for multithreading?
May be it's better to use
static
keyword forchar buffer[1024];
to avoid allocations of 1024 bytes of stack memory every call of functions?