Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #5100
| From | David Bailey <dave@removedbailey.co.uk> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Compilation: Avoiding inlining |
| Date | 2011-09-20 10:09 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j59opd$ne$1@smc.vnet.net> (permalink) |
| References | <201109171027.GAA26060@smc.vnet.net> <j57879$jbs$1@smc.vnet.net> |
On 19/09/2011 12:14, Oliver Ruebenkoenig wrote: > On Sat, 17 Sep 2011, DmitryG wrote: > >> Hi Oliver, >> >> thank you for your response! I am interested now in the systems of >> equations that are non-vectorizable. I explored your code a bit, and it would seem that the function cRHS is called 2000 times. I wondered if most of the time was being spent in the function rather than the DE solving code itself, and it would seem that this is probably the case. I tried: m00;While[m>0,cRHS[0.1,x0];m--;]//AbsoluteTiming This gave a timing that was little less than the whole computation. (I actually scaled things up a bit, because I prefer to do timing experiments which are scaled to last about 20 secs to minimise jitter from other sources.) David Bailey http://www.dbaileyconsultancy.co.uk
Back to comp.soft-sys.math.mathematica | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: Compilation: Avoiding inlining Oliver Ruebenkoenig <ruebenko@wolfram.com> - 2011-09-19 11:14 +0000 Re: Compilation: Avoiding inlining David Bailey <dave@removedbailey.co.uk> - 2011-09-20 10:09 +0000
csiph-web