Use strtr() when possible
|Reported by:||scribu||Owned by:||scribu|
When replacing strings of the same lenght, it's better to use strtr() instead of str_replace() because it's faster.
Change History (6)
- Component changed from General to Optimization
- Milestone changed from 2.8.2 to 2.9
Note: See TracTickets for help on using tickets.