This little patch caches the results of the translation_node_nid() function in a static variable. I am using this function a lot and want to make sure that its performance is optimal.

CommentFileSizeAuthor
cache_translation_node_nid.patch1.15 KBalex_b

Comments

jose reyero’s picture

Status: Needs review » Reviewed & tested by the community

Hey Alex, sorry I had missed this one.

If you still need this one you can commit it (same for other 5.x issues),

Otherwise please close the issue

jose reyero’s picture

Status: Reviewed & tested by the community » Closed (fixed)