mirror of
https://gitlab.com/80486DX2-66/gists
synced 2025-05-31 08:31:41 +05:30
static-vs-dynamic-mem-alloc.c: fix output format
This commit is contained in:
@@ -75,7 +75,7 @@ int main(void) {
|
||||
long double value1 = measure(static_memory_allocation, &c);
|
||||
printf("Dynamic memory allocation");
|
||||
long double value2 = measure(dynamic_memory_allocation, &c);
|
||||
printf("\nStatic memory allocation is ~%.0Lf nanoseconds faster",
|
||||
printf("\nStatic memory allocation is ~%.0Lf nanoseconds faster\n",
|
||||
value2 - value1);
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
|
Reference in New Issue
Block a user