Re: [julia-users] Re: Julia Low Pass Filter much slower than identical code in Python ??

2016-09-13 Thread Stefan Karpinski
As an aside, most JIT runtimes actually don't compile code until after it has been run a few thousand times and seems hot – before that they interpret it. Julia is unusual in that it fully JIT compiles almost all code (except for some top-level expressions which are interpreted) before running it

Re: [julia-users] Re: Julia Low Pass Filter much slower than identical code in Python ??

2016-09-13 Thread Matjaz Licer
Makes sense, thanks :-) On 12 September 2016 at 17:17, Stefan Karpinski wrote: > JIT = Just In Time, i.e. the first time you use the code. > > On Mon, Sep 12, 2016 at 6:52 AM, MLicer wrote: > >> Indeed it does! I thought JIT compilation takes place

Re: [julia-users] Re: Julia Low Pass Filter much slower than identical code in Python ??

2016-09-12 Thread Stefan Karpinski
JIT = Just In Time, i.e. the first time you use the code. On Mon, Sep 12, 2016 at 6:52 AM, MLicer wrote: > Indeed it does! I thought JIT compilation takes place prior to execution > of the script. Thanks so much, this makes sense now! > > Output: > first call: 0.804573