feat: add jest_rust jisspam spam detector with build target and benchmark integration
Add new Rust-based spam detection project under jest_rust/jisspam with Cargo.toml, main.rs implementing forbidden word analysis, and test files for spam/not-spam classification. Include build_jest target in Makefile, add jisspam binary to .gitignore, and integrate its execution into bench.py benchmark suite alongside existing C, CPP, and Python implementations.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
CC = gcc
|
||||
CFLAGS = -Ofast
|
||||
|
||||
all: build run valgrind build_risspam run_risspam build_cpp build_borded_cpp build_py
|
||||
all: build run valgrind build_risspam run_risspam build_cpp build_borded_cpp build_py build_jest
|
||||
|
||||
build:
|
||||
@echo "Compiling retoor_c project.".
|
||||
@@ -23,6 +23,10 @@ build_risspam:
|
||||
@echo "Compiling 12bitfloat_risspam project."
|
||||
cd 12bitfloat_rust/risspam && cargo run --release && cp target/release/risspam ../../
|
||||
|
||||
build_jest:
|
||||
@echo "compiling jest_rust project"
|
||||
cd jest_rust/jisspam && cargo build --release && cp target/release/jisspam ../../
|
||||
|
||||
run: run_spam wl run_not_spam
|
||||
run_risspam: run_spam_risspam run_not_spam_risspam
|
||||
|
||||
|
||||
Reference in New Issue
Block a user