View Issue Details

IDProjectCategoryView StatusLast Update
661Composrcorepublic2013-09-27 19:46
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary661: Optimise tempcode tree growth
Description - Make code_to_prexecute an array, with codenames as keys, so we know quickly when we don't need to extend it on an attach (due to potentially having the code already) and also conserve memory (as PHP will share references). Actually why is it separate to seq_parts - check this out.

 - We don't really need to give each seq_part and preprocessable_bit a copy of the parameters during a bind operation. Flag what bits require the parameters during compilation, then only pass them through if that flag has been set.
TagsType: Performance
Attach Tags
Time estimation (hours)4
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2013-09-27 19:46

administrator   ~1795

1st part done.

2nd part not relevant - it is more expensive to chop up parameters, as currently it is a reference copy. We cannot store in the main Tempcode wrapper, as parameterisation needs to be passed through abstraction layers cleanly. What we have now is *very* efficient.

Issue History

Date Modified Username Field Change