Commit 2afa848
committed
refactor(wasm): eliminate code duplication with macros and generic types
- Add impl_optimizer_config! macro for shared optimizer config methods
- Add impl_result_common! macro for shared result type methods
- Replace separate fitness evaluators with GenericFitness<G, F>
- Feature-gate file I/O in checkpoint/recovery.rs for WASM compatibility
- Reduce WASM bindings code by ~200 lines while maintaining functionality1 parent 11c9a15 commit 2afa848
4 files changed
Lines changed: 309 additions & 462 deletions
File tree
- crates/fugue-evo-wasm/src
- src
- checkpoint
- interactive
0 commit comments