[drupal-devel] [feature] Increase performance of node_page
drupal-devel at drupal.org
Sun Aug 21 20:30:53 UTC 2005
Issue status update for
Post a follow up:
Category: feature requests
Assigned to: jvandyk
Reported by: jvandyk
Updated by: jvandyk
Status: patch (ready to be committed)
Attachment: http://drupal.org/files/issues/node_speedyview.patch (1.8 KB)
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.
More information about the drupal-devel