[ https://issues.apache.org/jira/browse/MESOS-5425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15303641#comment-15303641 ]
Yanyan Hu commented on MESOS-5425: ---------------------------------- Make some change on implementation of converting between "Ranges" and "IntervalSet", now the latest test results of subtraction between two "Ranges" values is: res2 range_size execution time(second) 1 0.003 100 0.05 200 0.007 400 0.010 800 0.017 1600 0.032 3200 0.064 > Consider using IntervalSet for Port range resource math > ------------------------------------------------------- > > Key: MESOS-5425 > URL: https://issues.apache.org/jira/browse/MESOS-5425 > Project: Mesos > Issue Type: Improvement > Components: allocation > Reporter: Joseph Wu > Labels: mesosphere > > Follow-up JIRA for comments raised in MESOS-3051 (see comments there). > We should consider utilizing > [{{IntervalSet}}|https://github.com/apache/mesos/blob/a0b798d2fac39445ce0545cfaf05a682cd393abe/3rdparty/stout/include/stout/interval.hpp] > in [Port range resource > math|https://github.com/apache/mesos/blob/a0b798d2fac39445ce0545cfaf05a682cd393abe/src/common/values.cpp#L143]. -- This message was sent by Atlassian JIRA (v6.3.4#6332)