The switch statement on $op in node_pager() currently has to go through feed, add, revisions, rollback-revision, delete-revision and edit cases before hitting the most common case, the view operation.

This patch simply moves the location of the view operation to second, after feed, as we want view to be as fast as possible.

It also removes the blank line before the delete case for consistency.

CommentFileSizeAuthor
node_speedyview.patch1.8 KBjvandyk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jvandyk’s picture

Er, that's node_page(), not node_pager().

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)