Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
overall optimization of map usage
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 24 Jul 2017 08:51:56 +0000 (10:51 +0200)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Mon, 24 Jul 2017 08:51:56 +0000 (10:51 +0200)
commitc897fb0d193bbe081581d7ea7f579f04df1b5b5d
treeb6a586779398fa6e85dacbfa06466287bae82a95
parent86ad7bacaf8c0b206a62bf87193ca6800006a854
overall optimization of map usage
replace all find != end + at by a try/catch on at.
This should save a useless traversal of the [unordered_]map each time
we want to access an element.
src/kernel/routing/NetZoneImpl.cpp
src/kernel/routing/VivaldiZone.cpp
src/s4u/s4u_engine.cpp
src/s4u/s4u_host.cpp
src/simix/ActorImpl.cpp
src/smpi/mpi/smpi_group.cpp
src/surf/FileImpl.cpp
src/surf/network_interface.cpp
src/xbt/xbt_replay.cpp