Meng Zhu created MESOS-9504:
-------------------------------
Summary: Use a more efficient type instead of full `Resources` to
express resource quantity in the allocator.
Key: MESOS-9504
URL: https://issues.apache.org/jira/browse/MESOS-9504
Project: Mesos
Issue Type: Improvement
Components: allocation
Reporter: Meng Zhu
Assignee: Meng Zhu
In allocator and sorter, we need to do a lot of quantity calculations.
Currently, we use the full `Resources` type with utilities like
`createScalarResourceQuantities()`, even though we only care about quantities.
Replace `Resources` with a more compact and performant type will improve
performance and simplify code logic.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)