Re: Slow loadstring problem

  • From: Florian Weimer <fw@xxxxxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Fri, 11 Jan 2013 07:39:01 +0100

* Ben Rog-Wilhelm:

> The file is available at
> http://www.pavlovian.net/lj/luajit_slowload.zip (3mb download, unpacks
> to 50mb). I’m testing with the following vaguely-accurate test
> harness:

It seems related to hash collisions.

I generated a similarly-structured file, replacing the table keys and
strings with totally random hex strings.  This reduces the compile to
just a second.

Other related posts: