better readme i think

This commit is contained in:
amy 2023-03-03 00:59:40 +00:00
parent f362eb06e0
commit 6b78c004af
2 changed files with 9 additions and 16 deletions

View File

@ -1,12 +1,3 @@
alias b:= build
alias d:= dev
alias wd:= windows-dev
set windows-shell := ["powershell.exe", "-NoLogo", "-Command"]
dev:
nodemon --exec "gcc -o cdoku main.c && ./cdoku" ./main.c
windows-dev:
nodemon --exec "gcc -o cdoku main.c && cdoku" main.c
build:
clang -o cdoku main.c -O3 -ffast-math -lm

View File

@ -6,7 +6,7 @@ check out ./example.sudoku and ./main.c for more documentation:)
### building and running
`just b` or `gcc -o cdoku main.c` to build the binary
`just b` to build the binary
check out `just --list` for more options
@ -14,14 +14,16 @@ check out `just --list` for more options
### examples and some bench marks
(forgot to get more than the freq lol)
#### ./example.sudoku
- apline | 1.80 GHz arm - ~1.3s </br>
- win64 | 1.60 GHz x86 - ~0.169s</br>
- gentoo | 3.18 GHz x86 - ~0.02s </br>
- apline | 1.80 GHz arm64 - ~1.3s </br>
- win64 | 1.60 GHz amd64 - ~0.169s</br>
- gentoo | 5.20 GHz amd64 - ~0.02s </br>
- gentoo | 2.40 GHz amd64 - ~0.3s </br>
#### ./example-hard.sudoku
- gentoo | 3.18 GHz x86 - ~1.19s </br>
- gentoo | 5.20 GHz amd64 - ~54s </br>
- gentoo | 2.40 GHz amd64 - ~179s</br>
### todo
- [ ] read json formated