The calls to field_info_instances() seem unnecessary and these functions are used quite a lot.

Comments

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new4.6 KB

Status: Needs review » Needs work

The last submitted patch, 1: 2213719-speedup-item-to-entity-to-item.patch, failed testing.

dave reid’s picture

Status: Needs work » Needs review
StatusFileSize
new4.56 KB

Try again.

Status: Needs review » Needs work

The last submitted patch, 3: 2213719-speedup-item-to-entity-to-item.patch, failed testing.

dave reid’s picture

Status: Needs work » Needs review
StatusFileSize
new7.06 KB

Fixed the tests. This simply changed the order in which the 'id' key appears in the field value.

dave reid’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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