#4384 - Tempcode optimisations
| Identifier | #4384 |
|---|---|
| Issue type | Trivial issue (does not break functionality) |
| Title | Tempcode optimisations |
| Status | Completed |
| Handling member | Chris Graham |
| Version | 10.0.31 |
| Addon | core |
| Description | The downloads module's Tempcode can use a lot of data. Analysis of this has yielded a number of possible general performance optimisations. 1) Do not store deep preprocessable-symbol data as Tempcode unless it needs it 2) Skip symbol preprocessing in more cases where it is not needed (and document how this can save data) 3) Make sure very long download descriptions don't get saved into the Tempcode tree, via a generic function that may be used elsewhere if needed 4) Do not use a rating form in the Tempcode tree for explicit static-inline rating display 5) Use $ADDON_INSTALLED,authors in DOWNLOAD_BOX.tpl instead of an IF_NON_EMPTY check, as it can be optimised out at template compilation |
| Steps to reproduce | |
| Funded? | No |
| Commits |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There have been no comments yet