Welcome Guest, Not a member yet? Register   Sign In
Mod to have language keys automatically recognized by the template parser
#7

[eluser]Yoglets[/eluser]
Well, good news and bad news. It's faster and slower. If you have a large number of unused keys and a very small template, it's faster. But as soon as the template grows, even if the number of unused keys remains large, the cost of the one preg_match_all() call offsets all of the failed str_replace() calls. I'll try various combinations to see if maybe there's a somewhat predictable pattern, like only do the replacement if the template is less then 1K in size or something.


Messages In This Thread
Mod to have language keys automatically recognized by the template parser - by El Forum - 07-17-2007, 08:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB