performance improvements + a good amount of changes

This commit is contained in:
Nicholas Orlowsky 2023-10-16 14:36:17 -04:00
parent 89a6d9a528
commit 0649a28a28
No known key found for this signature in database
GPG key ID: BE7DF0188A405E2B
24 changed files with 2040744 additions and 70 deletions

25
src/Makefile Normal file
View file

@ -0,0 +1,25 @@
.PHONY: format lint build build-release build-docker run debug
build:
g++ main.cpp -g -o ./anthracite
build-release:
g++ main.cpp -O3 -march=native -o ./anthracite
build-docker:
docker build . -t anthracite
run: build
./anthracite 8080
debug: build
gdb --args ./anthracite 8080
format:
clang-format *.cpp -i
lint:
clang-tidy *.cpp
lint-fix:
clang-tidy *.cpp -fix -fix-errors