- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3.7k
 
Performance optimizations #1 #12171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Merged
      
      
    
  
     Merged
                    Performance optimizations #1 #12171
Changes from 5 commits
      Commits
    
    
            Show all changes
          
          
            48 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      033aa88
              
                Fixed callable call in loop termination condition
              
              
                frankmayer a650515
              
                Fixed non-optimal regular expression
              
              
                frankmayer a33ad89
              
                Shortened syntax for applied operations
              
              
                frankmayer 4173a7f
              
                Don't use strlen() to check if string is empty.
              
              
                frankmayer 186f975
              
                Reverted preg changes. Look into those later again.
              
              
                frankmayer 19eb362
              
                Replaced call_user_func_array() with call_user_func()
              
              
                frankmayer f9cb3fe
              
                Merge unset() calls
              
              
                frankmayer d30d1d7
              
                Replaced old intval() call with modern typecasting
              
              
                frankmayer 0d1f128
              
                Optimize away substr() as index-based access
              
              
                frankmayer 321c813
              
                Merge branch 'Performance_2' into Performance_1
              
              
                frankmayer d30fe28
              
                Replace some cases of substr() with strpos()
              
              
                frankmayer 5dfd4e9
              
                Replace some stristr() with stripos()
              
              
                frankmayer 4c1cfdd
              
                Replace is_null() with null === ...
              
              
                frankmayer 271d02a
              
                Removed unnecessary ternary operators
              
              
                frankmayer c500e83
              
                Fix for Juri...
              
              
                frankmayer 44d234d
              
                Revert some changes for ... PHP5.3 compatibility
              
              
                frankmayer 6fb499b
              
                Make travis happy ....
              
              
                frankmayer 5ada9b9
              
                Make codesniffer happy...
              
              
                frankmayer c2fd895
              
                DYC!
              
              
                frankmayer de1a93e
              
                Optimize non-optimal if conditions.
              
              
                frankmayer 2aa353b
              
                codsniffer...
              
              
                frankmayer 307cd94
              
                Inline one-time use variables
              
              
                frankmayer 062ef22
              
                Codesniffer...
              
              
                frankmayer 1bc9d8f
              
                Flipped comparisons
              
              
                frankmayer 7d287f0
              
                Flipped comparisons
              
              
                frankmayer 53d4854
              
                Fix removal of ternary operator. Forgot inversion.
              
              
                frankmayer 5f6d634
              
                More flipping of  comparisons ;)
              
              
                frankmayer 2e2df19
              
                Removed another unnecessary set of ternary operators.
              
              
                frankmayer 6b3e0fb
              
                Codesniffer...
              
              
                frankmayer 171f66b
              
                Type-safe comparisons on strings
              
              
                frankmayer a730ca0
              
                More type-safe comparisons
              
              
                frankmayer 1ff621a
              
                Changes that occurred during PR discussion
              
              
                frankmayer ba6ac8a
              
                Merge branch 'staging' into Performance_1
              
              
                frankmayer c67b374
              
                Remove some unnecessary parentheses
              
              
                frankmayer 7e02da0
              
                Removed empty if-group and reversed condition
              
              
                frankmayer a924e5c
              
                Merge branch 'staging' into Performance_1
              
              
                frankmayer e0b11c7
              
                Merge branch 'staging' into Performance_1
              
              
                frankmayer 22fc1c4
              
                Merge branch 'staging' into Performance_1
              
              
                frankmayer 4b30c17
              
                Corrections on errors during merge (Conflict resolving)
              
              
                frankmayer e3f8617
              
                Missed one.
              
              
                frankmayer 7d7b3cd
              
                Remove a parenthesis
              
              
                frankmayer 42a6146
              
                Changes according to reviewer's comment
              
              
                frankmayer cb5ee93
              
                Revert change because of failure
              
              
                frankmayer bb10022
              
                Changes according to reviewer's comment
              
              
                frankmayer c4157d9
              
                reversed change, though according to the method's doc that value shou…
              
              
                frankmayer ec2c21a
              
                Hopefully fixed...
              
              
                frankmayer c0d3b44
              
                Hopefully fixed...
              
              
                frankmayer 3619945
              
                Re-apply some changes
              
              
                frankmayer File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@frankmayer good find.