Closed (fixed)
Project:
Drupal core
Component:
node.module
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
21 Aug 2005 at 20:22 UTC
Updated:
19 Sep 2005 at 12:29 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| node_speedyview.patch | 1.8 KB | jvandyk |
Comments
Comment #1
jvandyk commentedEr, that's node_page(), not node_pager().
Comment #2
dries commentedCommitted to HEAD. Thanks.
Comment #3
(not verified) commentedComment #4
(not verified) commentedComment #5
(not verified) commented