radioactivity_get_energies_for_source: Resolve subclass only when required (Optimization)

skiminki - August 28, 2008 - 19:03
Project:Radioactivity
Version:5.x-1.2-rc1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Currently subclass is always resolved even if not required. For instance: node subclasses are node types (like node:story, node:page). Subclass resolution is required only when there are subclass specific energy values for a specific source. For instance, if there is no subclass-specific energy values for node view, it is very much pointless to resolve the specific node type to obtain energy for view. Resolving node type involves database traffic, which obviously is not a good thing for an active site.

#1

skiminki - August 28, 2008 - 20:23
Status:active» fixed

Committed: http://drupal.org/cvs?commit=136720

temp

Anonymous (not verified) - September 11, 2008 - 20:34

Automatically closed -- issue fixed for two weeks with no activity.

#2

Anonymous (not verified) - September 11, 2008 - 20:42
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.