Closed (fixed)
Project:
Nodequeue
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
18 Aug 2010 at 17:29 UTC
Updated:
18 May 2011 at 10:31 UTC
Jump to comment: Most recent file
This patch contains two optimizations for nodequeue_node_tab_access().
nodequeue_use_tab option is disabled, there is no need to do anything further.| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 886972-optimize_nodequeue_node_tab_access-D6.patch | 1.21 KB | amateescu |
| #1 | 886972-optimize_nodequeue_node_tab_access.patch | 1.16 KB | amateescu |
| nodequeue_node_tab_access-1.patch | 1.13 KB | c960657 |
Comments
Comment #1
amateescu commentedGreat patch!
I changed it a bit to check the
nodequeue_use_tabvariable first becausevariable_get()is faster thanuser_access().Commited attached patches to 6.x and 7.x. Thanks!
http://drupalcode.org/project/nodequeue.git/commit/5666adb
http://drupalcode.org/project/nodequeue.git/commit/977bc1a