Re: Strange performance behaviour

  • From: Mike Pall <mike-1208@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Sun, 26 Aug 2012 00:29:16 +0200

Drake Wilson wrote:
> Try explicitly initializing both of the doubles to zero and see
> whether it still happens.

FFI arrays *are* initialized to zero, unless you pass an explicit
initializer.

While NaN/inf/denormal values are often the culprit if you observe
strange slowdowns, this is not the case here.

--Mike

Other related posts: