Ticket #183 (new task)

Opened 2 years ago

Last modified 11 months ago

Check variable referencing, overwriting, memory use in Renderers

Reported by: david Owned by: dominik
Priority: normal Milestone: 1.0
Component: renderer Version:
Severity: critical Keywords:
Cc: Patch attached:

Description

Assigned templates, while retrieved and assigned as reference whereever possible, likely aren't always kept as a reference, due to the use of array_merge(). Check that, memory footprint should be as low as possible. Some, like PHPTAL, can't assign as reference, but that's not the issue anyway, since PHP is copy on change, not copy on assign. The crucial point is where the slots are merged back into the variable array inside decorate(). We might have to assign each key by hand to keep all references there, otherwise we end up with a huge copy (not sure, arrays are a bit special in this regard).

Attachments

Change History

Changed 2 years ago by david

  • milestone changed from 0.11 to 1.0

Changed 11 months ago by david

  • priority changed from high to normal

Add/Change #183 (Check variable referencing, overwriting, memory use in Renderers)

Author



Action
as new
 
Note: See TracTickets for help on using tickets.