Caching get_matching_ad_code return value #77

Merged
merged 1 commit into from Jun 5, 2013

Conversation

Projects
None yet
1 participant
Collaborator

rinatkhaziev commented Jun 5, 2013

get_matching_ad_code() might be expensive when there's a lot of ad codes with complex conditionals. Mitigate that by caching matched ad code results.

rinatkhaziev added a commit that referenced this pull request Jun 5, 2013

Merge pull request #77 from Automattic/acm-tag-caching
Caching get_matching_ad_code return value

@rinatkhaziev rinatkhaziev merged commit 3e7b858 into master Jun 5, 2013

@rinatkhaziev rinatkhaziev deleted the acm-tag-caching branch Jun 5, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment