Optimize the HRI-direct collapser even more
authorPeter Rabbitson <ribasushi@cpan.org>
Wed, 20 Feb 2013 10:12:35 +0000 (11:12 +0100)
committerPeter Rabbitson <ribasushi@cpan.org>
Wed, 20 Feb 2013 10:51:50 +0000 (11:51 +0100)
commit7596ddca6b7b39d56f7d5526be65855d80c81c4b
treeb5b5ee96ef2a35f5389903c3e458a39ee560e03b
parentbdbd2ae8a0625e196ae820f85427d13629322c96
Optimize the HRI-direct collapser even more

Since we know that we will never output null-branches in the case of
HRI, we can wrap the related assemblers in a definedness condition to
never fire on a null branch, and skip entirely the calculation of
non-NULL %cur_row_ids.
Changes
lib/DBIx/Class/ResultSource/RowParser/Util.pm
t/resultset/rowparser_internals.t