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_cache_file.php

    r795 r7655  
    4444        $level = 0; 
    4545        $j = 0; 
    46         for ($i=0, $results_count = count($results); $i < $results_count && $j < $match_count; $i++) { 
     46        for ($i=0, $results_count = count($results); $i < $results_count && $j < $match_count; ++$i) { 
    4747            if ($results[$i] == $match[0][$j]) { 
    4848                // nocache tag 
     
    5353                    if ($level++ > 0) unset($results[$i]); 
    5454                } 
    55                 $j++; 
     55                ++$j; 
    5656            } elseif ($level > 0) { 
    5757                unset($results[$i]); 
Note: See TracChangeset for help on using the changeset viewer.