> On Nov. 15, 2014, 7:17 p.m., Ben Mahler wrote:
> > include/mesos/resources.hpp, lines 312-317
> > <https://reviews.apache.org/r/28078/diff/2/?file=764753#file764753line312>
> >
> >     Could we get away with only needing <iosfwd> if we move this into the 
> > .cpp file? I think <iostream> is pretty heavyweight:
> >     
> >     ```
> >     $ time g++ iostream.cpp
> >     g++ iostream.cpp  0.19s user 0.03s system 98% cpu 0.225 total
> >     $ time g++ iosfwd.cpp
> >     g++ iosfwd.cpp  0.03s user 0.02s system 93% cpu 0.054 total
> >     ```
> >     
> >     This is after several runs to warm the file cache.

+1 for `<iosfwd>`. As mentioned in https://reviews.apache.org/r/28092/, we can 
just kill this function entirely.


- Michael


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


On Nov. 15, 2014, 6:43 a.m., Jie Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/28078/
> -----------------------------------------------------------
> 
> (Updated Nov. 15, 2014, 6:43 a.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Bugs: MESOS-1974
>     https://issues.apache.org/jira/browse/MESOS-1974
> 
> 
> Repository: mesos-git
> 
> 
> Description
> -------
> 
> See summary and ticket. This patch does not change any code (just code 
> movement).
> 
> 
> Diffs
> -----
> 
>   include/mesos/resources.hpp 0e37170262d3470570a3436b7835bb1d4a121056 
>   src/common/resources.cpp e9a0c85dc3748aa635843d98cd5993d5648ec5c2 
> 
> Diff: https://reviews.apache.org/r/28078/diff/
> 
> 
> Testing
> -------
> 
> make check
> 
> 
> Thanks,
> 
> Jie Yu
> 
>

Reply via email to