Skip to content

Commit 2afa848

Browse files
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 functionality
1 parent 11c9a15 commit 2afa848

4 files changed

Lines changed: 309 additions & 462 deletions

File tree

0 commit comments

Comments
 (0)