Closed (fixed)
Project:
Project
Version:
6.x-1.x-dev
Component:
Releases
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
28 Nov 2009 at 20:27 UTC
Updated:
12 Dec 2009 at 20:40 UTC
For some reason, I was under the mistaken impression that taxonomy_get_tree() cached its results. It does not. We call project_release_get_api_taxonomy() a lot, and it's never going to change during a page load, so we should just stash the $tree in a static and reuse it once we've computed it once. Ditto project_release_get_release_type_vocabulary().
Comments
Comment #1
dwwhttp://drupal.org/cvs?commit=295112