ORLite ARRAY objects, one last speed up before Padre 0.56

Alias on 2010-01-28T14:13:58

In the spirit of trying to jam as many speed hacks into Padre as possible, I've finally taken it upon myself to take the awesome work demonstrated in ORLite::Array (which uses ARRAY based objects instead of HASH based objects) and moved it into the ORLite core.

The removal of the need for a hash slice in DBI doubles the speed of SELECT statements, reduces the memory cost of objects, and makes accessors quicker.

I've also integrated support for Class::XSAccessor, so now not only are they faster ARRAY objects (if you want them) the accessors are all XS-accelerated as well.

As a bonus to this I've altered the ORLite::Mirror sub-class to always use ARRAY-based objects by default, which means that all of the ORDB family of modules just instantly got doubled in speed without me needing to do any new releases.

So all up, Padre 0.56 is looking awesome.

To quote one person in the #padre channel, "padre is so fast to start now that the splashscreen is an irritation"


Bug in test scripts

Haarg on 2010-01-29T00:03:52

In the test scripts you added to test Class::XSAccessor support, it doesn't do the version check correctly. It tests for versions of Class::XSAccessor greater than 1.05 instead of the intended greater or equal to. It also has the plan vs skip_all behaviors reversed in the if.

Re:Bug in test scripts

Alias on 2010-01-29T00:14:39

Thanks