Skip to content

refactor: replace ModRuntimeBase with Factory pattern

Toxel requested to merge refactor/mod into main

Remove global mutable static moder; introduce ModFactory, RuntimeModBase, and per-instance modulus. Add init_from/wrap/raw for normalization, inv/power as instance methods returning Mod.

Co-Authored-By: Claude Opus 4.7 noreply@anthropic.com

Merge request reports