[drupal-devel] [feature] Increase performance of node_page

jvandyk drupal-devel at drupal.org
Sun Aug 21 20:30:53 UTC 2005


Issue status update for 
http://drupal.org/node/29335
Post a follow up: 
http://drupal.org/project/comments/add/29335

 Project:      Drupal
 Version:      cvs
 Component:    node.module
 Category:     feature requests
 Priority:     normal
 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.




jvandyk




More information about the drupal-devel mailing list