Changeset 815


Ignore:
Timestamp:
04/11/13 00:00:47 (9 years ago)
Author:
ramonb
Message:
  • pass arrays to template data by reference, else it will be copied
  • prevents extreme slow down at large job numbers
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.4/web/addons/job_monarch/overview.php

    r805 r815  
    885885                    $job_loop["runningtime"] = $runningtime;
    886886                }
    887                 $node_list[] = $job_loop;
    888             }
    889             $tpl_data->assign("node_list", $node_list );
     887                $node_list[] = &$job_loop;
     888            }
     889            $tpl_data->assign("node_list", &$node_list );
    890890        }
    891891    }
Note: See TracChangeset for help on using the changeset viewer.