! Generic arithmetic, boxed complex numbers and floats, ! closure construction, etc, all optimized out completely : count-iterations ( z max-iterations step-quot test-quot -- #iters ) '[ drop @ dup @ ] find-last-integer nip ; inline : pixel ( c -- iterations ) [ C{ 0.0 0.0 } max-iterations ] dip '[ sq _ + ] [ absq 4.0 >= ] count-iterations ; inline