forked from boostorg/unordered
temporarily disabled gc
This commit is contained in:
@ -571,7 +571,7 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::cout
|
std::cout
|
||||||
<<"version: 2024/01/02 11:57; "
|
<<"version: 2024/01/02 19:42; "
|
||||||
<<"capacity: "<<capacity()<<"; "
|
<<"capacity: "<<capacity()<<"; "
|
||||||
<<"rehashes: "<<rehashes<<"; "
|
<<"rehashes: "<<rehashes<<"; "
|
||||||
<<"max probe:" <<max_probe<<"\n";
|
<<"max probe:" <<max_probe<<"\n";
|
||||||
@ -888,7 +888,7 @@ public:
|
|||||||
// TODO: prove no ABA
|
// TODO: prove no ABA
|
||||||
auto pc=reinterpret_cast<unsigned char*>(pg)+n;
|
auto pc=reinterpret_cast<unsigned char*>(pg)+n;
|
||||||
if(reinterpret_cast<std::atomic<unsigned char>*>(pc)->exchange(1)!=1){
|
if(reinterpret_cast<std::atomic<unsigned char>*>(pc)->exchange(1)!=1){
|
||||||
#if 0
|
#if 1
|
||||||
auto& v=local_garbage_vector();
|
auto& v=local_garbage_vector();
|
||||||
--v.size;
|
--v.size;
|
||||||
v.mcos+=!pg->is_not_overflowed(hash);
|
v.mcos+=!pg->is_not_overflowed(hash);
|
||||||
|
Reference in New Issue
Block a user