From 62044194078a0059df0528857c9db8aea51e6f6e Mon Sep 17 00:00:00 2001 From: ari melody Date: Mon, 12 Feb 2024 17:47:33 +0000 Subject: [PATCH] update readme --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 54e05a2..fc17ff6 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,13 @@ # memory allocator -it allocates memory *(in gibibytes (GiB))* +it allocates memory ## how to use - run the executable -- enter how many gibibytes you want (max is how many gibibytes of memory you have...or more!) +- enter how much memory you want to allocate + - i.e. "1g" = 1 GiB = 1073741824 bytes + - the limit is how much memory you have...or more. your funeral. - confirm (y) - wait for the program to allocate the memory - your memory is allocated @@ -16,7 +18,7 @@ it allocates memory *(in gibibytes (GiB))* ## how to compile - get a c compiler (i use gcc) -- `gcc -o ./allocatememory ./main.c` +- `gcc -o ./allocatememory -O2 ./main.c` - ??? - profit