Opened 19 years ago
Closed 19 years ago
#5320 closed defect (bug) (fixed)
Improve performance of seems_utf8() and uf8_uri_encode()
| Reported by: | ryan | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.5 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | performance |
| Cc: | Focuses: |
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 (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [6314]) Improve performance of seems_utf8() and uf8_uri_encode(). fixes #5320