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