Show
Ignore:
Timestamp:
08/31/2008 06:56:54 AM (3 months ago)
Author:
Geert
Message:

The mandatory router (regex) optimizations everybody was waiting for:

  • compile() about 15% faster now
  • keys() about 10% faster now
  • other minor cleanups
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/system/config/routes.php

    r3407 r3408  
    1717 * The converted regex for this route is: 
    1818 * 
    19  *     (?:([^/]+)(?:/([^/]+)(?:/([^/]+))?)?)? 
     19 *     (?:([^/]++)(?:/([^/]++)(?:/([^/]++))?)?)? 
    2020 * 
    2121 * To define a specific pattern for a key, you can use the special "regex" key: