This gets called per field, on the site I'm working on, 89 times per node when migrating 1000 nodes, so we should apply the drupal_static_fast() pattern.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

catch’s picture

Status: Active » Needs review
yched’s picture

Status: Needs review » Reviewed & tested by the community

Looks good.

realityloop’s picture

drupal_static_fast.patch queued for re-testing.

marcingy’s picture

drupal_static_fast.patch queued for re-testing.

Dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to CVS HEAD. Thanks.

Status: Fixed » Closed (fixed)

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