Rename insert() to set() to avoid confusion with std::map::insert()
authorJeff Preshing <filter-github@preshing.com>
Sun, 21 Feb 2016 18:38:01 +0000 (13:38 -0500)
committerJeff Preshing <filter-github@preshing.com>
Sun, 21 Feb 2016 18:38:01 +0000 (13:38 -0500)
commitd8d5218d427eef49eb917e0fb3a17d6ea21715b4
tree36466154082240aceced00e721afb6550e4c3c2d
parent624f46ff6ace5dfca5dcfe2606585b3aa68ae28c
Rename insert() to set() to avoid confusion with std::map::insert()

std::map::insert() will only store the value if the key doesn't already exist.
junction::ConcurrentMap_xxx::set() stores the value unconditionally.
33 files changed:
README.md
junction/ConcurrentMap_Crude.h
junction/ConcurrentMap_Grampa.cpp
junction/ConcurrentMap_Grampa.h
junction/ConcurrentMap_LeapFrog.cpp
junction/ConcurrentMap_LeapFrog.h
junction/ConcurrentMap_Linear.cpp
junction/ConcurrentMap_Linear.h
junction/SingleMap_Linear.h
junction/details/Grampa.cpp
junction/details/Grampa.h
junction/details/LeapFrog.cpp
junction/details/LeapFrog.h
junction/details/Linear.cpp
junction/details/Linear.h
junction/extra/impl/MapAdapter_CDS_Cuckoo.h
junction/extra/impl/MapAdapter_CDS_Michael.h
junction/extra/impl/MapAdapter_Folly.h
junction/extra/impl/MapAdapter_LibCuckoo.h
junction/extra/impl/MapAdapter_Linear_Mutex.h
junction/extra/impl/MapAdapter_Linear_RWLock.h
junction/extra/impl/MapAdapter_NBDS.h
junction/extra/impl/MapAdapter_Null.h
junction/extra/impl/MapAdapter_StdMap.h
junction/extra/impl/MapAdapter_TBB.h
junction/extra/impl/MapAdapter_Tervel.h
samples/MallocTest/MallocTest.cpp
samples/MapCorrectnessTests/TestChurn.h
samples/MapCorrectnessTests/TestInsertDifferentKeys.h
samples/MapCorrectnessTests/TestInsertSameKeys.h
samples/MapLinearizabilityTest/MapLinearizabilityTest.cpp
samples/MapPerformanceTests/MapPerformanceTests.cpp
samples/MapScalabilityTests/MapScalabilityTests.cpp