-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/12879/
-----------------------------------------------------------

Review request for mesos.


Repository: mesos-git


Description
-------

Search frameworks & executors successively to save concat

Array.concat creates a new Array, which in this case is used once to
find frameworks and executors and then thrown away. Instead the Arrays
can be searched successively in place without allocating more memory.


Diffs
-----

  src/webui/master/static/js/controllers.js 
dae12b61001ff0c7379169242e5d125ef6ca141b 

Diff: https://reviews.apache.org/r/12879/diff/


Testing
-------

Rendered SlaveExecutor page to verify output didn't change with this commit.


Thanks,

Ross Allen

Reply via email to