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/phpgwapi/inc/class.contacts.inc.php

    r2 r7655  
    262262                        } 
    263263 
    264                         for ($index = 0; $index < strlen ($s1); $index++) 
     264                        for ($index = 0; $index < strlen ($s1); ++$index) 
    265265                        { 
    266266                                /* $s1 comes after $s2 */ 
     
    286286                { 
    287287                        $lastindex = count($sortarray) - 2; 
    288                         for ($subindex = 0; $subindex < $lastindex; $subindex++) 
     288                        for ($subindex = 0; $subindex < $lastindex; ++$subindex) 
    289289                        { 
    290290                                $lastiteration = $lastindex - $subindex; 
    291                                 for ($iteration = 0; $iteration < $lastiteration; $iteration++) 
     291                                for ($iteration = 0; $iteration < $lastiteration; ++$iteration) 
    292292                                { 
    293293                                        $nextchar = 0; 
Note: See TracChangeset for help on using the changeset viewer.