Delay creation of single-row prefetched resultsets when inflating
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Tue, 19 Aug 2014 11:10:08 +0000 (12:10 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sat, 22 Nov 2014 17:32:25 +0000 (17:32 +0000)
commit7dbcc8a6806dcc6f347a942c7484ca2cd5a380a0
tree3a571d1e5c0782616e5dce4abceac283250bca20
parent74b5397c077a964ed301d18f5ccda72afa91f353
Delay creation of single-row prefetched resultsets when inflating

The RS is only needed if the user does ->related_resultset($name), and
creating it is taking up a significant amount of time when prefetching
belongs_to rels on many rows.
lib/DBIx/Class/Relationship/Base.pm
lib/DBIx/Class/Row.pm