[Dbix-class] Modifying DBIx::Class::Core (collapsing classes)

Hartmaier Alexander Alexander.Hartmaier at t-systems.at
Tue Oct 24 17:26:10 BST 2006


Speedups in object instantiation are *very* welcome!
Just do it in a new branch and tell us (me) to test it.

-Alex


> -----Original Message-----
> From: Matt S Trout [mailto:dbix-class at trout.me.uk]
> Sent: Monday, October 23, 2006 2:19 AM
> To: dbix-class at lists.rawmode.org
> Subject: [Dbix-class] Modifying DBIx::Class::Core (collapsing classes)
> 
> Basically, the reason I've been asking about this is that next::method
> is
> approx 2*sub call plus a hash lookup overhead (note sub call, method
> calls are
> marginally more expensive than sub calls).
> 
> Given nobody seems to be using the component in isolation, I was
> wondering
> about collapsing any next::method stuff into a single method, probably
> in Row.
> This would make exactly zero difference if everybody's only subclassing
> Core,
> but would probably give us a noticeable performance improvement.
> 
> Thoughts? Comments? Objections?
> 
> --
>       Matt S Trout       Offering custom development, consultancy and
> support
>    Technical Director    contracts for Catalyst, DBIx::Class and BAST.
> Contact
> Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more
> information
> 
> + Help us build a better perl ORM: http://dbix-
> class.shadowcatsystems.co.uk/ +
> 
> _______________________________________________
> List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
> Wiki: http://dbix-class.shadowcatsystems.co.uk/
> IRC: irc.perl.org#dbix-class
> SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
> Searchable Archive: http://www.mail-archive.com/dbix-
> class at lists.rawmode.org/

*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
T-Systems Austria GesmbH   Rennweg 97-99, 1030 Wien
Handelsgericht Wien, FN 79340b
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*
Notice: This e-mail contains information that is confidential and may be privileged.
If you are not the intended recipient, please notify the sender and then delete this e-mail immediately.
*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*"*




More information about the DBIx-Class mailing list