Refactor codebase with modular structure and add caching system

- Restructure code into separate modules: data, algorithms, logging, cache
- Add efficient caching system for keys and encrypted distances
- Implement three sorting algorithms: selection, bitonic, heap
- Add comprehensive logging with timestamps and progress tracking
- Configure musl target for static compilation
- Support command-line algorithm selection and cache control

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-07-13 16:40:43 +08:00
parent 815e213b44
commit fbf591ac88
9 changed files with 863 additions and 394 deletions

2
.cargo/config.toml Normal file
View File

@@ -0,0 +1,2 @@
[build]
target = "x86_64-unknown-linux-musl"