On Wed, Mar 31, 2010 at 11:52 PM, Ted Sandler <ted.sand...@gmail.com> wrote:
>> rpretation of Xavier's words was that the compiler would
>> completely optimize out memory allocation and keep !m in register. I
>> can live with the allocation but not at every iteration... How to
>> rewrite the function to get rid of it? My best achievement so far is
>
> Try tail-recursion.

Won't work. Show the code.

- Dmitry Bely

_______________________________________________
Caml-list mailing list. Subscription management:
http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
Archives: http://caml.inria.fr
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to