#526 - Large tabular catalogues may use excessive RAM

Identifier #526
Issue type Minor issue (breaks specific functionality)
Title Large tabular catalogues may use excessive RAM
Status Completed
Handling member Chris Graham
Version 8.1
Addon General / Uncategorised
Description Composr tries to limit RAM used by tabular catalogues by flattening the Tempcode tree for each table row. However the Tempcode engine still can use a lot of memory when large numbers of flattened rows are appended. PHP generally is a real memory hog due to the way it stores loosely-typed dynamic data structures.

Refactor the Tempcode engine so that concatenated flattened segments are done as a single string sequence by detecting the intention for optimisation and being clever about manipulating how things are concatenated.
Steps to reproduce

Funded? No
Commits

f5de557

af060a5

The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated