I think it is strange they they deny the alternate binary trees implementation by setting a parameter on the gc: collectgarbage("setstepmul", 0) that file creates a TON of garbage and on my PC the speedup is HUGE.