Replace many closure-based proxy methods with static qsubs
authorPeter Rabbitson <ribasushi@cpan.org>
Fri, 18 Jul 2014 16:26:57 +0000 (18:26 +0200)
committerPeter Rabbitson <ribasushi@cpan.org>
Mon, 21 Jul 2014 13:53:23 +0000 (15:53 +0200)
commit8d73fcd44e0441f0252744be32bada6816c5ff6b
treeb22c75a80212d25157a6e0da76aa9478027987aa
parent6243d42b1ac9b614382e6126ca76a3a42953a7e9
Replace many closure-based proxy methods with static qsubs

Not only does this buy a quantum of performance, but it greatly enhances
readability of these methods on deparse

Deliberately not converting the ManyToMany helper - this code needs a
thorough regut :(
15 files changed:
lib/DBIx/Class/CDBICompat/Constructor.pm
lib/DBIx/Class/CDBICompat/ImaDBI.pm
lib/DBIx/Class/CDBICompat/Relationship.pm
lib/DBIx/Class/CDBICompat/Relationships.pm
lib/DBIx/Class/Relationship/Accessor.pm
lib/DBIx/Class/Relationship/ProxyMethods.pm
lib/DBIx/Class/ResultSourceProxy.pm
lib/DBIx/Class/Schema.pm
lib/DBIx/Class/Storage/DBI.pm
lib/DBIx/Class/Storage/DBIHacks.pm
lib/DBIx/Class/_Util.pm
t/40compose_connection.t
t/55namespaces_cleaned.t
t/lib/DBICTest/Util/LeakTracer.pm
t/storage/error.t