Opened 20 years ago
Closed 20 years ago
#3201 closed enhancement (fixed)
convert_smilies optimization
| Reported by: | Nazgul | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.1 |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
Now that smilies are built using a regex, it is possible for us to optimize convert_smilies.
It splits and loops through all content passed to it, calling a regex on each line.
The attached patch replaces that loop with a single regex.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Present patch also fixes #3216.