Add step_fast() that skips trace/logging overhead (saves ~22% at 1M+ avoided log calls). Pre-resolve opcode dispatch table at init to eliminate per-instruction version checks and isinstance calls. Replace BitField allocations with direct bit masks in opcode decoder. Cold start: 4720ms -> 786ms. Steady state: ~500ms -> ~460ms. |
||
|---|---|---|
| .. | ||
| mudlib | ||