Ignore:
Timestamp:
12/14/12 14:30:35 (11 years ago)
Author:
douglasz
Message:

Ticket #3236 - Melhorias de performance no codigo do Expresso.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/workflow/inc/smarty/internals/core.write_compiled_include.php

    r795 r7655  
    3838 
    3939    $this_varname = ((double)phpversion() >= 5.0) ? '_smarty' : 'this'; 
    40     for ($_i = 0, $_for_max = count($_match_source); $_i < $_for_max; $_i++) { 
     40    for ($_i = 0, $_for_max = count($_match_source); $_i < $_for_max; ++$_i) { 
    4141        $_match =& $_match_source[$_i]; 
    4242        $source = $_match[4]; 
     
    5757            } 
    5858 
    59             for ($i=0, $count = count($tokens); $i < $count; $i++) { 
     59            for ($i=0, $count = count($tokens); $i < $count; ++$i) { 
    6060                if (is_array($tokens[$i])) { 
    6161                    if ($tokens[$i][0] == T_VARIABLE && $tokens[$i][1] == '$this') { 
Note: See TracChangeset for help on using the changeset viewer.