mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
3db11cef09
Compared to a pure Ruby implementation, this results in faster performance, eliminates recursive calls, and removes the creation of intermediate objects. The "permutation" implementation in `ary_combination_next()` is slow for C. However, it does not require a heap other than the index array.