[Dbix-class] View Definitions for non-virtual views

Matt S Trout mst at shadowcat.co.uk
Fri Jul 21 19:33:49 GMT 2017


On Fri, Jul 21, 2017 at 10:44:55AM -0700, Francisco Obispo wrote:
> I created an RT ticket (I don’t know if it’s the right place), to
> document this behavior which I believe is a bug:
> 
> https://rt.cpan.org/Public/Bug/Display.html?id=122544

dbicdump is part of DBIx::Class::Schema::Loader not DBIx::Class itself
 
> The result is that `.pm`’s derived from a view from `dbicdump` are
> larger than they need to be, inherently using more memory, and with
> no real good purpose. There should be an option to turn this
> behavior off.

While I don't see any reason we wouldn't take a patch to supply such an
option, I confess to being surprised that this was noticeable - how did
you measure the memory usage with and without, and how big was the
difference?

-- 
Matt S Trout - Shadowcat Systems - Perl consulting with a commit bit and a clue

http://shadowcat.co.uk/blog/matt-s-trout/   http://twitter.com/shadowcat_mst/

Email me now on mst (at) shadowcat.co.uk and let's chat about how our CPAN
commercial support, training and consultancy packages could help your team.



More information about the DBIx-Class mailing list