mesos-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Peach <>
Subject Re: Review Request 58304: Remove unnecessary hashmap lookups.
Date Mon, 10 Apr 2017 15:50:15 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated April 10, 2017, 3:50 p.m.)

Review request for mesos and Mesos Reviewbot.

Bugs: MESOS-7372

Repository: mesos


In a number of places, we tested whether the slaves hashmap contains
the desired element before indexing it. It is safe to just index it and
check for a NULL result, which saves us some hashing and lookups.


  src/master/master.cpp c1f3c4f3bbcbfb10ae8fc974bd4a16ec070a79fd 



Make check (Fedora 25). Internal fuzzing.


James Peach

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message