Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'Compile' topicStudent Support Forum > General > Archives > "Compile"

Next Comment >Help | Reply To Topic
Author Comment/Response
04/28/13 03:25am


I am playing around with the "Compile" function using a simple for loop that adds a value to a previous value. I was expecting an improvement in the time taken to run but it is close to identical to the non-compiled version and thousands of time slower than C++ (file attached).

Would anyone be able to shed some light on this for me please?


Attachment: compile.nb, URL: ,

Subject (listing for 'Compile')
Author Date Posted
Compile Scott 04/28/13 03:25am
Re: Compile yehuda 04/29/13 2:09pm
Re: Re: Compile Scott 04/30/13 00:15am
Next Comment >Help | Reply To Topic