make clean && makemake debug./build/xoptimizer -s /tmp/xopt.sock -r test_rules.txt- C11 standard
- POSIX-compliant
- Use meaningful variable names
- Keep functions focused and small
- Document complex algorithms with comments
- Minimize memory allocations in hot paths
- Prefer linear data structures over arrays for sparse data
- Use
constfor immutable data - Profile before optimizing
- Verify no build warnings:
make CFLAGS="-Wall -Wextra -Wpedantic" - Test with AddressSanitizer:
make debug - Check with memory profiler:
valgrind ./build/xoptimizer
All contributions are licensed under the MIT License.