fetch_ml/cli/src
Jeremie Fraeys d1ac558107
perf: implement context reuse
Go Worker (internal/worker/native_bridge_libs.go):
- Add global hashCtx with sync.Once for lazy initialization
- Eliminates 5-20ms fh_init/fh_cleanup per hash operation
- Uses runtime.NumCPU() for optimal thread count
- Log initialization time for observability

Zig CLI (cli/src/native/hash.zig):
- Add global_ctx with atomic flag and mutex
- Thread-safe initialization with double-check pattern
- Idempotent init() callable from multiple threads
- Log init time for debugging
2026-02-21 14:19:14 -05:00
..
assets native: security hardening, research trustworthiness, and CVE mitigations 2026-02-21 13:33:45 -05:00
commands refactor: make dataset hash automatic in verify command 2026-02-21 14:09:44 -05:00
core feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
local feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
native perf: implement context reuse 2026-02-21 14:19:14 -05:00
net fix(cli): Standardize WebSocket client imports 2026-02-20 21:41:51 -05:00
server feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
ui feat(cli): add progress UI and rsync assets 2026-02-20 15:51:17 -05:00
utils native: security hardening, research trustworthiness, and CVE mitigations 2026-02-21 13:33:45 -05:00
commands.zig feat: Research features - narrative fields and outcome tracking 2026-02-18 21:27:05 -05:00
config.zig native: security hardening, research trustworthiness, and CVE mitigations 2026-02-21 13:33:45 -05:00
core.zig feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
db.zig feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
errors.zig feat(cli): include command name in error messages and crash reports 2026-02-18 13:51:13 -05:00
local.zig feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
main.zig native: security hardening, research trustworthiness, and CVE mitigations 2026-02-21 13:33:45 -05:00
manifest.zig feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
mode.zig native: security hardening, research trustworthiness, and CVE mitigations 2026-02-21 13:33:45 -05:00
net.zig feat(cli): enhance Zig CLI with new commands and improved networking 2026-02-12 12:05:10 -05:00
security.zig feat: enhance CLI with improved commands and WebSocket handling 2026-02-16 20:38:08 -05:00
server.zig feat(cli): Add core infrastructure for local mode support 2026-02-20 21:28:06 -05:00
utils.zig refactor(cli): consolidate shared utilities and remove code duplication 2026-02-18 13:19:40 -05:00