Thanks! I will check out 0.5. It's amazing it can even be faster since it's already a bit faster than C++. :-)
-Zhong On Monday, July 11, 2016 at 3:03:27 AM UTC-5, Mosè Giordano wrote: > > Hi Zhong, > > you may want to check out Julia 0.5, on my box your benchmark is ~13% > faster with Julia 0.5: 3.367658 seconds with Julia 0.4.6 and 2.898068 > seconds with Julia 0.5. > > > Bye, > Mosè > > > Hi, >> >> Sorry I have to post a revision so quickly. Just after I posted my >> previous benchmark, I found the message on the top advising against using >> global variables when running performance test. I realized I did exactly >> that, so I went back to redo my test wrapped in a function. And that did >> the magic! The difference is a ~18x speedup! >> >> I didn't know how to recall my previous post, so I have to post a revised >> one (attached PDF) here. Since there is no surprise finding about Julia >> anymore, the benchmark results are not that interesting now; but I have to >> make sure the information I posted is not misleading, so here you go. >> >> Cheers, >> -Zhong >> >>
