mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
5fcf4e10cd
Simplified udiv structure from 3 functions to 2 by eliminating udiv_pool and integrating pool allocation directly into main udiv function: - Removed udiv_pool function (~170 lines) and forward declaration - Unified edge case handling and normalization in single location - Pool allocation tried first for medium operands (4-64 limbs) - Automatic heap fallback when pool allocation fails - Manual pool management instead of problematic macros - All tests pass (1713 OK, 0 KO) This establishes the pattern for pool-aware complex functions. Co-authored-by: Claude <noreply@anthropic.com>