mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
4b25faace0
removes duplicate proc field and adds state-based union for result/timeslice, achieving 16 bytes total savings per task (12.5% reduction): optimizations: - removed proc field (stored in c.ci->proc, already marked by gc): 8 bytes - unified result/timeslice into state union (mutually exclusive): ~4 bytes - combined with previous commit savings (priority_preemption, started, etc) total reduction: 128 -> 112 bytes per task impact: - 10 tasks: 160 bytes saved - 50 tasks: 800 bytes saved - 100 tasks: 1.6 KB saved all 1770 tests pass with zero functionality changes. Co-authored-by: Claude <noreply@anthropic.com>