Expensive calls - node_load

ramsalt - October 4, 2009 - 19:26
Project:Endless Page
Version:6.x-1.3
Component:Views Integration
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

In the function endless_page_create on line 169 you call node_load for each node loaded. This is extremely expensive considering another node_load is called on line 200 for the same nid. This slows down the performance a great deal. Just wanted to point this out.

To be able to use this I had to set the if check on line 169 to true and handle this kind of security with views.

 
 

Drupal is a registered trademark of Dries Buytaert.