Closed (fixed)
Project:
Pathauto
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Issue tags:
Reporter:
Created:
8 Jun 2011 at 18:12 UTC
Updated:
4 Jan 2014 at 00:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
dave reidComment #2
dave reidComment #3
dave reidComment #4
dave reidRemoving static caching in pathauto_cleanstring since that's a separate issue.
Comment #5
dave reidTested locally and it significantly reduces the amount of calls to pathauto_cleanstring() and all its related functions. This is fully-backwards-compatible if the user does not have a recent version of token.module with token_scan().
I even benchmarked this:
test.php:
Comment #6
dave reidCommitted to 6.x-2.x only, as this will not apply to 6.x-1.x, and 7.x-1.x already uses the lazy-token generation in D7.
http://drupalcode.org/project/pathauto.git/commit/af21be3