Simpler, roughly 11x faster at this scale (no key map overhead), and perfectly fine when you know the iteration count. The trampoline is for when you don't: parsing until you hit a delimiter, evaluating until a fixpoint, running a state machine until it halts.
Последние новости
。业内人士推荐新收录的资料作为进阶阅读
println(f"collatz(1) = {collatz_steps(1)} steps"); // collatz(1) = 0 steps
Мерц резко сменил риторику во время встречи в Китае09:25
Что думаешь? Оцени!