Ticket #5320 (closed defect (bug): fixed)
Improve performance of seems_utf8() and uf8_uri_encode()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | performance |
| Cc: |
Description
seems_utf8() and uf8_uri_encode() call strlen() several times within loops. strlen() only needs to be called once and its result assigned to a variable that is tested within the loops.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

