Hi Stefan, I've got no idea about the technical implications, i.e. why julia's log is slower (on some systems?) than libm's and what's involved in bringing performance up to par. I mentioned the manual only because this is the second time that someone suggests the system-log trick to me, and it paid off handsomely in both occasions. Now, I am perfectly happy to keep it at that. I suspect however that there are a) plenty of dirty tricks I don't know of yet and b) plenty of people who don't either. the thorny issue of deciding when a trick becomes dirty is of course up to you. To be honest I'm not sure if the manual is the right place for things like that - but it would be good to have them in *some* place.
cheers florian On Wednesday, 16 July 2014 21:47:58 UTC+1, Stefan Karpinski wrote: > > On Wed, Jul 16, 2014 at 12:39 PM, Florian Oswald <[email protected] > <javascript:>> wrote: > >> do you think this log issue may be worth a mention in the performance >> tips section of the manual? I would have never guessed that there could be >> a fast/slow issue with such basic functions. Little do I know! > > > The trouble with mentioning this is that it's an arbitrarily deep rathole. > Whole books could (and have) been written on this kind of optimization. But > perhaps a passing mention might be good. >
