LLVMFuzzerTestOneInput:
   18|  9.09k|{
   19|  9.09k|    constexpr auto var_count = 8;
   20|  9.09k|    constexpr auto bits      = 2;
   21|       |
   22|  9.09k|    using vector_t =
   23|  9.09k|        immer::flex_vector<int, immer::default_memory_policy, bits, bits>;
   24|  9.09k|    using size_t = std::uint8_t;
   25|       |
   26|  9.09k|    auto vars = std::array<vector_t, var_count>{};
   27|       |
   28|  9.09k|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
   29|  9.09k|    auto is_valid_var_neq = [](auto other) {
   30|  9.09k|        return [=](auto idx) {
   31|  9.09k|            return idx >= 0 && idx < var_count && idx != other;
   32|  9.09k|        };
   33|  9.09k|    };
   34|  9.09k|    auto is_valid_index = [](auto& v) {
   35|  9.09k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|  9.09k|    };
   37|  9.09k|    auto is_valid_size = [](auto& v) {
   38|  9.09k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|  9.09k|    };
   40|  9.09k|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  9.09k|        return v1.size() + v2.size() < vector_t::max_size();
   42|  9.09k|    };
   43|  9.09k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  9.09k|        return v.size() < (1 << 15);
   46|  9.09k|    };
   47|  9.09k|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  9.09k|        enum ops
   49|  9.09k|        {
   50|  9.09k|            op_push_back,
   51|  9.09k|            op_update,
   52|  9.09k|            op_take,
   53|  9.09k|            op_drop,
   54|  9.09k|            op_concat,
   55|  9.09k|            op_push_back_move,
   56|  9.09k|            op_update_move,
   57|  9.09k|            op_take_move,
   58|  9.09k|            op_drop_move,
   59|  9.09k|            op_concat_move_l,
   60|  9.09k|            op_concat_move_r,
   61|  9.09k|            op_concat_move_lr,
   62|  9.09k|            op_insert,
   63|  9.09k|            op_erase,
   64|  9.09k|            op_compare,
   65|  9.09k|        };
   66|  9.09k|        auto src = read<char>(in, is_valid_var);
   67|  9.09k|        auto dst = read<char>(in, is_valid_var);
   68|  9.09k|        switch (read<char>(in)) {
   69|  9.09k|        case op_push_back: {
   70|  9.09k|            vars[dst] = vars[src].push_back(42);
   71|  9.09k|            break;
   72|  9.09k|        }
   73|  9.09k|        case op_update: {
   74|  9.09k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|  9.09k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|  9.09k|            break;
   77|  9.09k|        }
   78|  9.09k|        case op_take: {
   79|  9.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  9.09k|            vars[dst] = vars[src].take(idx);
   81|  9.09k|            break;
   82|  9.09k|        }
   83|  9.09k|        case op_drop: {
   84|  9.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  9.09k|            vars[dst] = vars[src].drop(idx);
   86|  9.09k|            break;
   87|  9.09k|        }
   88|  9.09k|        case op_concat: {
   89|  9.09k|            auto src2 = read<char>(in, is_valid_var);
   90|  9.09k|            if (can_concat(vars[src], vars[src2]))
   91|  9.09k|                vars[dst] = vars[src] + vars[src2];
   92|  9.09k|            break;
   93|  9.09k|        }
   94|  9.09k|        case op_push_back_move: {
   95|  9.09k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  9.09k|            break;
   97|  9.09k|        }
   98|  9.09k|        case op_update_move: {
   99|  9.09k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  9.09k|            vars[dst] =
  101|  9.09k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  9.09k|            break;
  103|  9.09k|        }
  104|  9.09k|        case op_take_move: {
  105|  9.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  9.09k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  9.09k|            break;
  108|  9.09k|        }
  109|  9.09k|        case op_drop_move: {
  110|  9.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  9.09k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  9.09k|            break;
  113|  9.09k|        }
  114|  9.09k|        case op_concat_move_l: {
  115|  9.09k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|  9.09k|            if (can_concat(vars[src], vars[src2]))
  117|  9.09k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|  9.09k|            break;
  119|  9.09k|        }
  120|  9.09k|        case op_concat_move_r: {
  121|  9.09k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  9.09k|            if (can_concat(vars[src], vars[src2]))
  123|  9.09k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  9.09k|            break;
  125|  9.09k|        }
  126|  9.09k|        case op_concat_move_lr: {
  127|  9.09k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  9.09k|            if (can_concat(vars[src], vars[src2]))
  129|  9.09k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  9.09k|            break;
  131|  9.09k|        }
  132|  9.09k|        case op_compare: {
  133|  9.09k|            using std::swap;
  134|  9.09k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  135|  9.09k|                swap(vars[src], vars[dst]);
  136|  9.09k|            break;
  137|  9.09k|        }
  138|  9.09k|        case op_erase: {
  139|  9.09k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  9.09k|            vars[dst] = vars[src].erase(idx);
  141|  9.09k|            break;
  142|  9.09k|        }
  143|  9.09k|        case op_insert: {
  144|  9.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  9.09k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  9.09k|            break;
  147|  9.09k|        }
  148|  9.09k|        default:
  149|  9.09k|            break;
  150|  9.09k|        };
  151|  9.09k|        return true;
  152|  9.09k|    });
  153|  9.09k|}
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_:
   47|  1.93M|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  1.93M|        enum ops
   49|  1.93M|        {
   50|  1.93M|            op_push_back,
   51|  1.93M|            op_update,
   52|  1.93M|            op_take,
   53|  1.93M|            op_drop,
   54|  1.93M|            op_concat,
   55|  1.93M|            op_push_back_move,
   56|  1.93M|            op_update_move,
   57|  1.93M|            op_take_move,
   58|  1.93M|            op_drop_move,
   59|  1.93M|            op_concat_move_l,
   60|  1.93M|            op_concat_move_r,
   61|  1.93M|            op_concat_move_lr,
   62|  1.93M|            op_insert,
   63|  1.93M|            op_erase,
   64|  1.93M|            op_compare,
   65|  1.93M|        };
   66|  1.93M|        auto src = read<char>(in, is_valid_var);
   67|  1.93M|        auto dst = read<char>(in, is_valid_var);
   68|  1.93M|        switch (read<char>(in)) {
   69|   406k|        case op_push_back: {
  ------------------
  |  Branch (69:9): [True: 406k, False: 1.52M]
  ------------------
   70|   406k|            vars[dst] = vars[src].push_back(42);
   71|   406k|            break;
   72|      0|        }
   73|   126k|        case op_update: {
  ------------------
  |  Branch (73:9): [True: 126k, False: 1.80M]
  ------------------
   74|   126k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|   126k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|   126k|            break;
   77|      0|        }
   78|  1.75k|        case op_take: {
  ------------------
  |  Branch (78:9): [True: 1.75k, False: 1.93M]
  ------------------
   79|  1.75k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  1.75k|            vars[dst] = vars[src].take(idx);
   81|  1.75k|            break;
   82|      0|        }
   83|  3.20k|        case op_drop: {
  ------------------
  |  Branch (83:9): [True: 3.20k, False: 1.93M]
  ------------------
   84|  3.20k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  3.20k|            vars[dst] = vars[src].drop(idx);
   86|  3.20k|            break;
   87|      0|        }
   88|   925k|        case op_concat: {
  ------------------
  |  Branch (88:9): [True: 925k, False: 1.00M]
  ------------------
   89|   925k|            auto src2 = read<char>(in, is_valid_var);
   90|   925k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (90:17): [True: 881k, False: 43.0k]
  ------------------
   91|   881k|                vars[dst] = vars[src] + vars[src2];
   92|   925k|            break;
   93|      0|        }
   94|  12.2k|        case op_push_back_move: {
  ------------------
  |  Branch (94:9): [True: 12.2k, False: 1.92M]
  ------------------
   95|  12.2k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  12.2k|            break;
   97|      0|        }
   98|  49.9k|        case op_update_move: {
  ------------------
  |  Branch (98:9): [True: 49.9k, False: 1.88M]
  ------------------
   99|  49.9k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  49.9k|            vars[dst] =
  101|  49.9k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  49.9k|            break;
  103|      0|        }
  104|  36.3k|        case op_take_move: {
  ------------------
  |  Branch (104:9): [True: 36.3k, False: 1.89M]
  ------------------
  105|  36.3k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  36.3k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  36.3k|            break;
  108|      0|        }
  109|  36.7k|        case op_drop_move: {
  ------------------
  |  Branch (109:9): [True: 36.7k, False: 1.89M]
  ------------------
  110|  36.7k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  36.7k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  36.7k|            break;
  113|      0|        }
  114|   224k|        case op_concat_move_l: {
  ------------------
  |  Branch (114:9): [True: 224k, False: 1.71M]
  ------------------
  115|   224k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|   224k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (116:17): [True: 219k, False: 4.30k]
  ------------------
  117|   219k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|   224k|            break;
  119|      0|        }
  120|  4.20k|        case op_concat_move_r: {
  ------------------
  |  Branch (120:9): [True: 4.20k, False: 1.93M]
  ------------------
  121|  4.20k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  4.20k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (122:17): [True: 3.90k, False: 306]
  ------------------
  123|  3.90k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  4.20k|            break;
  125|      0|        }
  126|  2.30k|        case op_concat_move_lr: {
  ------------------
  |  Branch (126:9): [True: 2.30k, False: 1.93M]
  ------------------
  127|  2.30k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  2.30k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (128:17): [True: 1.66k, False: 638]
  ------------------
  129|  1.66k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  2.30k|            break;
  131|      0|        }
  132|  44.2k|        case op_compare: {
  ------------------
  |  Branch (132:9): [True: 44.2k, False: 1.89M]
  ------------------
  133|  44.2k|            using std::swap;
  134|  44.2k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  ------------------
  |  Branch (134:17): [True: 40.9k, False: 3.23k]
  |  Branch (134:43): [True: 11.5k, False: 29.4k]
  ------------------
  135|  11.5k|                swap(vars[src], vars[dst]);
  136|  44.2k|            break;
  137|      0|        }
  138|  3.58k|        case op_erase: {
  ------------------
  |  Branch (138:9): [True: 3.58k, False: 1.93M]
  ------------------
  139|  3.58k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  3.58k|            vars[dst] = vars[src].erase(idx);
  141|  3.58k|            break;
  142|      0|        }
  143|  20.1k|        case op_insert: {
  ------------------
  |  Branch (143:9): [True: 20.1k, False: 1.91M]
  ------------------
  144|  20.1k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  20.1k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  20.1k|            break;
  147|      0|        }
  148|  28.6k|        default:
  ------------------
  |  Branch (148:9): [True: 28.6k, False: 1.90M]
  ------------------
  149|  28.6k|            break;
  150|  1.93M|        };
  151|  1.92M|        return true;
  152|  1.93M|    });
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clIcEEDaT_:
   28|  5.12M|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
  ------------------
  |  Branch (28:48): [True: 4.95M, False: 173k]
  |  Branch (28:60): [True: 4.77M, False: 175k]
  ------------------
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_ENKUlSC_E_clIhEEDaSC_:
   35|   220k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
  ------------------
  |  Branch (35:39): [True: 220k, False: 0]
  |  Branch (35:51): [True: 179k, False: 40.8k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   34|   179k|    auto is_valid_index = [](auto& v) {
   35|   179k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|   179k|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E_clIiEEDaS2_:
   75|   126k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_ENKUlSC_E_clIhEEDaSC_:
   38|   109k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
  ------------------
  |  Branch (38:39): [True: 109k, False: 0]
  |  Branch (38:51): [True: 98.0k, False: 11.4k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   37|  98.2k|    auto is_valid_size = [](auto& v) {
   38|  98.2k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|  98.2k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_4clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEESC_EEDaOT_OT0_:
   40|  1.15M|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  1.15M|        return v1.size() + v2.size() < vector_t::max_size();
   42|  1.15M|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E0_clIiEEDaS2_:
  101|  49.9k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_ENKUlS1_E_clIcEEDaS1_:
   30|   258k|        return [=](auto idx) {
   31|   258k|            return idx >= 0 && idx < var_count && idx != other;
  ------------------
  |  Branch (31:20): [True: 253k, False: 5.06k]
  |  Branch (31:32): [True: 245k, False: 8.06k]
  |  Branch (31:51): [True: 230k, False: 15.1k]
  ------------------
   32|   258k|        };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_:
   29|   230k|    auto is_valid_var_neq = [](auto other) {
   30|   230k|        return [=](auto idx) {
   31|   230k|            return idx >= 0 && idx < var_count && idx != other;
   32|   230k|        };
   33|   230k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_5clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
   43|  44.2k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  44.2k|        return v.size() < (1 << 15);
   46|  44.2k|    };

flex-vector.cpp:_ZN12fuzzer_input3runIZ22LLVMFuzzerTestOneInputE3$_6EEiT_:
   50|  9.09k|    {
   51|  9.09k|        if (size_ > fuzzer_input_max_size)
  ------------------
  |  Branch (51:13): [True: 8, False: 9.08k]
  ------------------
   52|      8|            return 0;
   53|  9.08k|        try {
   54|  1.93M|            while (step(*this))
  ------------------
  |  Branch (54:20): [True: 1.92M, False: 9.08k]
  ------------------
   55|  1.92M|                continue;
   56|  9.08k|        } catch (const no_more_input&) {
   57|  9.08k|        };
   58|  9.08k|        return 0;
   59|  9.08k|    }
flex-vector.cpp:_Z4readIcZ22LLVMFuzzerTestOneInputE3$_0ET_R12fuzzer_inputT0_:
   70|  4.78M|{
   71|  4.78M|    auto x = read<T>(fz);
   72|  5.13M|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 348k, False: 4.78M]
  ------------------
   73|   348k|        x = read<T>(fz);
   74|  4.78M|    return x;
   75|  4.78M|}
_Z4readIcERKT_R12fuzzer_input:
   64|  7.31M|{
   65|  7.31M|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|  7.31M|}
_ZN12fuzzer_input4nextEmm:
   40|  7.64M|    {
   41|  7.64M|        auto& p = const_cast<void*&>(reinterpret_cast<const void*&>(data_));
   42|  7.64M|        auto r  = std::align(align, size, p, size_);
   43|  7.64M|        if (r == nullptr)
  ------------------
  |  Branch (43:13): [True: 9.08k, False: 7.64M]
  ------------------
   44|  9.08k|            throw no_more_input{};
   45|  7.64M|        return next(size);
   46|  7.64M|    }
_ZN12fuzzer_input4nextEm:
   30|  7.64M|    {
   31|  7.64M|        if (size_ < size)
  ------------------
  |  Branch (31:13): [True: 0, False: 7.64M]
  ------------------
   32|      0|            throw no_more_input{};
   33|  7.64M|        auto r = data_;
   34|  7.64M|        data_ += size;
   35|  7.64M|        size_ -= size;
   36|  7.64M|        return r;
   37|  7.64M|    }
flex-vector.cpp:_Z4readIhZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_EUlSD_E_ESD_R12fuzzer_inputT0_:
   70|   179k|{
   71|   179k|    auto x = read<T>(fz);
   72|   220k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 40.8k, False: 179k]
  ------------------
   73|  40.8k|        x = read<T>(fz);
   74|   179k|    return x;
   75|   179k|}
_Z4readIhERKT_R12fuzzer_input:
   64|   330k|{
   65|   330k|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|   330k|}
flex-vector.cpp:_Z4readIhZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS2_13memory_policyINS2_21free_list_heap_policyINS2_8cpp_heapELm1024EEENS2_15refcount_policyENS2_15spinlock_policyENS2_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_EUlSD_E_ESD_R12fuzzer_inputT0_:
   70|  98.2k|{
   71|  98.2k|    auto x = read<T>(fz);
   72|   109k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 11.4k, False: 98.2k]
  ------------------
   73|  11.4k|        x = read<T>(fz);
   74|  98.2k|    return x;
   75|  98.2k|}
flex-vector.cpp:_Z4readIcZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_EUlS2_E_ES2_R12fuzzer_inputT0_:
   70|   230k|{
   71|   230k|    auto x = read<T>(fz);
   72|   258k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 28.2k, False: 230k]
  ------------------
   73|  28.2k|        x = read<T>(fz);
   74|   230k|    return x;
   75|   230k|}

_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEC2IiviEEOT_:
   85|  20.1k|        : impl_{detail::make<heap, holder>(std::forward<Arg>(arg))}
   86|  20.1k|    {
   87|  20.1k|    }
_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderC2IJiEEEDpOT_:
   47|  20.1k|            : value(std::forward<Args>(args)...)
   48|  20.1k|        {
   49|  20.1k|        }
_ZNK5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEEcvRKiEv:
  142|  20.1k|    operator const T&() const { return get(); }
_ZNK5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE3getEv:
  139|  20.1k|    IMMER_NODISCARD const T& get() const { return impl_->value; }
_ZN5immer3boxIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEED2Ev:
  131|  20.1k|    {
  132|  20.1k|        if (impl_ && impl_->dec()) {
  ------------------
  |  Branch (132:13): [True: 20.1k, False: 0]
  |  Branch (132:22): [True: 20.1k, False: 0]
  ------------------
  133|  20.1k|            impl_->~holder();
  134|  20.1k|            heap::deallocate(sizeof(holder), impl_);
  135|  20.1k|        }
  136|  20.1k|    }

_ZN5immer6detail3csl3getINS_15refcount_policyEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEES3_NS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS3_NS1_7inheritINSC_5applyISA_E4type5owneeEvE4typeEE4typeEE4typeE:
  170|  96.6M|        {
  171|  96.6M|            return x.get_(type_t<U>{});
  172|  96.6M|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_IS9_EEDcNS1_6type_tIT_EE:
  184|  96.6M|        {
  185|  96.6M|            return n.get_(t);
  186|  96.6M|        }
_ZNK5immer6detail3csl6memberINS_15refcount_policyENS1_7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4typeEE4type4get_ENS1_6type_tIS3_EE:
  128|   107M|        const T& get_(type_t<T>) const { return d; }
_ZN5immer6detail3csl3getINS_15refcount_policyEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEES3_NS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS3_NS1_7inheritINSC_5applyISA_E4type5owneeEvE4typeEE4typeEE4typeE:
  170|  11.1M|        {
  171|  11.1M|            return x.get_(type_t<U>{});
  172|  11.1M|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_IS9_EEDcNS1_6type_tIT_EE:
  184|  11.1M|        {
  185|  11.1M|            return n.get_(t);
  186|  11.1M|        }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  165|  10.6M|        {
  166|  10.6M|            return x.get_(type_t<U>{});
  167|  10.6M|        }
_ZN5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  179|  10.6M|        {
  180|  10.6M|            return n.get_(t);
  181|  10.6M|        }
_ZN5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  102|  26.1M|        T& get_(type_t<T>) { return *this; }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  165|  15.5M|        {
  166|  15.5M|            return x.get_(type_t<U>{});
  167|  15.5M|        }
_ZN5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  179|  15.5M|        {
  180|  15.5M|            return n.get_(t);
  181|  15.5M|        }
_ZN5immer6detail3csl3getINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEEEDcRKNS1_10member_twoINS0_4rbts4nodeIiNS_13memory_policyIS7_NS_15refcount_policyENS_15spinlock_policyES3_Lb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberISF_NS1_7inheritISA_vE4typeEE4typeEE4typeE:
  170|  86.4k|        {
  171|  86.4k|            return x.get_(type_t<U>{});
  172|  86.4k|        }
_ZNK5immer6detail3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11impl_data_tENS1_6memberIS9_NS1_7inheritINSB_5applyIS8_E4type5owneeEvE4typeEE4typeEE4type4get_ISK_EEDcNS1_6type_tIT_EE:
  184|  86.4k|        {
  185|  86.4k|            return n.get_(t);
  186|  86.4k|        }
_ZNK5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  103|  86.4k|        const T& get_(type_t<T>) const { return *this; }

_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EdeEv:
   99|  5.85M|    ReferenceT operator*() const { return access_t::dereference(derived()); }
_ZN5immer6detail20iterator_core_access11dereferenceIRKNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   22|  5.85M|    {
   23|  5.85M|        return x.dereference();
   24|  5.85M|    }
_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_E7derivedEv:
   86|  5.91M|    {
   87|  5.91M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   88|  5.91M|                      "must pass a derived thing");
   89|  5.91M|        return *static_cast<const DerivedT*>(this);
   90|  5.91M|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EpLEl:
  151|   271k|    {
  152|   271k|        access_t::advance(derived(), n);
  153|   271k|        return derived();
  154|   271k|    }
_ZN5immer6detail20iterator_core_access7advanceIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEElEEDcOT_T0_:
   46|   271k|    {
   47|   271k|        return x.advance(d);
   48|   271k|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_E7derivedEv:
   92|  9.35M|    {
   93|  9.35M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   94|  9.35M|                      "must pass a derived thing");
   95|  9.35M|        return *static_cast<DerivedT*>(this);
   96|  9.35M|    }
_ZN5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EppEv:
  119|  4.40M|    {
  120|  4.40M|        access_t::increment(derived());
  121|  4.40M|        return derived();
  122|  4.40M|    }
_ZN5immer6detail20iterator_core_access9incrementIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   28|  4.40M|    {
   29|  4.40M|        return x.increment();
   30|  4.40M|    }
_ZNK5immer6detail15iterator_facadeINS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENSt3__126random_access_iterator_tagEiRKilPSF_EplISI_TnNSD_9enable_ifIXsrT_16is_random_accessEbE4typeELb1EEESC_l:
  164|  63.0k|    {
  165|  63.0k|        auto tmp = derived();
  166|  63.0k|        return tmp += n;
  167|  63.0k|    }

_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17make_inner_n_intoEPvmj:
  213|  2.99M|    {
  214|  2.99M|        assert(n <= branches<B>);
  ------------------
  |  Branch (214:9): [True: 2.99M, False: 0]
  ------------------
  215|  2.99M|        assert(size >= sizeof_inner_n(n));
  ------------------
  |  Branch (215:9): [True: 2.99M, False: 0]
  ------------------
  216|  2.99M|        auto p                       = new (buffer) node_t;
  217|  2.99M|        p->impl.d.data.inner.relaxed = nullptr;
  218|  2.99M|#if IMMER_TAGGED_NODE
  219|  2.99M|        p->impl.d.kind = node_t::kind_t::inner;
  220|  2.99M|#endif
  221|  2.99M|        return p;
  222|  2.99M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14sizeof_inner_nEj:
  145|  12.0M|    {
  146|  12.0M|        return keep_headroom ? max_sizeof_inner : sizeof_packed_inner_n(n);
  ------------------
  |  Branch (146:16): [True: 12.0M, Folded]
  ------------------
  147|  12.0M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  956|  26.4M|    {
  957|  26.4M|        refs(this).inc();
  958|  26.4M|        return this;
  959|  26.4M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKSB_:
  203|  96.6M|    {
  204|  96.6M|        return auto_const_cast(get<refs_t>(x->impl));
  205|  96.6M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16make_leaf_n_intoEPvmj:
  330|  1.24M|    {
  331|  1.24M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (331:9): [True: 1.24M, False: 0]
  ------------------
  332|  1.24M|        assert(size >= sizeof_leaf_n(n));
  ------------------
  |  Branch (332:9): [True: 1.24M, False: 0]
  ------------------
  333|  1.24M|        auto p = new (buffer) node_t;
  334|  1.24M|#if IMMER_TAGGED_NODE
  335|  1.24M|        p->impl.d.kind = node_t::kind_t::leaf;
  336|  1.24M|#endif
  337|  1.24M|        return p;
  338|  1.24M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13sizeof_leaf_nEj:
  160|  5.18M|    {
  161|  5.18M|        return keep_headroom ? max_sizeof_leaf : sizeof_packed_leaf_n(n);
  ------------------
  |  Branch (161:16): [True: 5.18M, Folded]
  ------------------
  162|  5.18M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7relaxedEv:
  172|   157M|    {
  173|   157M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   157M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (173:9): [True: 157M, False: 0]
  ------------------
  174|   157M|        return impl.d.data.inner.relaxed;
  175|   157M|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4kindEv:
  168|   302M|    kind_t kind() const { return impl.d.kind; }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3decEv:
  967|  55.1M|    bool dec() const { return refs(this).dec(); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5innerEv:
  184|   104M|    {
  185|   104M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   104M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (185:9): [True: 104M, False: 0]
  ------------------
  186|   104M|        return impl.d.data.inner.get_storage_ptr();
  187|   104M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_j:
  832|  10.6M|    {
  833|  10.6M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  10.6M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (833:9): [True: 10.6M, False: 0]
  ------------------
  834|  10.6M|        auto r = p->relaxed();
  835|  10.6M|        assert(r);
  ------------------
  |  Branch (835:9): [True: 10.6M, False: 0]
  ------------------
  836|  10.6M|        static_if<!embed_relaxed>([&](auto) {
  837|  10.6M|            if (node_t::refs(r).dec())
  838|  10.6M|                heap::deallocate(node_t::ownee(r).owned()
  839|  10.6M|                                     ? node_t::max_sizeof_relaxed
  840|  10.6M|                                     : node_t::sizeof_relaxed_n(n),
  841|  10.6M|                                 r);
  842|  10.6M|        });
  843|  10.6M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner_r
  ------------------
  |  Branch (843:26): [True: 0, False: 10.6M]
  ------------------
  844|  10.6M|                                          : node_t::sizeof_inner_r_n(n),
  845|  10.6M|                         p);
  846|  10.6M|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_jENKUlT_E_clINS0_7empty_tEEEDaSD_:
  836|  10.6M|        static_if<!embed_relaxed>([&](auto) {
  837|  10.6M|            if (node_t::refs(r).dec())
  ------------------
  |  Branch (837:17): [True: 10.4M, False: 214k]
  ------------------
  838|  10.4M|                heap::deallocate(node_t::ownee(r).owned()
  ------------------
  |  Branch (838:34): [True: 0, False: 10.4M]
  ------------------
  839|  10.4M|                                     ? node_t::max_sizeof_relaxed
  840|  10.4M|                                     : node_t::sizeof_relaxed_n(n),
  841|  10.4M|                                 r);
  842|  10.6M|        });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  196|  11.1M|    {
  197|  11.1M|        return auto_const_cast(get<refs_t>(*x));
  198|  11.1M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  200|  10.6M|    static ownee_t& ownee(relaxed_t* x) { return get<ownee_t>(*x); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16sizeof_relaxed_nEj:
  155|  20.7M|    {
  156|  20.7M|        return keep_headroom ? max_sizeof_relaxed : sizeof_packed_relaxed_n(n);
  ------------------
  |  Branch (156:16): [True: 20.7M, Folded]
  ------------------
  157|  20.7M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPSB_:
  210|  15.5M|    static ownee_t& ownee(node_t* x) { return get<ownee_t>(x->impl); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16sizeof_inner_r_nEj:
  150|  21.2M|    {
  151|  21.2M|        return keep_headroom ? max_sizeof_inner_r : sizeof_packed_inner_r_n(n);
  ------------------
  |  Branch (151:16): [True: 21.2M, Folded]
  ------------------
  152|  21.2M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11delete_leafEPSB_j:
  861|  1.44M|    {
  862|  1.44M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::leaf);
  ------------------
  |  |   68|  1.44M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (862:9): [True: 1.44M, False: 0]
  ------------------
  863|  1.44M|        detail::destroy_n(p->leaf(), n);
  864|  1.44M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_leaf
  ------------------
  |  Branch (864:26): [True: 0, False: 1.44M]
  ------------------
  865|  1.44M|                                          : node_t::sizeof_leaf_n(n),
  866|  1.44M|                         p);
  867|  1.44M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4leafEv:
  190|  10.5M|    {
  191|  10.5M|        IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  ------------------
  |  |   68|  10.5M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (191:9): [True: 10.5M, False: 0]
  ------------------
  192|  10.5M|        return impl.d.data.leaf.get_storage_ptr();
  193|  10.5M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12delete_innerEPSB_j:
  808|  3.07M|    {
  809|  3.07M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  3.07M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (809:9): [True: 3.07M, False: 0]
  ------------------
  810|  3.07M|        assert(!p->relaxed());
  ------------------
  |  Branch (810:9): [True: 3.07M, False: 0]
  ------------------
  811|  3.07M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner
  ------------------
  |  Branch (811:26): [True: 0, False: 3.07M]
  ------------------
  812|  3.07M|                                          : node_t::sizeof_inner_n(n),
  813|  3.07M|                         p);
  814|  3.07M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17copy_leaf_emplaceIiEEPSB_SD_jOT_:
  794|   296k|    {
  795|   296k|        auto dst = copy_leaf_n(n + 1, src, n);
  796|   296k|        IMMER_TRY {
  ------------------
  |  |   49|   296k|#define IMMER_TRY try
  ------------------
  797|   296k|            new (dst->leaf() + n) T(std::forward<U>(x));
  798|   296k|        }
  799|   296k|        IMMER_CATCH (...) {
  800|      0|            detail::destroy_n(dst->leaf(), n);
  801|      0|            heap::deallocate(node_t::sizeof_leaf_n(n + 1), dst);
  802|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  803|      0|        }
  804|   296k|        return dst;
  805|   296k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_nEjPSB_j:
  696|   296k|    {
  697|   296k|        assert(allocn >= n);
  ------------------
  |  Branch (697:9): [True: 296k, False: 0]
  ------------------
  698|   296k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   296k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (698:9): [True: 296k, False: 0]
  ------------------
  699|   296k|        auto dst = make_leaf_n(allocn);
  700|   296k|        IMMER_TRY {
  ------------------
  |  |   49|   296k|#define IMMER_TRY try
  ------------------
  701|   296k|            detail::uninitialized_copy(
  702|   296k|                src->leaf(), src->leaf() + n, dst->leaf());
  703|   296k|        }
  704|   296k|        IMMER_CATCH (...) {
  705|      0|            heap::deallocate(node_t::sizeof_leaf_n(allocn), dst);
  706|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  707|      0|        }
  708|   296k|        return dst;
  709|   296k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nEj:
  341|  1.24M|    {
  342|  1.24M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (342:9): [True: 1.24M, False: 0]
  ------------------
  343|  1.24M|        auto m = heap::allocate(sizeof_leaf_n(n));
  344|  1.24M|        return make_leaf_n_into(m, sizeof_leaf_n(n), n);
  345|  1.24M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nIiEEPSB_jOT_:
  470|   110k|    {
  471|   110k|        assert(n >= 1);
  ------------------
  |  Branch (471:9): [True: 110k, False: 0]
  ------------------
  472|   110k|        auto p = make_leaf_n(n);
  473|   110k|        IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
  474|   110k|            new (p->leaf()) T(std::forward<U>(x));
  475|   110k|        }
  476|   110k|        IMMER_CATCH (...) {
  477|      0|            heap::deallocate(node_t::sizeof_leaf_n(n), p);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   110k|        return p;
  481|   110k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13do_copy_innerEPSB_SC_j:
  558|  2.73M|    {
  559|  2.73M|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.73M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (559:9): [True: 2.73M, False: 0]
  ------------------
  560|  2.73M|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.73M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (560:9): [True: 2.73M, False: 0]
  ------------------
  561|  2.73M|        auto p = src->inner();
  562|  2.73M|        inc_nodes(p, n);
  563|  2.73M|        std::copy(p, p + n, dst->inner());
  564|  2.73M|        return dst;
  565|  2.73M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9inc_nodesEPPSB_j:
  970|  8.11M|    {
  971|  21.6M|        for (auto i = p, e = i + n; i != e; ++i)
  ------------------
  |  Branch (971:37): [True: 13.5M, False: 8.11M]
  ------------------
  972|  13.5M|            refs(*i).inc();
  973|  8.11M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_nEjPSB_j:
  588|   494k|    {
  589|   494k|        assert(allocn >= n);
  ------------------
  |  Branch (589:9): [True: 494k, False: 0]
  ------------------
  590|   494k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   494k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (590:9): [True: 494k, False: 0]
  ------------------
  591|   494k|        auto dst = make_inner_r_n(allocn);
  592|   494k|        return do_copy_inner_r(dst, src, n);
  593|   494k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15do_copy_inner_rEPSB_SC_j:
  610|   517k|    {
  611|   517k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|   517k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (611:9): [True: 517k, False: 0]
  ------------------
  612|   517k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   517k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (612:9): [True: 517k, False: 0]
  ------------------
  613|   517k|        auto src_r = src->relaxed();
  614|   517k|        auto dst_r = dst->relaxed();
  615|   517k|        inc_nodes(src->inner(), n);
  616|   517k|        std::copy(src->inner(), src->inner() + n, dst->inner());
  617|   517k|        std::copy(src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  618|   517k|        dst_r->d.count = n;
  619|   517k|        return dst;
  620|   517k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_nEj:
  243|  10.3M|    {
  244|  10.3M|        assert(n <= branches<B>);
  ------------------
  |  Branch (244:9): [True: 10.3M, False: 0]
  ------------------
  245|  10.3M|        auto mp = heap::allocate(sizeof_inner_r_n(n));
  246|  10.3M|        auto mr = static_cast<void*>(nullptr);
  247|  10.3M|        if (embed_relaxed) {
  ------------------
  |  Branch (247:13): [Folded, False: 10.3M]
  ------------------
  248|      0|            mr = reinterpret_cast<unsigned char*>(mp) + sizeof_inner_n(n);
  249|  10.3M|        } else {
  250|  10.3M|            IMMER_TRY {
  ------------------
  |  |   49|  10.3M|#define IMMER_TRY try
  ------------------
  251|  10.3M|                mr = heap::allocate(sizeof_relaxed_n(n), norefs_tag{});
  252|  10.3M|            }
  253|  10.3M|            IMMER_CATCH (...) {
  254|      0|                heap::deallocate(sizeof_inner_r_n(n), mp);
  255|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  256|      0|            }
  257|  10.3M|        }
  258|  10.3M|        auto p                       = new (mp) node_t;
  259|  10.3M|        auto r                       = new (mr) relaxed_t;
  260|  10.3M|        r->d.count                   = 0;
  261|  10.3M|        p->impl.d.data.inner.relaxed = r;
  262|  10.3M|#if IMMER_TAGGED_NODE
  263|  10.3M|        p->impl.d.kind = node_t::kind_t::inner;
  264|  10.3M|#endif
  265|  10.3M|        return p;
  266|  10.3M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9make_pathEjPSB_:
  498|   751k|    {
  499|   751k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   751k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (499:9): [True: 751k, False: 0]
  ------------------
  500|   751k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (500:13): [True: 554k, False: 196k]
  ------------------
  501|   554k|            return node;
  502|   196k|        else {
  503|   196k|            auto n = node_t::make_inner_n(1);
  504|   196k|            IMMER_TRY {
  ------------------
  |  |   49|   196k|#define IMMER_TRY try
  ------------------
  505|   196k|                n->inner()[0] = make_path(shift - B, node);
  506|   196k|            }
  507|   196k|            IMMER_CATCH (...) {
  508|      0|                heap::deallocate(node_t::sizeof_inner_n(1), n);
  509|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  510|      0|            }
  511|   196k|            return n;
  512|   196k|        }
  513|   751k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_nEj:
  224|  2.99M|    {
  225|  2.99M|        assert(n <= branches<B>);
  ------------------
  |  Branch (225:9): [True: 2.99M, False: 0]
  ------------------
  226|  2.99M|        auto m = heap::allocate(sizeof_inner_n(n));
  227|  2.99M|        return make_inner_n_into(m, sizeof_inner_n(n), n);
  228|  2.99M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_j:
  666|   136k|    {
  667|   136k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   136k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (667:9): [True: 136k, False: 0]
  ------------------
  668|   136k|        auto dst = make_leaf_n(n);
  669|   136k|        IMMER_TRY {
  ------------------
  |  |   49|   136k|#define IMMER_TRY try
  ------------------
  670|   136k|            detail::uninitialized_copy(
  671|   136k|                src->leaf(), src->leaf() + n, dst->leaf());
  672|   136k|        }
  673|   136k|        IMMER_CATCH (...) {
  674|      0|            heap::deallocate(node_t::sizeof_leaf_n(n), dst);
  675|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  676|      0|        }
  677|   136k|        return dst;
  678|   136k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_nEjPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeE:
  269|   233k|    {
  270|   233k|        return static_if<embed_relaxed, node_t*>(
  271|   233k|            [&](auto) { return node_t::make_inner_r_n(n); },
  272|   233k|            [&](auto) {
  273|   233k|                auto p =
  274|   233k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   233k|                assert(r->d.count >= n);
  276|   233k|                node_t::refs(r).inc();
  277|   233k|                p->impl.d.data.inner.relaxed = r;
  278|   233k|#if IMMER_TAGGED_NODE
  279|   233k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   233k|#endif
  281|   233k|                return p;
  282|   233k|            });
  283|   233k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_nEjPNS0_3csl10member_twoINSB_14relaxed_data_tENSC_6memberIS7_NSC_7inheritINS9_5applyIS6_E4type5owneeEvE4typeEE4typeEE4typeEENKUlT_E0_clINS0_7empty_tEEEDaSS_:
  272|   233k|            [&](auto) {
  273|   233k|                auto p =
  274|   233k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   233k|                assert(r->d.count >= n);
  ------------------
  |  Branch (275:17): [True: 233k, False: 0]
  ------------------
  276|   233k|                node_t::refs(r).inc();
  277|   233k|                p->impl.d.data.inner.relaxed = r;
  278|   233k|#if IMMER_TAGGED_NODE
  279|   233k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   233k|#endif
  281|   233k|                return p;
  282|   233k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24do_copy_inner_replace_srEPSB_SC_jjSC_:
  652|   233k|    {
  653|   233k|        if (embed_relaxed)
  ------------------
  |  Branch (653:13): [Folded, False: 233k]
  ------------------
  654|      0|            return do_copy_inner_replace_r(dst, src, n, offset, child);
  655|   233k|        else {
  656|   233k|            auto p = src->inner();
  657|   233k|            inc_nodes(p, offset);
  658|   233k|            inc_nodes(p + offset + 1, n - offset - 1);
  659|   233k|            std::copy(p, p + n, dst->inner());
  660|   233k|            dst->inner()[offset] = child;
  661|   233k|            return dst;
  662|   233k|        }
  663|   233k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE21do_copy_inner_replaceEPSB_SC_jjSC_:
  569|  78.1k|    {
  570|  78.1k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  78.1k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (570:9): [True: 78.1k, False: 0]
  ------------------
  571|  78.1k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  78.1k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (571:9): [True: 78.1k, False: 0]
  ------------------
  572|  78.1k|        auto p = src->inner();
  573|  78.1k|        inc_nodes(p, offset);
  574|  78.1k|        inc_nodes(p + offset + 1, n - offset - 1);
  575|  78.1k|        std::copy(p, p + n, dst->inner());
  576|  78.1k|        dst->inner()[offset] = child;
  577|  78.1k|        return dst;
  578|  78.1k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_nEjPSB_j:
  543|  8.76k|    {
  544|  8.76k|        assert(allocn >= n);
  ------------------
  |  Branch (544:9): [True: 8.76k, False: 0]
  ------------------
  545|  8.76k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  8.76k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (545:9): [True: 8.76k, False: 0]
  ------------------
  546|  8.76k|        auto dst = make_inner_n(allocn);
  547|  8.76k|        return do_copy_inner(dst, src, n);
  548|  8.76k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_rEPSB_j:
  581|  5.59k|    {
  582|  5.59k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  5.59k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (582:9): [True: 5.59k, False: 0]
  ------------------
  583|  5.59k|        auto dst = make_inner_r_n(n);
  584|  5.59k|        return do_copy_inner_r(dst, src, n);
  585|  5.59k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13compute_shiftEv:
  977|  5.02M|    {
  978|  5.02M|        if (kind() == kind_t::leaf)
  ------------------
  |  Branch (978:13): [True: 439k, False: 4.58M]
  ------------------
  979|   439k|            return endshift<B, BL>;
  980|  4.58M|        else
  981|  4.58M|            return B + inner()[0]->compute_shift();
  982|  5.02M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5checkEjm:
  986|   439k|    {
  987|       |#if IMMER_DEBUG_DEEP_CHECK
  988|       |        assert(size > 0);
  989|       |        if (shift == endshift<B, BL>) {
  990|       |            IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  991|       |            assert(size <= branches<BL>);
  992|       |        } else if (auto r = relaxed()) {
  993|       |            auto count = r->d.count;
  994|       |            assert(count > 0);
  995|       |            assert(count <= branches<B>);
  996|       |            if (r->d.sizes[count - 1] != size) {
  997|       |                IMMER_TRACE_F("check");
  998|       |                IMMER_TRACE_E(r->d.sizes[count - 1]);
  999|       |                IMMER_TRACE_E(size);
 1000|       |            }
 1001|       |            assert(r->d.sizes[count - 1] == size);
 1002|       |            for (auto i = 1u; i < count; ++i)
 1003|       |                assert(r->d.sizes[i - 1] < r->d.sizes[i]);
 1004|       |            auto last_size = size_t{};
 1005|       |            for (auto i = 0u; i < count; ++i) {
 1006|       |                assert(inner()[i]->check(shift - B, r->d.sizes[i] - last_size));
 1007|       |                last_size = r->d.sizes[i];
 1008|       |            }
 1009|       |        } else {
 1010|       |            assert(size <= branches<B> << shift);
 1011|       |            auto count =
 1012|       |                (size >> shift) + (size - ((size >> shift) << shift) > 0);
 1013|       |            assert(count <= branches<B>);
 1014|       |            if (count) {
 1015|       |                for (auto i = 1u; i < count - 1; ++i)
 1016|       |                    assert(inner()[i]->check(shift - B, 1 << shift));
 1017|       |                assert(inner()[count - 1]->check(
 1018|       |                    shift - B, size - ((count - 1) << shift)));
 1019|       |            }
 1020|       |        }
 1021|       |#endif // IMMER_DEBUG_DEEP_CHECK
 1022|   439k|        return true;
 1023|   439k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jj:
  778|   340k|    {
  779|   340k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   340k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (779:9): [True: 340k, False: 0]
  ------------------
  780|   340k|        auto dst = make_leaf_n(last - idx);
  781|   340k|        IMMER_TRY {
  ------------------
  |  |   49|   340k|#define IMMER_TRY try
  ------------------
  782|   340k|            detail::uninitialized_copy(
  783|   340k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  784|   340k|        }
  785|   340k|        IMMER_CATCH (...) {
  786|      0|            heap::deallocate(node_t::sizeof_leaf_n(last - idx), dst);
  787|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  788|      0|        }
  789|   340k|        return dst;
  790|   340k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jSC_j:
  712|   329k|    {
  713|   329k|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|   329k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (713:9): [True: 329k, False: 0]
  ------------------
  714|   329k|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|   329k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (714:9): [True: 329k, False: 0]
  ------------------
  715|   329k|        auto dst = make_leaf_n(n1 + n2);
  716|   329k|        IMMER_TRY {
  ------------------
  |  |   49|   329k|#define IMMER_TRY try
  ------------------
  717|   329k|            detail::uninitialized_copy(
  718|   329k|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  719|   329k|        }
  720|   329k|        IMMER_CATCH (...) {
  721|      0|            heap::deallocate(node_t::sizeof_leaf_n(n1 + n2), dst);
  722|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  723|      0|        }
  724|   329k|        IMMER_TRY {
  ------------------
  |  |   49|   329k|#define IMMER_TRY try
  ------------------
  725|   329k|            detail::uninitialized_copy(
  726|   329k|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  727|   329k|        }
  728|   329k|        IMMER_CATCH (...) {
  729|      0|            detail::destroy_n(dst->leaf(), n1);
  730|      0|            heap::deallocate(node_t::sizeof_leaf_n(n1 + n2), dst);
  731|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  732|      0|        }
  733|   329k|        return dst;
  734|   329k|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10can_mutateENS9_5applyIS6_E4type4editE:
  870|  1.55M|    {
  871|  1.55M|        return refs(this).unique() || ownee(this).can_mutate(e);
  ------------------
  |  Branch (871:16): [True: 1.46M, False: 86.4k]
  |  Branch (871:39): [True: 0, False: 86.4k]
  ------------------
  872|  1.55M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPKSB_:
  207|  86.4k|    {
  208|  86.4k|        return get<ownee_t>(x->impl);
  209|  86.4k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_j:
  681|  28.5k|    {
  682|  28.5k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|  28.5k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (682:9): [True: 28.5k, False: 0]
  ------------------
  683|  28.5k|        auto dst = make_leaf_e(e);
  684|  28.5k|        IMMER_TRY {
  ------------------
  |  |   49|  28.5k|#define IMMER_TRY try
  ------------------
  685|  28.5k|            detail::uninitialized_copy(
  686|  28.5k|                src->leaf(), src->leaf() + n, dst->leaf());
  687|  28.5k|        }
  688|  28.5k|        IMMER_CATCH (...) {
  689|      0|            heap::deallocate(node_t::max_sizeof_leaf, dst);
  690|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  691|      0|        }
  692|  28.5k|        return dst;
  693|  28.5k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eENS9_5applyIS6_E4type4editE:
  348|   197k|    {
  349|   197k|        auto p   = new (heap::allocate(max_sizeof_leaf)) node_t;
  350|   197k|        ownee(p) = e;
  351|   197k|#if IMMER_TAGGED_NODE
  352|   197k|        p->impl.d.kind = node_t::kind_t::leaf;
  353|   197k|#endif
  354|   197k|        return p;
  355|   197k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eIiEEPSB_NS9_5applyIS6_E4type4editEOT_:
  485|  13.9k|    {
  486|  13.9k|        auto p = make_leaf_e(e);
  487|  13.9k|        IMMER_TRY {
  ------------------
  |  |   49|  13.9k|#define IMMER_TRY try
  ------------------
  488|  13.9k|            new (p->leaf()) T(std::forward<U>(x));
  489|  13.9k|        }
  490|  13.9k|        IMMER_CATCH (...) {
  491|      0|            heap::deallocate(node_t::max_sizeof_leaf, p);
  492|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  493|      0|        }
  494|  13.9k|        return p;
  495|  13.9k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEj:
  930|  69.5k|    {
  931|  69.5k|        auto src_r = relaxed();
  932|  69.5k|        return static_if<embed_relaxed, relaxed_t*>(
  933|  69.5k|            [&](auto) { return src_r; },
  934|  69.5k|            [&](auto) {
  935|  69.5k|                if (node_t::refs(src_r).unique() ||
  936|  69.5k|                    node_t::ownee(src_r).can_mutate(e))
  937|  69.5k|                    return src_r;
  938|  69.5k|                else {
  939|  69.5k|                    auto dst_r =
  940|  69.5k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  69.5k|                    if (src_r) {
  942|  69.5k|                        std::copy(
  943|  69.5k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  69.5k|                        if (node_t::refs(src_r).dec())
  945|  69.5k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|  69.5k|                                             src_r);
  947|  69.5k|                    }
  948|  69.5k|                    dst_r->d.count                   = n;
  949|  69.5k|                    node_t::ownee(dst_r)             = e;
  950|  69.5k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  69.5k|                }
  952|  69.5k|            });
  953|  69.5k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEjENKUlT_E0_clINS0_7empty_tEEEDaSG_:
  934|  69.5k|            [&](auto) {
  935|  69.5k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (935:21): [True: 54.3k, False: 15.2k]
  ------------------
  936|  15.2k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (936:21): [True: 0, False: 15.2k]
  ------------------
  937|  54.3k|                    return src_r;
  938|  15.2k|                else {
  939|  15.2k|                    auto dst_r =
  940|  15.2k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  15.2k|                    if (src_r) {
  ------------------
  |  Branch (941:25): [True: 15.2k, False: 0]
  ------------------
  942|  15.2k|                        std::copy(
  943|  15.2k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  15.2k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (944:29): [True: 0, False: 15.2k]
  ------------------
  945|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|      0|                                             src_r);
  947|  15.2k|                    }
  948|  15.2k|                    dst_r->d.count                   = n;
  949|  15.2k|                    node_t::ownee(dst_r)             = e;
  950|  15.2k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  15.2k|                }
  952|  69.5k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_eENS9_5applyIS6_E4type4editEPSB_j:
  596|  17.5k|    {
  597|  17.5k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  17.5k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (597:9): [True: 17.5k, False: 0]
  ------------------
  598|  17.5k|        auto dst = make_inner_r_e(e);
  599|  17.5k|        return do_copy_inner_r(dst, src, n);
  600|  17.5k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editE:
  286|  93.9k|    {
  287|  93.9k|        auto mp = heap::allocate(max_sizeof_inner_r);
  288|  93.9k|        auto mr = static_cast<void*>(nullptr);
  289|  93.9k|        if (embed_relaxed) {
  ------------------
  |  Branch (289:13): [Folded, False: 93.9k]
  ------------------
  290|      0|            mr = reinterpret_cast<unsigned char*>(mp) + max_sizeof_inner;
  291|  93.9k|        } else {
  292|  93.9k|            IMMER_TRY {
  ------------------
  |  |   49|  93.9k|#define IMMER_TRY try
  ------------------
  293|  93.9k|                mr = heap::allocate(max_sizeof_relaxed, norefs_tag{});
  294|  93.9k|            }
  295|  93.9k|            IMMER_CATCH (...) {
  296|      0|                heap::deallocate(max_sizeof_inner_r, mp);
  297|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  298|      0|            }
  299|  93.9k|        }
  300|  93.9k|        auto p   = new (mp) node_t;
  301|  93.9k|        auto r   = new (mr) relaxed_t;
  302|  93.9k|        ownee(p) = e;
  303|  93.9k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
  304|  93.9k|        r->d.count                   = 0;
  305|  93.9k|        p->impl.d.data.inner.relaxed = r;
  306|  93.9k|#if IMMER_TAGGED_NODE
  307|  93.9k|        p->impl.d.kind = node_t::kind_t::inner;
  308|  93.9k|#endif
  309|  93.9k|        return p;
  310|  93.9k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editEENKUlT_E_clINS0_7empty_tEEEDaSG_:
  303|  93.9k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_path_eENS9_5applyIS6_E4type4editEjPSB_:
  516|   244k|    {
  517|   244k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   244k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (517:9): [True: 244k, False: 0]
  ------------------
  518|   244k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (518:13): [True: 182k, False: 61.9k]
  ------------------
  519|   182k|            return node;
  520|  61.9k|        else {
  521|  61.9k|            auto n = node_t::make_inner_e(e);
  522|  61.9k|            IMMER_TRY {
  ------------------
  |  |   49|  61.9k|#define IMMER_TRY try
  ------------------
  523|  61.9k|                n->inner()[0] = make_path_e(e, shift - B, node);
  524|  61.9k|            }
  525|  61.9k|            IMMER_CATCH (...) {
  526|      0|                heap::deallocate(node_t::max_sizeof_inner, n);
  527|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  528|      0|            }
  529|  61.9k|            return n;
  530|  61.9k|        }
  531|   244k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_eENS9_5applyIS6_E4type4editE:
  231|  85.5k|    {
  232|  85.5k|        auto m                       = heap::allocate(max_sizeof_inner);
  233|  85.5k|        auto p                       = new (m) node_t;
  234|  85.5k|        ownee(p)                     = e;
  235|  85.5k|        p->impl.d.data.inner.relaxed = nullptr;
  236|  85.5k|#if IMMER_TAGGED_NODE
  237|  85.5k|        p->impl.d.kind = node_t::kind_t::inner;
  238|  85.5k|#endif
  239|  85.5k|        return p;
  240|  85.5k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_eENS9_5applyIS6_E4type4editEPSB_j:
  551|  15.0k|    {
  552|  15.0k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  15.0k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (552:9): [True: 15.0k, False: 0]
  ------------------
  553|  15.0k|        auto dst = make_inner_e(e);
  554|  15.0k|        return do_copy_inner(dst, src, n);
  555|  15.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15copy_inner_sr_eENS9_5applyIS6_E4type4editEPSB_j:
  603|  8.60k|    {
  604|  8.60k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  8.60k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (604:9): [True: 8.60k, False: 0]
  ------------------
  605|  8.60k|        auto dst = make_inner_sr_e(e, src->relaxed());
  606|  8.60k|        return do_copy_inner_sr(dst, src, n);
  607|  8.60k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_eENS9_5applyIS6_E4type4editEPNS0_3csl10member_twoINSB_14relaxed_data_tENSG_6memberIS7_NSG_7inheritINSE_5owneeEvE4typeEE4typeEE4typeE:
  313|  8.60k|    {
  314|  8.60k|        return static_if<embed_relaxed, node_t*>(
  315|  8.60k|            [&](auto) { return node_t::make_inner_r_e(e); },
  316|  8.60k|            [&](auto) {
  317|  8.60k|                auto p =
  318|  8.60k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  8.60k|                node_t::refs(r).inc();
  320|  8.60k|                p->impl.d.data.inner.relaxed = r;
  321|  8.60k|                node_t::ownee(p)             = e;
  322|  8.60k|#if IMMER_TAGGED_NODE
  323|  8.60k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  8.60k|#endif
  325|  8.60k|                return p;
  326|  8.60k|            });
  327|  8.60k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15make_inner_sr_eENS9_5applyIS6_E4type4editEPNS0_3csl10member_twoINSB_14relaxed_data_tENSG_6memberIS7_NSG_7inheritINSE_5owneeEvE4typeEE4typeEE4typeEENKUlT_E0_clINS0_7empty_tEEEDaST_:
  316|  8.60k|            [&](auto) {
  317|  8.60k|                auto p =
  318|  8.60k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  8.60k|                node_t::refs(r).inc();
  320|  8.60k|                p->impl.d.data.inner.relaxed = r;
  321|  8.60k|                node_t::ownee(p)             = e;
  322|  8.60k|#if IMMER_TAGGED_NODE
  323|  8.60k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  8.60k|#endif
  325|  8.60k|                return p;
  326|  8.60k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16do_copy_inner_srEPSB_SC_j:
  640|  8.60k|    {
  641|  8.60k|        if (embed_relaxed)
  ------------------
  |  Branch (641:13): [Folded, False: 8.60k]
  ------------------
  642|      0|            return do_copy_inner_r(dst, src, n);
  643|  8.60k|        else {
  644|  8.60k|            inc_nodes(src->inner(), n);
  645|  8.60k|            std::copy(src->inner(), src->inner() + n, dst->inner());
  646|  8.60k|            return dst;
  647|  8.60k|        }
  648|  8.60k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jj:
  763|   154k|    {
  764|   154k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   154k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (764:9): [True: 154k, False: 0]
  ------------------
  765|   154k|        auto dst = make_leaf_e(e);
  766|   154k|        IMMER_TRY {
  ------------------
  |  |   49|   154k|#define IMMER_TRY try
  ------------------
  767|   154k|            detail::uninitialized_copy(
  768|   154k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  769|   154k|        }
  770|   154k|        IMMER_CATCH (...) {
  771|      0|            heap::deallocate(max_sizeof_leaf, dst);
  772|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  773|      0|        }
  774|   154k|        return dst;
  775|   154k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editE:
  877|   127k|    {
  878|   127k|        auto src_r = relaxed();
  879|   127k|        return static_if<embed_relaxed, relaxed_t*>(
  880|   127k|            [&](auto) { return src_r; },
  881|   127k|            [&](auto) {
  882|   127k|                if (node_t::refs(src_r).unique() ||
  883|   127k|                    node_t::ownee(src_r).can_mutate(e))
  884|   127k|                    return src_r;
  885|   127k|                else {
  886|   127k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|   127k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|   127k|                    if (src_r) {
  889|   127k|                        auto n = dst_r->d.count = src_r->d.count;
  890|   127k|                        std::copy(
  891|   127k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|   127k|                        if (node_t::refs(src_r).dec())
  893|   127k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|   127k|                                             src_r);
  895|   127k|                    }
  896|   127k|                    node_t::ownee(dst_r) = e;
  897|   127k|                    return dst_r;
  898|   127k|                }
  899|   127k|            });
  900|   127k|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editEENKUlT_E0_clINS0_7empty_tEEEDaSG_:
  881|   127k|            [&](auto) {
  882|   127k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (882:21): [True: 115k, False: 12.3k]
  ------------------
  883|  12.3k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (883:21): [True: 0, False: 12.3k]
  ------------------
  884|   115k|                    return src_r;
  885|  12.3k|                else {
  886|  12.3k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|  12.3k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|  12.3k|                    if (src_r) {
  ------------------
  |  Branch (888:25): [True: 12.3k, False: 0]
  ------------------
  889|  12.3k|                        auto n = dst_r->d.count = src_r->d.count;
  890|  12.3k|                        std::copy(
  891|  12.3k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|  12.3k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (892:29): [True: 0, False: 12.3k]
  ------------------
  893|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|      0|                                             src_r);
  895|  12.3k|                    }
  896|  12.3k|                    node_t::ownee(dst_r) = e;
  897|  12.3k|                    return dst_r;
  898|  12.3k|                }
  899|   127k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jSG_j:
  738|    420|    {
  739|    420|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|    420|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (739:9): [True: 420, False: 0]
  ------------------
  740|    420|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|    420|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (740:9): [True: 420, False: 0]
  ------------------
  741|    420|        auto dst = make_leaf_e(e);
  742|    420|        IMMER_TRY {
  ------------------
  |  |   49|    420|#define IMMER_TRY try
  ------------------
  743|    420|            detail::uninitialized_copy(
  744|    420|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  745|    420|        }
  746|    420|        IMMER_CATCH (...) {
  747|      0|            heap::deallocate(max_sizeof_leaf, dst);
  748|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  749|      0|        }
  750|    420|        IMMER_TRY {
  ------------------
  |  |   49|    420|#define IMMER_TRY try
  ------------------
  751|    420|            detail::uninitialized_copy(
  752|    420|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  753|    420|        }
  754|    420|        IMMER_CATCH (...) {
  755|      0|            detail::destroy_n(dst->leaf(), n1);
  756|      0|            heap::deallocate(max_sizeof_leaf, dst);
  757|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  758|      0|        }
  759|    420|        return dst;
  760|    420|    }

_ZN5immer6detail4rbts11dec_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  523|  32.5M|    {
  524|  32.5M|        using node_t = node_type<Pos>;
  525|  32.5M|        auto node    = p.node();
  526|  32.5M|        if (node->dec()) {
  ------------------
  |  Branch (526:13): [True: 10.6M, False: 21.8M]
  ------------------
  527|  10.6M|            p.each(this_t{});
  528|  10.6M|            node_t::delete_inner_r(node, p.count());
  529|  10.6M|        }
  530|  32.5M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.43M|    {
  535|  2.43M|        using node_t = node_type<Pos>;
  536|  2.43M|        auto node    = p.node();
  537|  2.43M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 616k, False: 1.82M]
  ------------------
  538|   616k|            p.each(this_t{});
  539|   616k|            node_t::delete_inner(node, p.count());
  540|   616k|        }
  541|  2.43M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.19M|    {
  546|  1.19M|        using node_t = node_type<Pos>;
  547|  1.19M|        auto node    = p.node();
  548|  1.19M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 541k, False: 650k]
  ------------------
  549|   541k|            node_t::delete_leaf(node, p.count());
  550|   541k|        }
  551|  1.19M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|   494k|    {
  546|   494k|        using node_t = node_type<Pos>;
  547|   494k|        auto node    = p.node();
  548|   494k|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 37.3k, False: 457k]
  ------------------
  549|  37.3k|            node_t::delete_leaf(node, p.count());
  550|  37.3k|        }
  551|   494k|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  3.43M|    {
  535|  3.43M|        using node_t = node_type<Pos>;
  536|  3.43M|        auto node    = p.node();
  537|  3.43M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 225k, False: 3.20M]
  ------------------
  538|   225k|            p.each(this_t{});
  539|   225k|            node_t::delete_inner(node, p.count());
  540|   225k|        }
  541|  3.43M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.35M|    {
  535|  2.35M|        using node_t = node_type<Pos>;
  536|  2.35M|        auto node    = p.node();
  537|  2.35M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 2.21M, False: 136k]
  ------------------
  538|  2.21M|            p.each(this_t{});
  539|  2.21M|            node_t::delete_inner(node, p.count());
  540|  2.21M|        }
  541|  2.35M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  1.66M|    {
  535|  1.66M|        using node_t = node_type<Pos>;
  536|  1.66M|        auto node    = p.node();
  537|  1.66M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 0, False: 1.66M]
  ------------------
  538|      0|            p.each(this_t{});
  539|      0|            node_t::delete_inner(node, p.count());
  540|      0|        }
  541|  1.66M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  9.40M|    {
  546|  9.40M|        using node_t = node_type<Pos>;
  547|  9.40M|        auto node    = p.node();
  548|  9.40M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 866k, False: 8.53M]
  ------------------
  549|   866k|            node_t::delete_leaf(node, p.count());
  550|   866k|        }
  551|  9.40M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.58M|    {
  546|  1.58M|        using node_t = node_type<Pos>;
  547|  1.58M|        auto node    = p.node();
  548|  1.58M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 1.58M]
  ------------------
  549|      0|            node_t::delete_leaf(node, p.count());
  550|      0|        }
  551|  1.58M|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_SI_j:
  791|   489k|    {
  792|   489k|        auto level    = pos.shift();
  793|   489k|        auto idx      = pos.count() - 1;
  794|   489k|        auto children = pos.size(idx);
  795|   489k|        auto new_idx =
  796|   489k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (796:13): [True: 14.0k, False: 475k]
  |  Branch (796:47): [True: 567, False: 474k]
  ------------------
  797|   489k|        auto new_child = static_cast<node_t*>(nullptr);
  798|   489k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (798:13): [True: 5.14k, False: 484k]
  ------------------
  799|  5.14k|            return nullptr;
  800|   484k|        else if (idx == new_idx) {
  ------------------
  |  Branch (800:18): [True: 474k, False: 9.42k]
  ------------------
  801|   474k|            new_child = pos.last_oh_csh(this_t{}, idx, children, tail, ts);
  802|   474k|            if (!new_child) {
  ------------------
  |  Branch (802:17): [True: 3.99k, False: 470k]
  ------------------
  803|  3.99k|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (803:21): [True: 2.66k, False: 1.33k]
  ------------------
  804|  2.66k|                    new_child = node_t::make_path(level - B, tail);
  805|  1.33k|                else
  806|  1.33k|                    return nullptr;
  807|  3.99k|            }
  808|   474k|        } else
  809|  9.42k|            new_child = node_t::make_path(level - B, tail);
  810|   482k|        IMMER_TRY {
  ------------------
  |  |   49|   482k|#define IMMER_TRY try
  ------------------
  811|   482k|            auto count = new_idx + 1;
  812|   482k|            auto new_parent =
  813|   482k|                node_t::copy_inner_r_n(count, pos.node(), new_idx);
  814|   482k|            auto new_relaxed              = new_parent->relaxed();
  815|   482k|            new_parent->inner()[new_idx]  = new_child;
  816|   482k|            new_relaxed->d.sizes[new_idx] = pos.size() + ts;
  817|   482k|            new_relaxed->d.count          = count;
  818|   482k|            assert(new_relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (818:13): [True: 482k, False: 0]
  ------------------
  819|   482k|            return new_parent;
  820|   482k|        }
  821|   482k|        IMMER_CATCH (...) {
  822|      0|            auto shift = pos.shift();
  823|      0|            auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (823:26): [True: 0, False: 0]
  ------------------
  824|      0|            if (shift > BL) {
  ------------------
  |  Branch (824:17): [True: 0, False: 0]
  ------------------
  825|      0|                tail->inc();
  826|      0|                dec_inner(new_child, shift - B, size);
  827|      0|            }
  828|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  829|      0|        }
  830|   482k|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_SJ_DpOT0_:
  834|   180k|    {
  835|   180k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 180k, False: 0]
  ------------------
  836|   180k|        auto idx        = pos.index(pos.size() - 1);
  837|   180k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   180k|        auto count      = new_idx + 1;
  839|   180k|        auto new_parent = node_t::make_inner_n(count);
  840|   180k|        IMMER_TRY {
  ------------------
  |  |   49|   180k|#define IMMER_TRY try
  ------------------
  841|   180k|            new_parent->inner()[new_idx] =
  842|   180k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 172k, False: 7.29k]
  ------------------
  843|       |                               /* otherwise */
  844|   180k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   180k|        }
  846|   180k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   180k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   180k|    }
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_SI_DpOT0_:
  834|  2.17M|    {
  835|  2.17M|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 2.17M, False: 0]
  ------------------
  836|  2.17M|        auto idx        = pos.index(pos.size() - 1);
  837|  2.17M|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|  2.17M|        auto count      = new_idx + 1;
  839|  2.17M|        auto new_parent = node_t::make_inner_n(count);
  840|  2.17M|        IMMER_TRY {
  ------------------
  |  |   49|  2.17M|#define IMMER_TRY try
  ------------------
  841|  2.17M|            new_parent->inner()[new_idx] =
  842|  2.17M|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 1.67M, False: 501k]
  ------------------
  843|       |                               /* otherwise */
  844|  2.17M|                               : node_t::make_path(pos.shift() - B, tail);
  845|  2.17M|        }
  846|  2.17M|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|  2.17M|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|  2.17M|    }
_ZN5immer6detail4rbts9dec_innerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_jm:
  562|    540|{
  563|    540|    visit_maybe_relaxed_sub(node, shift, size, dec_visitor());
  564|    540|}
_ZN5immer6detail4rbts17push_tail_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEJEEEPSC_OT_SI_DpOT0_:
  834|   343k|    {
  835|   343k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 343k, False: 0]
  ------------------
  836|   343k|        auto idx        = pos.index(pos.size() - 1);
  837|   343k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   343k|        auto count      = new_idx + 1;
  839|   343k|        auto new_parent = node_t::make_inner_n(count);
  840|   343k|        IMMER_TRY {
  ------------------
  |  |   49|   343k|#define IMMER_TRY try
  ------------------
  841|   343k|            new_parent->inner()[new_idx] =
  842|   343k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 328k, False: 14.8k]
  ------------------
  843|       |                               /* otherwise */
  844|   343k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   343k|        }
  846|   343k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   343k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   343k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  70.2k|    {
  503|  70.2k|        auto offset = pos.index(idx);
  504|  70.2k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  70.2k|        IMMER_TRY {
  ------------------
  |  |   49|  70.2k|#define IMMER_TRY try
  ------------------
  506|  70.2k|            node->leaf()[offset] =
  507|  70.2k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  70.2k|            return node;
  509|  70.2k|        }
  510|  70.2k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  70.2k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  466|   233k|    {
  467|   233k|        auto offset = pos.index(idx);
  468|   233k|        auto count  = pos.count();
  469|   233k|        auto node   = node_t::make_inner_sr_n(count, pos.relaxed());
  470|   233k|        IMMER_TRY {
  ------------------
  |  |   49|   233k|#define IMMER_TRY try
  ------------------
  471|   233k|            auto child = pos.towards_oh(this_t{}, idx, offset, fn);
  472|   233k|            node_t::do_copy_inner_replace_sr(
  473|   233k|                node, pos.node(), count, offset, child);
  474|   233k|            return node;
  475|   233k|        }
  476|   233k|        IMMER_CATCH (...) {
  477|      0|            node_t::delete_inner_r(node, count);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   233k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  55.9k|    {
  485|  55.9k|        auto offset = pos.index(idx);
  486|  55.9k|        auto count  = pos.count();
  487|  55.9k|        auto node   = node_t::make_inner_n(count);
  488|  55.9k|        IMMER_TRY {
  ------------------
  |  |   49|  55.9k|#define IMMER_TRY try
  ------------------
  489|  55.9k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  55.9k|            node_t::do_copy_inner_replace(
  491|  55.9k|                node, pos.node(), count, offset, child);
  492|  55.9k|            return node;
  493|  55.9k|        }
  494|  55.9k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  55.9k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  34.0k|    {
  503|  34.0k|        auto offset = pos.index(idx);
  504|  34.0k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  34.0k|        IMMER_TRY {
  ------------------
  |  |   49|  34.0k|#define IMMER_TRY try
  ------------------
  506|  34.0k|            node->leaf()[offset] =
  507|  34.0k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  34.0k|            return node;
  509|  34.0k|        }
  510|  34.0k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  34.0k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_8full_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  19.2k|    {
  485|  19.2k|        auto offset = pos.index(idx);
  486|  19.2k|        auto count  = pos.count();
  487|  19.2k|        auto node   = node_t::make_inner_n(count);
  488|  19.2k|        IMMER_TRY {
  ------------------
  |  |   49|  19.2k|#define IMMER_TRY try
  ------------------
  489|  19.2k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  19.2k|            node_t::do_copy_inner_replace(
  491|  19.2k|                node, pos.node(), count, offset, child);
  492|  19.2k|            return node;
  493|  19.2k|        }
  494|  19.2k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  19.2k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_8leaf_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  502|  21.9k|    {
  503|  21.9k|        auto offset = pos.index(idx);
  504|  21.9k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  21.9k|        IMMER_TRY {
  ------------------
  |  |   49|  21.9k|#define IMMER_TRY try
  ------------------
  506|  21.9k|            node->leaf()[offset] =
  507|  21.9k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  21.9k|            return node;
  509|  21.9k|        }
  510|  21.9k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  21.9k|    }
flex-vector.cpp:_ZN5immer6detail4rbts14update_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EERZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEPSC_OSL_mOT0_:
  484|  2.92k|    {
  485|  2.92k|        auto offset = pos.index(idx);
  486|  2.92k|        auto count  = pos.count();
  487|  2.92k|        auto node   = node_t::make_inner_n(count);
  488|  2.92k|        IMMER_TRY {
  ------------------
  |  |   49|  2.92k|#define IMMER_TRY try
  ------------------
  489|  2.92k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  2.92k|            node_t::do_copy_inner_replace(
  491|  2.92k|                node, pos.node(), count, offset, child);
  492|  2.92k|            return node;
  493|  2.92k|        }
  494|  2.92k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  2.92k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1096|  41.5k|    {
 1097|  41.5k|        auto idx = pos.index(last);
 1098|  41.5k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [True: 41.5k, Folded]
  |  Branch (1098:25): [True: 31.8k, False: 9.72k]
  ------------------
 1099|  31.8k|            return pos.towards_oh(this_t{}, last, idx);
 1100|  31.8k|        } else {
 1101|  9.72k|            using std::get;
 1102|  9.72k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  9.72k|            auto next = get<1>(subs);
 1104|  9.72k|            auto ts   = get<2>(subs);
 1105|  9.72k|            auto tail = get<3>(subs);
 1106|  9.72k|            IMMER_TRY {
  ------------------
  |  |   49|  9.72k|#define IMMER_TRY try
  ------------------
 1107|  9.72k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 5.89k, False: 3.83k]
  ------------------
 1108|  5.89k|                    auto count = idx + 1;
 1109|  5.89k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  5.89k|                    auto newr  = newn->relaxed();
 1111|  5.89k|                    newn->inner()[idx] = next;
 1112|  5.89k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  5.89k|                    newr->d.count      = count;
 1114|  5.89k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 5.89k, False: 0]
  ------------------
 1115|  5.89k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  5.89k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 0, False: 3.83k]
  ------------------
 1117|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  3.83k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [True: 3.83k, Folded]
  |  Branch (1118:40): [True: 2.82k, False: 1.00k]
  |  Branch (1118:52): [True: 2.06k, False: 755]
  ------------------
 1119|  2.06k|                    auto newn = pos.node()->inner()[0];
 1120|  2.06k|                    return std::make_tuple(
 1121|  2.06k|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  2.06k|                } else {
 1123|  1.76k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  1.76k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  1.76k|                }
 1126|  9.72k|            }
 1127|  9.72k|            IMMER_CATCH (...) {
 1128|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  ------------------
 1129|      0|                if (next)
  ------------------
  |  Branch (1129:21): [True: 0, False: 0]
  ------------------
 1130|      0|                    dec_inner(next,
 1131|      0|                              pos.shift() - B,
 1132|      0|                              last + 1 - ts - pos.size_before(idx));
 1133|      0|                if (tail)
  ------------------
  |  Branch (1133:21): [True: 0, False: 0]
  ------------------
 1134|      0|                    dec_leaf(tail, ts);
 1135|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|            }
 1137|  9.72k|        }
 1138|  41.5k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  2.21k|    {
 1182|  2.21k|        auto old_tail_size = pos.count();
 1183|  2.21k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.21k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.29k, False: 919]
  ------------------
 1185|  2.21k|                                 ? pos.node()->inc()
 1186|  2.21k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.21k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.21k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  6.10k|    {
 1182|  6.10k|        auto old_tail_size = pos.count();
 1183|  6.10k|        auto new_tail_size = pos.index(last) + 1;
 1184|  6.10k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 3.05k, False: 3.04k]
  ------------------
 1185|  6.10k|                                 ? pos.node()->inc()
 1186|  6.10k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  6.10k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  6.10k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1096|  12.6k|    {
 1097|  12.6k|        auto idx = pos.index(last);
 1098|  12.6k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [Folded, False: 12.6k]
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|            return pos.towards_oh(this_t{}, last, idx);
 1100|  12.6k|        } else {
 1101|  12.6k|            using std::get;
 1102|  12.6k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  12.6k|            auto next = get<1>(subs);
 1104|  12.6k|            auto ts   = get<2>(subs);
 1105|  12.6k|            auto tail = get<3>(subs);
 1106|  12.6k|            IMMER_TRY {
  ------------------
  |  |   49|  12.6k|#define IMMER_TRY try
  ------------------
 1107|  12.6k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 6.25k, False: 6.43k]
  ------------------
 1108|  6.25k|                    auto count = idx + 1;
 1109|  6.25k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  6.25k|                    auto newr  = newn->relaxed();
 1111|  6.25k|                    newn->inner()[idx] = next;
 1112|  6.25k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  6.25k|                    newr->d.count      = count;
 1114|  6.25k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 6.25k, False: 0]
  ------------------
 1115|  6.25k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  6.43k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 2.60k, False: 3.83k]
  ------------------
 1117|  2.60k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  3.83k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [Folded, False: 3.83k]
  |  Branch (1118:40): [True: 0, False: 0]
  |  Branch (1118:52): [True: 0, False: 0]
  ------------------
 1119|      0|                    auto newn = pos.node()->inner()[0];
 1120|      0|                    return std::make_tuple(
 1121|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  3.83k|                } else {
 1123|  3.83k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  3.83k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  3.83k|                }
 1126|  12.6k|            }
 1127|  12.6k|            IMMER_CATCH (...) {
 1128|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  |  Branch (1128:17): [True: 0, False: 0]
  ------------------
 1129|      0|                if (next)
  ------------------
  |  Branch (1129:21): [True: 0, False: 0]
  ------------------
 1130|      0|                    dec_inner(next,
 1131|      0|                              pos.shift() - B,
 1132|      0|                              last + 1 - ts - pos.size_before(idx));
 1133|      0|                if (tail)
  ------------------
  |  Branch (1133:21): [True: 0, False: 0]
  ------------------
 1134|      0|                    dec_leaf(tail, ts);
 1135|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|            }
 1137|  12.6k|        }
 1138|  12.6k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  3.62k|    {
 1143|  3.62k|        auto idx = pos.index(last);
 1144|  3.62k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 3.62k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  3.62k|        } else {
 1147|  3.62k|            using std::get;
 1148|  3.62k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  3.62k|            auto next = get<1>(subs);
 1150|  3.62k|            auto ts   = get<2>(subs);
 1151|  3.62k|            auto tail = get<3>(subs);
 1152|  3.62k|            IMMER_TRY {
  ------------------
  |  |   49|  3.62k|#define IMMER_TRY try
  ------------------
 1153|  3.62k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.46k, False: 2.15k]
  ------------------
 1154|  1.46k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.46k|                    newn->inner()[idx] = next;
 1156|  1.46k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.15k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.56k, False: 596]
  ------------------
 1158|  1.56k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.56k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 596]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    596|                } else {
 1164|    596|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    596|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    596|                }
 1167|  3.62k|            }
 1168|  3.62k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  3.62k|        }
 1177|  3.62k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  5.74k|    {
 1182|  5.74k|        auto old_tail_size = pos.count();
 1183|  5.74k|        auto new_tail_size = pos.index(last) + 1;
 1184|  5.74k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 3.50k, False: 2.24k]
  ------------------
 1185|  5.74k|                                 ? pos.node()->inc()
 1186|  5.74k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  5.74k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  5.74k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  2.18k|    {
 1143|  2.18k|        auto idx = pos.index(last);
 1144|  2.18k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 2.18k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  2.18k|        } else {
 1147|  2.18k|            using std::get;
 1148|  2.18k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.18k|            auto next = get<1>(subs);
 1150|  2.18k|            auto ts   = get<2>(subs);
 1151|  2.18k|            auto tail = get<3>(subs);
 1152|  2.18k|            IMMER_TRY {
  ------------------
  |  |   49|  2.18k|#define IMMER_TRY try
  ------------------
 1153|  2.18k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 322, False: 1.86k]
  ------------------
 1154|    322|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    322|                    newn->inner()[idx] = next;
 1156|    322|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.86k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 865, False: 999]
  ------------------
 1158|    865|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|    999|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 999]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    999|                } else {
 1164|    999|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    999|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    999|                }
 1167|  2.18k|            }
 1168|  2.18k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  2.18k|        }
 1177|  2.18k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  2.31k|    {
 1182|  2.31k|        auto old_tail_size = pos.count();
 1183|  2.31k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.31k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.25k, False: 1.05k]
  ------------------
 1185|  2.31k|                                 ? pos.node()->inc()
 1186|  2.31k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.31k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.31k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  4.56k|    {
 1143|  4.56k|        auto idx = pos.index(last);
 1144|  4.56k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 4.56k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  4.56k|        } else {
 1147|  4.56k|            using std::get;
 1148|  4.56k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  4.56k|            auto next = get<1>(subs);
 1150|  4.56k|            auto ts   = get<2>(subs);
 1151|  4.56k|            auto tail = get<3>(subs);
 1152|  4.56k|            IMMER_TRY {
  ------------------
  |  |   49|  4.56k|#define IMMER_TRY try
  ------------------
 1153|  4.56k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.06k, False: 3.50k]
  ------------------
 1154|  1.06k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.06k|                    newn->inner()[idx] = next;
 1156|  1.06k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  3.50k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.92k, False: 1.58k]
  ------------------
 1158|  1.92k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.92k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 1.58k]
  |  Branch (1159:40): [True: 0, False: 0]
  |  Branch (1159:52): [True: 0, False: 0]
  ------------------
 1160|      0|                    auto newn = pos.node()->inner()[0];
 1161|      0|                    return std::make_tuple(
 1162|      0|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.58k|                } else {
 1164|  1.58k|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|  1.58k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|  1.58k|                }
 1167|  4.56k|            }
 1168|  4.56k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  4.56k|        }
 1177|  4.56k|    }
_ZN5immer6detail4rbts8dec_leafINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_j:
  556|  38.0k|{
  557|  38.0k|    make_leaf_sub_pos(node, n).visit(dec_visitor{});
  558|  38.0k|}
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  6.48k|    {
 1143|  6.48k|        auto idx = pos.index(last);
 1144|  6.48k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 6.48k, Folded]
  |  Branch (1144:25): [True: 3.49k, False: 2.99k]
  ------------------
 1145|  3.49k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  3.49k|        } else {
 1147|  2.99k|            using std::get;
 1148|  2.99k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.99k|            auto next = get<1>(subs);
 1150|  2.99k|            auto ts   = get<2>(subs);
 1151|  2.99k|            auto tail = get<3>(subs);
 1152|  2.99k|            IMMER_TRY {
  ------------------
  |  |   49|  2.99k|#define IMMER_TRY try
  ------------------
 1153|  2.99k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 752, False: 2.24k]
  ------------------
 1154|    752|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    752|                    newn->inner()[idx] = next;
 1156|    752|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.24k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 2.24k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.24k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 2.24k, Folded]
  |  Branch (1159:40): [True: 1.87k, False: 368]
  |  Branch (1159:52): [True: 1.42k, False: 450]
  ------------------
 1160|  1.42k|                    auto newn = pos.node()->inner()[0];
 1161|  1.42k|                    return std::make_tuple(
 1162|  1.42k|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.42k|                } else {
 1164|    818|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    818|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    818|                }
 1167|  2.99k|            }
 1168|  2.99k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  2.99k|        }
 1177|  6.48k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|  1.29k|    {
 1182|  1.29k|        auto old_tail_size = pos.count();
 1183|  1.29k|        auto new_tail_size = pos.index(last) + 1;
 1184|  1.29k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 491, False: 803]
  ------------------
 1185|  1.29k|                                 ? pos.node()->inc()
 1186|  1.29k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  1.29k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  1.29k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1142|  2.74k|    {
 1143|  2.74k|        auto idx = pos.index(last);
 1144|  2.74k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 2.74k, Folded]
  |  Branch (1144:25): [True: 1.31k, False: 1.43k]
  ------------------
 1145|  1.31k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  1.43k|        } else {
 1147|  1.43k|            using std::get;
 1148|  1.43k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  1.43k|            auto next = get<1>(subs);
 1150|  1.43k|            auto ts   = get<2>(subs);
 1151|  1.43k|            auto tail = get<3>(subs);
 1152|  1.43k|            IMMER_TRY {
  ------------------
  |  |   49|  1.43k|#define IMMER_TRY try
  ------------------
 1153|  1.43k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 368, False: 1.06k]
  ------------------
 1154|    368|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    368|                    newn->inner()[idx] = next;
 1156|    368|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.06k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 1.06k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.06k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 1.06k, Folded]
  |  Branch (1159:40): [True: 673, False: 395]
  |  Branch (1159:52): [True: 267, False: 406]
  ------------------
 1160|    267|                    auto newn = pos.node()->inner()[0];
 1161|    267|                    return std::make_tuple(
 1162|    267|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    801|                } else {
 1164|    801|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    801|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    801|                }
 1167|  1.43k|            }
 1168|  1.43k|            IMMER_CATCH (...) {
 1169|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  |  Branch (1169:17): [True: 0, False: 0]
  ------------------
 1170|      0|                assert(tail);
  ------------------
  |  Branch (1170:17): [True: 0, False: 0]
  ------------------
 1171|      0|                if (next)
  ------------------
  |  Branch (1171:21): [True: 0, False: 0]
  ------------------
 1172|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1173|      0|                dec_leaf(tail, ts);
 1174|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1175|      0|            }
 1176|  1.43k|        }
 1177|  2.74k|    }
_ZN5immer6detail4rbts19slice_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_m:
 1181|    762|    {
 1182|    762|        auto old_tail_size = pos.count();
 1183|    762|        auto new_tail_size = pos.index(last) + 1;
 1184|    762|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 316, False: 446]
  ------------------
 1185|    762|                                 ? pos.node()->inc()
 1186|    762|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|    762|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|    762|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  15.6k|    {
 1415|  15.6k|        auto idx                = pos.subindex(first);
 1416|  15.6k|        auto count              = pos.count();
 1417|  15.6k|        auto left_size          = pos.size_before(idx);
 1418|  15.6k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  15.6k|        auto dropped_size       = first;
 1420|  15.6k|        auto child_dropped_size = dropped_size - left_size;
 1421|  15.6k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 15.6k, Folded]
  |  Branch (1421:25): [True: 13.5k, False: 2.02k]
  |  Branch (1421:45): [True: 4.35k, False: 9.24k]
  ------------------
 1422|  4.35k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  11.2k|        } else {
 1424|  11.2k|            using std::get;
 1425|  11.2k|            auto n    = pos.node();
 1426|  11.2k|            auto newc = count - idx;
 1427|  11.2k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  11.2k|            IMMER_TRY {
  ------------------
  |  |   49|  11.2k|#define IMMER_TRY try
  ------------------
 1429|  11.2k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  11.2k|                auto newr     = newn->relaxed();
 1431|  11.2k|                newr->d.count = count - idx;
 1432|  11.2k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  11.2k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 11.2k, False: 0]
  ------------------
 1434|  11.2k|                pos.copy_sizes(idx + 1,
 1435|  11.2k|                               newr->d.count - 1,
 1436|  11.2k|                               newr->d.sizes[0],
 1437|  11.2k|                               newr->d.sizes + 1);
 1438|  11.2k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 11.2k, False: 0]
  ------------------
 1439|  11.2k|                       pos.size() - dropped_size);
 1440|  11.2k|                newn->inner()[0] = get<1>(subs);
 1441|  11.2k|                std::copy(n->inner() + idx + 1,
 1442|  11.2k|                          n->inner() + count,
 1443|  11.2k|                          newn->inner() + 1);
 1444|  11.2k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  11.2k|                return std::make_tuple(pos.shift(), newn);
 1446|  11.2k|            }
 1447|  11.2k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  11.2k|        }
 1452|  15.6k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1456|  9.31k|    {
 1457|  9.31k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  9.31k|        return std::make_tuple(0, n);
 1459|  9.31k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  51.1k|    {
 1415|  51.1k|        auto idx                = pos.subindex(first);
 1416|  51.1k|        auto count              = pos.count();
 1417|  51.1k|        auto left_size          = pos.size_before(idx);
 1418|  51.1k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  51.1k|        auto dropped_size       = first;
 1420|  51.1k|        auto child_dropped_size = dropped_size - left_size;
 1421|  51.1k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 51.1k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  51.1k|        } else {
 1424|  51.1k|            using std::get;
 1425|  51.1k|            auto n    = pos.node();
 1426|  51.1k|            auto newc = count - idx;
 1427|  51.1k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  51.1k|            IMMER_TRY {
  ------------------
  |  |   49|  51.1k|#define IMMER_TRY try
  ------------------
 1429|  51.1k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  51.1k|                auto newr     = newn->relaxed();
 1431|  51.1k|                newr->d.count = count - idx;
 1432|  51.1k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  51.1k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 51.1k, False: 0]
  ------------------
 1434|  51.1k|                pos.copy_sizes(idx + 1,
 1435|  51.1k|                               newr->d.count - 1,
 1436|  51.1k|                               newr->d.sizes[0],
 1437|  51.1k|                               newr->d.sizes + 1);
 1438|  51.1k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 51.1k, False: 0]
  ------------------
 1439|  51.1k|                       pos.size() - dropped_size);
 1440|  51.1k|                newn->inner()[0] = get<1>(subs);
 1441|  51.1k|                std::copy(n->inner() + idx + 1,
 1442|  51.1k|                          n->inner() + count,
 1443|  51.1k|                          newn->inner() + 1);
 1444|  51.1k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  51.1k|                return std::make_tuple(pos.shift(), newn);
 1446|  51.1k|            }
 1447|  51.1k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  51.1k|        }
 1452|  51.1k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  1.95k|    {
 1415|  1.95k|        auto idx                = pos.subindex(first);
 1416|  1.95k|        auto count              = pos.count();
 1417|  1.95k|        auto left_size          = pos.size_before(idx);
 1418|  1.95k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  1.95k|        auto dropped_size       = first;
 1420|  1.95k|        auto child_dropped_size = dropped_size - left_size;
 1421|  1.95k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 1.95k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  1.95k|        } else {
 1424|  1.95k|            using std::get;
 1425|  1.95k|            auto n    = pos.node();
 1426|  1.95k|            auto newc = count - idx;
 1427|  1.95k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  1.95k|            IMMER_TRY {
  ------------------
  |  |   49|  1.95k|#define IMMER_TRY try
  ------------------
 1429|  1.95k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  1.95k|                auto newr     = newn->relaxed();
 1431|  1.95k|                newr->d.count = count - idx;
 1432|  1.95k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  1.95k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 1.95k, False: 0]
  ------------------
 1434|  1.95k|                pos.copy_sizes(idx + 1,
 1435|  1.95k|                               newr->d.count - 1,
 1436|  1.95k|                               newr->d.sizes[0],
 1437|  1.95k|                               newr->d.sizes + 1);
 1438|  1.95k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 1.95k, False: 0]
  ------------------
 1439|  1.95k|                       pos.size() - dropped_size);
 1440|  1.95k|                newn->inner()[0] = get<1>(subs);
 1441|  1.95k|                std::copy(n->inner() + idx + 1,
 1442|  1.95k|                          n->inner() + count,
 1443|  1.95k|                          newn->inner() + 1);
 1444|  1.95k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  1.95k|                return std::make_tuple(pos.shift(), newn);
 1446|  1.95k|            }
 1447|  1.95k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  1.95k|        }
 1452|  1.95k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1456|  8.72k|    {
 1457|  8.72k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  8.72k|        return std::make_tuple(0, n);
 1459|  8.72k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE11visit_innerIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  5.24k|    {
 1415|  5.24k|        auto idx                = pos.subindex(first);
 1416|  5.24k|        auto count              = pos.count();
 1417|  5.24k|        auto left_size          = pos.size_before(idx);
 1418|  5.24k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  5.24k|        auto dropped_size       = first;
 1420|  5.24k|        auto child_dropped_size = dropped_size - left_size;
 1421|  5.24k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 5.24k]
  |  Branch (1421:25): [True: 0, False: 0]
  |  Branch (1421:45): [True: 0, False: 0]
  ------------------
 1422|      0|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  5.24k|        } else {
 1424|  5.24k|            using std::get;
 1425|  5.24k|            auto n    = pos.node();
 1426|  5.24k|            auto newc = count - idx;
 1427|  5.24k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  5.24k|            IMMER_TRY {
  ------------------
  |  |   49|  5.24k|#define IMMER_TRY try
  ------------------
 1429|  5.24k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  5.24k|                auto newr     = newn->relaxed();
 1431|  5.24k|                newr->d.count = count - idx;
 1432|  5.24k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  5.24k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 5.24k, False: 0]
  ------------------
 1434|  5.24k|                pos.copy_sizes(idx + 1,
 1435|  5.24k|                               newr->d.count - 1,
 1436|  5.24k|                               newr->d.sizes[0],
 1437|  5.24k|                               newr->d.sizes + 1);
 1438|  5.24k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 5.24k, False: 0]
  ------------------
 1439|  5.24k|                       pos.size() - dropped_size);
 1440|  5.24k|                newn->inner()[0] = get<1>(subs);
 1441|  5.24k|                std::copy(n->inner() + idx + 1,
 1442|  5.24k|                          n->inner() + count,
 1443|  5.24k|                          newn->inner() + 1);
 1444|  5.24k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  5.24k|                return std::make_tuple(pos.shift(), newn);
 1446|  5.24k|            }
 1447|  5.24k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  5.24k|        }
 1452|  5.24k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  9.04k|    {
 1415|  9.04k|        auto idx                = pos.subindex(first);
 1416|  9.04k|        auto count              = pos.count();
 1417|  9.04k|        auto left_size          = pos.size_before(idx);
 1418|  9.04k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  9.04k|        auto dropped_size       = first;
 1420|  9.04k|        auto child_dropped_size = dropped_size - left_size;
 1421|  9.04k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 9.04k, Folded]
  |  Branch (1421:25): [True: 6.07k, False: 2.96k]
  |  Branch (1421:45): [True: 3.47k, False: 2.60k]
  ------------------
 1422|  3.47k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  5.57k|        } else {
 1424|  5.57k|            using std::get;
 1425|  5.57k|            auto n    = pos.node();
 1426|  5.57k|            auto newc = count - idx;
 1427|  5.57k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  5.57k|            IMMER_TRY {
  ------------------
  |  |   49|  5.57k|#define IMMER_TRY try
  ------------------
 1429|  5.57k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  5.57k|                auto newr     = newn->relaxed();
 1431|  5.57k|                newr->d.count = count - idx;
 1432|  5.57k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  5.57k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 5.57k, False: 0]
  ------------------
 1434|  5.57k|                pos.copy_sizes(idx + 1,
 1435|  5.57k|                               newr->d.count - 1,
 1436|  5.57k|                               newr->d.sizes[0],
 1437|  5.57k|                               newr->d.sizes + 1);
 1438|  5.57k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 5.57k, False: 0]
  ------------------
 1439|  5.57k|                       pos.size() - dropped_size);
 1440|  5.57k|                newn->inner()[0] = get<1>(subs);
 1441|  5.57k|                std::copy(n->inner() + idx + 1,
 1442|  5.57k|                          n->inner() + count,
 1443|  5.57k|                          newn->inner() + 1);
 1444|  5.57k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  5.57k|                return std::make_tuple(pos.shift(), newn);
 1446|  5.57k|            }
 1447|  5.57k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  5.57k|        }
 1452|  9.04k|    }
_ZN5immer6detail4rbts18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE11visit_innerIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_m:
 1414|  1.47k|    {
 1415|  1.47k|        auto idx                = pos.subindex(first);
 1416|  1.47k|        auto count              = pos.count();
 1417|  1.47k|        auto left_size          = pos.size_before(idx);
 1418|  1.47k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  1.47k|        auto dropped_size       = first;
 1420|  1.47k|        auto child_dropped_size = dropped_size - left_size;
 1421|  1.47k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 1.47k, Folded]
  |  Branch (1421:25): [True: 475, False: 997]
  |  Branch (1421:45): [True: 272, False: 203]
  ------------------
 1422|    272|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  1.20k|        } else {
 1424|  1.20k|            using std::get;
 1425|  1.20k|            auto n    = pos.node();
 1426|  1.20k|            auto newc = count - idx;
 1427|  1.20k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  1.20k|            IMMER_TRY {
  ------------------
  |  |   49|  1.20k|#define IMMER_TRY try
  ------------------
 1429|  1.20k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  1.20k|                auto newr     = newn->relaxed();
 1431|  1.20k|                newr->d.count = count - idx;
 1432|  1.20k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  1.20k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 1.20k, False: 0]
  ------------------
 1434|  1.20k|                pos.copy_sizes(idx + 1,
 1435|  1.20k|                               newr->d.count - 1,
 1436|  1.20k|                               newr->d.sizes[0],
 1437|  1.20k|                               newr->d.sizes + 1);
 1438|  1.20k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 1.20k, False: 0]
  ------------------
 1439|  1.20k|                       pos.size() - dropped_size);
 1440|  1.20k|                newn->inner()[0] = get<1>(subs);
 1441|  1.20k|                std::copy(n->inner() + idx + 1,
 1442|  1.20k|                          n->inner() + count,
 1443|  1.20k|                          newn->inner() + 1);
 1444|  1.20k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  1.20k|                return std::make_tuple(pos.shift(), newn);
 1446|  1.20k|            }
 1447|  1.20k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  1.20k|        }
 1452|  1.47k|    }
_ZN5immer6detail4rbts12concat_treesINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jSG_jm:
 2001|  7.58k|{
 2002|  7.58k|    return make_singleton_regular_sub_pos(ltail, ltcount)
 2003|  7.58k|        .visit(concat_trees_left_visitor<Node>{},
 2004|  7.58k|               empty_leaf_pos<Node>{},
 2005|  7.58k|               rroot,
 2006|  7.58k|               rshift,
 2007|  7.58k|               rsize)
 2008|  7.58k|        .realize();
 2009|  7.58k|}
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_25singleton_regular_sub_posISC_EENS1_14empty_leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|  7.58k|    {
 1972|  7.58k|        return visit_maybe_relaxed_sub(
 1973|  7.58k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  7.58k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  5.46k|    {
 1959|  5.46k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  5.46k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  21.3k|{
 1873|  21.3k|    auto lshift = lpos.shift();
 1874|  21.3k|    auto rshift = rpos.shift();
 1875|  21.3k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 21.3k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  21.3k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 16.2k, False: 5.11k]
  ------------------
 1879|  16.2k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  16.2k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  16.2k|    } else {
 1882|  5.11k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 5.11k, False: 0]
  ------------------
 1883|  5.11k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 5.11k]
  |  Branch (1883:9): [True: 5.11k, False: 0]
  |  Branch (1883:9): [True: 5.11k, False: 0]
  ------------------
 1884|  5.11k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  5.11k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  5.11k|    }
 1887|  21.3k|}
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1512|  5.22M|    {
 1513|  5.22M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 497k, False: 4.72M]
  ------------------
 1514|   497k|            auto s = size_t{};
 1515|  1.98M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.48M, False: 497k]
  ------------------
 1516|  1.48M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.48M|                s = sizes_[i];
 1518|  1.48M|            }
 1519|  4.72M|        } else {
 1520|  11.8M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.14M, False: 4.72M]
  ------------------
 1521|  7.14M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.14M|                    .visit(v, args...);
 1523|  4.72M|        }
 1524|  5.22M|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|  2.28M|    {
 1734|  2.28M|        auto count = p.count();
 1735|  2.28M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 2.28M, False: 0]
  ------------------
 1736|  2.28M|        plan.counts[plan.n++] = count;
 1737|  2.28M|        plan.total += count;
 1738|  2.28M|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|  18.7M|    {
 1734|  18.7M|        auto count = p.count();
 1735|  18.7M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 18.7M, False: 0]
  ------------------
 1736|  18.7M|        plan.counts[plan.n++] = count;
 1737|  18.7M|        plan.total += count;
 1738|  18.7M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE7shuffleEj:
 1762|  5.22M|    {
 1763|       |        // gcc seems to not really understand this code... :(
 1764|  5.22M|#if !defined(_MSC_VER)
 1765|  5.22M|#pragma GCC diagnostic push
 1766|  5.22M|#pragma GCC diagnostic ignored "-Warray-bounds"
 1767|  5.22M|#endif
 1768|  5.22M|        constexpr count_t rrb_extras    = 2;
 1769|  5.22M|        constexpr count_t rrb_invariant = 1;
 1770|  5.22M|        const auto bits                 = shift == BL ? BL : B;
  ------------------
  |  Branch (1770:43): [True: 497k, False: 4.72M]
  ------------------
 1771|  5.22M|        const auto branches             = count_t{1} << bits;
 1772|  5.22M|        const auto optimal              = ((total - 1) >> bits) + 1;
 1773|  5.22M|        count_t i                       = 0;
 1774|  6.09M|        while (n >= optimal + rrb_extras) {
  ------------------
  |  Branch (1774:16): [True: 873k, False: 5.22M]
  ------------------
 1775|       |            // skip ok nodes
 1776|  1.45M|            while (counts[i] > branches - rrb_invariant)
  ------------------
  |  Branch (1776:20): [True: 583k, False: 873k]
  ------------------
 1777|   583k|                i++;
 1778|   873k|            assert(i < n);
  ------------------
  |  Branch (1778:13): [True: 873k, False: 0]
  ------------------
 1779|       |            // short node, redistribute
 1780|   873k|            auto remaining = counts[i];
 1781|  2.08M|            do {
 1782|  2.08M|                auto next  = counts[i + 1];
 1783|  2.08M|                auto count = std::min(remaining + next, branches);
 1784|  2.08M|                counts[i]  = count;
 1785|  2.08M|                assert(counts[i]);
  ------------------
  |  Branch (1785:17): [True: 2.08M, False: 0]
  ------------------
 1786|  2.08M|                remaining += next - count;
 1787|  2.08M|                ++i;
 1788|  2.08M|            } while (remaining > 0);
  ------------------
  |  Branch (1788:22): [True: 1.20M, False: 873k]
  ------------------
 1789|       |            // remove node
 1790|   873k|            std::move(counts + i + 1, counts + n, counts + i);
 1791|   873k|            --n;
 1792|   873k|            --i;
 1793|   873k|        }
 1794|  5.22M|#if !defined(_MSC_VER)
 1795|  5.22M|#pragma GCC diagnostic pop
 1796|  5.22M|#endif
 1797|  5.22M|    }
_ZNK5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1478|  10.4M|    auto shift() const { return shift_; }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPjj:
 1577|  5.22M|        : curr_{counts}
 1578|  5.22M|        , n_{n}
 1579|  5.22M|        , result_{
 1580|  5.22M|              shift + B, node_t::make_inner_r_n(std::min(n_, branches<B>)), 0}
 1581|  5.22M|    {
 1582|  5.22M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_m:
 1481|  5.22M|        : shift_{s}
 1482|  5.22M|        , count_{1}
 1483|  5.22M|        , nodes_{n0}
 1484|  5.22M|        , sizes_{s0}
 1485|  5.22M|    {
 1486|  5.22M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1512|  5.22M|    {
 1513|  5.22M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 497k, False: 4.72M]
  ------------------
 1514|   497k|            auto s = size_t{};
 1515|  1.98M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.48M, False: 497k]
  ------------------
 1516|  1.48M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.48M|                s = sizes_[i];
 1518|  1.48M|            }
 1519|  4.72M|        } else {
 1520|  11.8M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.14M, False: 4.72M]
  ------------------
 1521|  7.14M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.14M|                    .visit(v, args...);
 1523|  4.72M|        }
 1524|  5.22M|    }
_ZN5immer6detail4rbts21concat_merger_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1721|  2.28M|    {
 1722|  2.28M|        merger.merge_leaf(p);
 1723|  2.28M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10merge_leafIRNS1_12leaf_sub_posISC_EEEEvOT_:
 1614|  2.28M|    {
 1615|  2.28M|        auto from       = p.node();
 1616|  2.28M|        auto from_size  = p.size();
 1617|  2.28M|        auto from_count = p.count();
 1618|  2.28M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 2.28M, False: 0]
  ------------------
 1619|  2.28M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 2.24M, False: 35.3k]
  |  Branch (1619:21): [True: 2.22M, False: 19.0k]
  ------------------
 1620|  2.22M|            add_child(from, from_size);
 1621|  2.22M|            from->inc();
 1622|  2.22M|        } else {
 1623|  54.3k|            auto from_offset = count_t{};
 1624|  54.3k|            auto from_data   = from->leaf();
 1625|  70.0k|            do {
 1626|  70.0k|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 34.7k, False: 35.3k]
  ------------------
 1627|  34.7k|                    to_        = node_t::make_leaf_n(*curr_);
 1628|  34.7k|                    to_offset_ = 0;
 1629|  34.7k|                }
 1630|  70.0k|                auto data = to_->leaf();
 1631|  70.0k|                auto to_copy =
 1632|  70.0k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|  70.0k|                detail::uninitialized_copy(from_data + from_offset,
 1634|  70.0k|                                           from_data + from_offset + to_copy,
 1635|  70.0k|                                           data + to_offset_);
 1636|  70.0k|                to_offset_ += to_copy;
 1637|  70.0k|                from_offset += to_copy;
 1638|  70.0k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 34.7k, False: 35.3k]
  ------------------
 1639|  34.7k|                    add_child(to_, to_offset_);
 1640|  34.7k|                    to_ = nullptr;
 1641|  34.7k|                }
 1642|  70.0k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 15.7k, False: 54.3k]
  ------------------
 1643|  54.3k|        }
 1644|  2.28M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9add_childEPSC_m:
 1589|  22.4M|    {
 1590|  22.4M|        assert(size);
  ------------------
  |  Branch (1590:9): [True: 22.4M, False: 0]
  ------------------
 1591|  22.4M|        ++curr_;
 1592|  22.4M|        auto parent  = result_.nodes_[result_.count_ - 1];
 1593|  22.4M|        auto relaxed = parent->relaxed();
 1594|  22.4M|        if (relaxed->d.count == branches<B>) {
  ------------------
  |  Branch (1594:13): [True: 2.45M, False: 19.9M]
  ------------------
 1595|  2.45M|            assert(result_.count_ < result_t::max_children);
  ------------------
  |  Branch (1595:13): [True: 2.45M, False: 0]
  ------------------
 1596|  2.45M|            n_ -= branches<B>;
 1597|  2.45M|            parent  = node_t::make_inner_r_n(std::min(n_, branches<B>));
 1598|  2.45M|            relaxed = parent->relaxed();
 1599|  2.45M|            result_.nodes_[result_.count_] = parent;
 1600|  2.45M|            result_.sizes_[result_.count_] = result_.sizes_[result_.count_ - 1];
 1601|  2.45M|            assert(result_.sizes_[result_.count_]);
  ------------------
  |  Branch (1601:13): [True: 2.45M, False: 0]
  ------------------
 1602|  2.45M|            ++result_.count_;
 1603|  2.45M|        }
 1604|  22.4M|        auto idx = relaxed->d.count++;
 1605|  22.4M|        result_.sizes_[result_.count_ - 1] += size;
 1606|  22.4M|        assert(result_.sizes_[result_.count_ - 1]);
  ------------------
  |  Branch (1606:9): [True: 22.4M, False: 0]
  ------------------
 1607|  22.4M|        relaxed->d.sizes[idx] = size + (idx ? relaxed->d.sizes[idx - 1] : 0);
  ------------------
  |  Branch (1607:41): [True: 14.7M, False: 7.67M]
  ------------------
 1608|  22.4M|        assert(relaxed->d.sizes[idx]);
  ------------------
  |  Branch (1608:9): [True: 22.4M, False: 0]
  ------------------
 1609|  22.4M|        parent->inner()[idx] = p;
 1610|  22.4M|    };
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|  18.7M|    {
 1716|  18.7M|        merger.merge_inner(p);
 1717|  18.7M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_11relaxed_posISC_EEEEvOT_:
 1648|  18.7M|    {
 1649|  18.7M|        auto from       = p.node();
 1650|  18.7M|        auto from_size  = p.size();
 1651|  18.7M|        auto from_count = p.count();
 1652|  18.7M|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 18.7M, False: 0]
  ------------------
 1653|  18.7M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 16.7M, False: 1.94M]
  |  Branch (1653:21): [True: 15.9M, False: 840k]
  ------------------
 1654|  15.9M|            add_child(from, from_size);
 1655|  15.9M|            from->inc();
 1656|  15.9M|        } else {
 1657|  2.78M|            auto from_offset = count_t{};
 1658|  2.78M|            auto from_data   = from->inner();
 1659|  3.87M|            do {
 1660|  3.87M|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 1.92M, False: 1.94M]
  ------------------
 1661|  1.92M|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|  1.92M|                    to_offset_ = 0;
 1663|  1.92M|                    to_size_   = 0;
 1664|  1.92M|                }
 1665|  3.87M|                auto data = to_->inner();
 1666|  3.87M|                auto to_copy =
 1667|  3.87M|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|  3.87M|                std::copy(from_data + from_offset,
 1669|  3.87M|                          from_data + from_offset + to_copy,
 1670|  3.87M|                          data + to_offset_);
 1671|  3.87M|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|  3.87M|                auto sizes = to_->relaxed()->d.sizes;
 1673|  3.87M|                p.copy_sizes(
 1674|  3.87M|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|  3.87M|                to_offset_ += to_copy;
 1676|  3.87M|                from_offset += to_copy;
 1677|  3.87M|                to_size_ = sizes[to_offset_ - 1];
 1678|  3.87M|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 3.87M, False: 0]
  ------------------
 1679|  3.87M|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 1.92M, False: 1.94M]
  ------------------
 1680|  1.92M|                    to_->relaxed()->d.count = to_offset_;
 1681|  1.92M|                    add_child(to_, to_size_);
 1682|  1.92M|                    to_ = nullptr;
 1683|  1.92M|                }
 1684|  3.87M|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 1.08M, False: 2.78M]
  ------------------
 1685|  2.78M|        }
 1686|  18.7M|    }
_ZNK5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6finishEv:
 1689|  5.22M|    {
 1690|  5.22M|        assert(!to_);
  ------------------
  |  Branch (1690:9): [True: 5.22M, False: 0]
  ------------------
 1691|  5.22M|        return result_;
 1692|  5.22M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8each_subINS1_11dec_visitorEJEEEvT_DpOT0_:
 1512|  5.22M|    {
 1513|  5.22M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 497k, False: 4.72M]
  ------------------
 1514|   497k|            auto s = size_t{};
 1515|  1.98M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.48M, False: 497k]
  ------------------
 1516|  1.48M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.48M|                s = sizes_[i];
 1518|  1.48M|            }
 1519|  4.72M|        } else {
 1520|  11.8M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.14M, False: 4.72M]
  ------------------
 1521|  7.14M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.14M|                    .visit(v, args...);
 1523|  4.72M|        }
 1524|  5.22M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_mSE_m:
 1503|   490k|        : shift_{s}
 1504|   490k|        , count_{3}
 1505|   490k|        , nodes_{n0, n1, n2}
 1506|   490k|        , sizes_{s0, s0 + s1, s0 + s1 + s2}
 1507|   490k|    {
 1508|   490k|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_m:
 1489|  7.58k|        : shift_{s}
 1490|  7.58k|        , count_{2}
 1491|  7.58k|        , nodes_{n0, n1}
 1492|  7.58k|        , sizes_{s0, s0 + s1}
 1493|  7.58k|    {
 1494|  7.58k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  15.9k|    {
 1918|  15.9k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  15.9k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|    348|    {
 1918|    348|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    348|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  2.46k|{
 1873|  2.46k|    auto lshift = lpos.shift();
 1874|  2.46k|    auto rshift = rpos.shift();
 1875|  2.46k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 2.46k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.46k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 743, False: 1.72k]
  ------------------
 1879|    743|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    743|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  1.72k|    } else {
 1882|  1.72k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 1.72k, False: 0]
  ------------------
 1883|  1.72k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 1.72k]
  |  Branch (1883:9): [True: 1.72k, False: 0]
  |  Branch (1883:9): [True: 1.72k, False: 0]
  ------------------
 1884|  1.72k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  1.72k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  1.72k|    }
 1887|  2.46k|}
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  1.07k|    {
 1918|  1.07k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.07k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  1.07k|{
 1873|  1.07k|    auto lshift = lpos.shift();
 1874|  1.07k|    auto rshift = rpos.shift();
 1875|  1.07k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.07k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  1.07k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 334, False: 743]
  ------------------
 1879|    334|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    334|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|    743|    } else {
 1882|    743|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 743, False: 0]
  ------------------
 1883|    743|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 743]
  |  Branch (1883:9): [True: 743, False: 0]
  |  Branch (1883:9): [True: 743, False: 0]
  ------------------
 1884|    743|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|    743|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|    743|    }
 1887|  1.07k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|    852|{
 1824|    852|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    852|    plan.fill(lpos, cpos, rpos);
 1826|    852|    plan.shuffle(cpos.shift());
 1827|    852|    IMMER_TRY {
  ------------------
  |  |   49|    852|#define IMMER_TRY try
  ------------------
 1828|    852|        return plan.merge(lpos, cpos, rpos);
 1829|    852|    }
 1830|    852|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    852|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISH_EEEEvOT_OT0_OT1_:
 1752|    852|    {
 1753|    852|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 852, False: 0]
  ------------------
 1754|    852|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 852, False: 0]
  ------------------
 1755|    852|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    852|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    852|        cpos.each_sub(visitor_t{}, *this);
 1758|    852|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    852|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|   960k|    {
 1734|   960k|        auto count = p.count();
 1735|   960k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 960k, False: 0]
  ------------------
 1736|   960k|        plan.counts[plan.n++] = count;
 1737|   960k|        plan.total += count;
 1738|   960k|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|   706k|    {
 1734|   706k|        auto count = p.count();
 1735|   706k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 706k, False: 0]
  ------------------
 1736|   706k|        plan.counts[plan.n++] = count;
 1737|   706k|        plan.total += count;
 1738|   706k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|    852|    {
 1803|    852|        using node_t    = node_type<CPos>;
 1804|    852|        using merger_t  = concat_merger<node_t>;
 1805|    852|        using visitor_t = concat_merger_visitor;
 1806|    852|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    852|        IMMER_TRY {
  ------------------
  |  |   49|    852|#define IMMER_TRY try
  ------------------
 1808|    852|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    852|            cpos.each_sub(visitor_t{}, merger);
 1810|    852|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    852|            cpos.each_sub(dec_visitor{});
 1812|    852|            return merger.finish();
 1813|    852|        }
 1814|    852|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    852|    }
_ZN5immer6detail4rbts21concat_merger_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1721|   960k|    {
 1722|   960k|        merger.merge_leaf(p);
 1723|   960k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10merge_leafIRNS1_13full_leaf_posISC_EEEEvOT_:
 1614|   960k|    {
 1615|   960k|        auto from       = p.node();
 1616|   960k|        auto from_size  = p.size();
 1617|   960k|        auto from_count = p.count();
 1618|   960k|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 960k, False: 0]
  ------------------
 1619|   960k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 960k, False: 0]
  |  Branch (1619:21): [True: 960k, False: 0]
  ------------------
 1620|   960k|            add_child(from, from_size);
 1621|   960k|            from->inc();
 1622|   960k|        } else {
 1623|      0|            auto from_offset = count_t{};
 1624|      0|            auto from_data   = from->leaf();
 1625|      0|            do {
 1626|      0|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 0, False: 0]
  ------------------
 1627|      0|                    to_        = node_t::make_leaf_n(*curr_);
 1628|      0|                    to_offset_ = 0;
 1629|      0|                }
 1630|      0|                auto data = to_->leaf();
 1631|      0|                auto to_copy =
 1632|      0|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|      0|                detail::uninitialized_copy(from_data + from_offset,
 1634|      0|                                           from_data + from_offset + to_copy,
 1635|      0|                                           data + to_offset_);
 1636|      0|                to_offset_ += to_copy;
 1637|      0|                from_offset += to_copy;
 1638|      0|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 0, False: 0]
  ------------------
 1639|      0|                    add_child(to_, to_offset_);
 1640|      0|                    to_ = nullptr;
 1641|      0|                }
 1642|      0|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 0, False: 0]
  ------------------
 1643|      0|        }
 1644|   960k|    }
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|   706k|    {
 1716|   706k|        merger.merge_inner(p);
 1717|   706k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_8full_posISC_EEEEvOT_:
 1648|   706k|    {
 1649|   706k|        auto from       = p.node();
 1650|   706k|        auto from_size  = p.size();
 1651|   706k|        auto from_count = p.count();
 1652|   706k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 706k, False: 0]
  ------------------
 1653|   706k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 706k, False: 0]
  |  Branch (1653:21): [True: 706k, False: 0]
  ------------------
 1654|   706k|            add_child(from, from_size);
 1655|   706k|            from->inc();
 1656|   706k|        } else {
 1657|      0|            auto from_offset = count_t{};
 1658|      0|            auto from_data   = from->inner();
 1659|      0|            do {
 1660|      0|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 0, False: 0]
  ------------------
 1661|      0|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|      0|                    to_offset_ = 0;
 1663|      0|                    to_size_   = 0;
 1664|      0|                }
 1665|      0|                auto data = to_->inner();
 1666|      0|                auto to_copy =
 1667|      0|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|      0|                std::copy(from_data + from_offset,
 1669|      0|                          from_data + from_offset + to_copy,
 1670|      0|                          data + to_offset_);
 1671|      0|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|      0|                auto sizes = to_->relaxed()->d.sizes;
 1673|      0|                p.copy_sizes(
 1674|      0|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|      0|                to_offset_ += to_copy;
 1676|      0|                from_offset += to_copy;
 1677|      0|                to_size_ = sizes[to_offset_ - 1];
 1678|      0|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 0, False: 0]
  ------------------
 1679|      0|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 0, False: 0]
  ------------------
 1680|      0|                    to_->relaxed()->d.count = to_offset_;
 1681|      0|                    add_child(to_, to_size_);
 1682|      0|                    to_ = nullptr;
 1683|      0|                }
 1684|      0|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 0, False: 0]
  ------------------
 1685|      0|        }
 1686|   706k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|    743|    {
 1945|    743|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|    743|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|  2.46k|    {
 1925|  2.46k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  2.46k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_13full_leaf_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|  2.46k|{
 1839|  2.46k|    static_assert(Node::bits >= 2, "");
 1840|  2.46k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 2.46k, False: 0]
  ------------------
 1841|  2.46k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 2.46k, False: 0]
  ------------------
 1842|  2.46k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 2.46k, False: 0]
  ------------------
 1843|  2.46k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 2.46k]
  ------------------
 1844|      0|        return {
 1845|      0|            Node::bits_leaf,
 1846|      0|            lpos.node()->inc(),
 1847|      0|            lpos.count(),
 1848|      0|            tpos.node()->inc(),
 1849|      0|            tpos.count(),
 1850|      0|            rpos.node()->inc(),
 1851|      0|            rpos.count(),
 1852|      0|        };
 1853|  2.46k|    else
 1854|  2.46k|        return {
 1855|  2.46k|            Node::bits_leaf,
 1856|  2.46k|            lpos.node()->inc(),
 1857|  2.46k|            lpos.count(),
 1858|  2.46k|            rpos.node()->inc(),
 1859|  2.46k|            rpos.count(),
 1860|  2.46k|        };
 1861|  2.46k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|    743|{
 1824|    743|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    743|    plan.fill(lpos, cpos, rpos);
 1826|    743|    plan.shuffle(cpos.shift());
 1827|    743|    IMMER_TRY {
  ------------------
  |  |   49|    743|#define IMMER_TRY try
  ------------------
 1828|    743|        return plan.merge(lpos, cpos, rpos);
 1829|    743|    }
 1830|    743|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    743|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|    743|    {
 1753|    743|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 743, False: 0]
  ------------------
 1754|    743|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 743, False: 0]
  ------------------
 1755|    743|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    743|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    743|        cpos.each_sub(visitor_t{}, *this);
 1758|    743|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    743|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|    743|    {
 1803|    743|        using node_t    = node_type<CPos>;
 1804|    743|        using merger_t  = concat_merger<node_t>;
 1805|    743|        using visitor_t = concat_merger_visitor;
 1806|    743|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    743|        IMMER_TRY {
  ------------------
  |  |   49|    743|#define IMMER_TRY try
  ------------------
 1808|    743|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    743|            cpos.each_sub(visitor_t{}, merger);
 1810|    743|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    743|            cpos.each_sub(dec_visitor{});
 1812|    743|            return merger.finish();
 1813|    743|        }
 1814|    743|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    743|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|  2.06k|{
 1824|  2.06k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.06k|    plan.fill(lpos, cpos, rpos);
 1826|  2.06k|    plan.shuffle(cpos.shift());
 1827|  2.06k|    IMMER_TRY {
  ------------------
  |  |   49|  2.06k|#define IMMER_TRY try
  ------------------
 1828|  2.06k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.06k|    }
 1830|  2.06k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.06k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISH_EEEEvOT_OT0_OT1_:
 1752|  2.06k|    {
 1753|  2.06k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.06k, False: 0]
  ------------------
 1754|  2.06k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.06k, False: 0]
  ------------------
 1755|  2.06k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.06k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.06k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.06k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.06k|    }
_ZN5immer6detail4rbts34concat_rebalance_plan_fill_visitor10visit_nodeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_rebalance_planILj2ELj2EEEEEvOT_RT0_:
 1733|   620k|    {
 1734|   620k|        auto count = p.count();
 1735|   620k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 620k, False: 0]
  ------------------
 1736|   620k|        plan.counts[plan.n++] = count;
 1737|   620k|        plan.total += count;
 1738|   620k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  2.06k|    {
 1803|  2.06k|        using node_t    = node_type<CPos>;
 1804|  2.06k|        using merger_t  = concat_merger<node_t>;
 1805|  2.06k|        using visitor_t = concat_merger_visitor;
 1806|  2.06k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.06k|        IMMER_TRY {
  ------------------
  |  |   49|  2.06k|#define IMMER_TRY try
  ------------------
 1808|  2.06k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.06k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.06k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.06k|            cpos.each_sub(dec_visitor{});
 1812|  2.06k|            return merger.finish();
 1813|  2.06k|        }
 1814|  2.06k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.06k|    }
_ZN5immer6detail4rbts21concat_merger_visitor11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13concat_mergerISE_EEEEvOT_RT0_:
 1715|   620k|    {
 1716|   620k|        merger.merge_inner(p);
 1717|   620k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_15regular_sub_posISC_EEEEvOT_:
 1648|   620k|    {
 1649|   620k|        auto from       = p.node();
 1650|   620k|        auto from_size  = p.size();
 1651|   620k|        auto from_count = p.count();
 1652|   620k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 620k, False: 0]
  ------------------
 1653|   620k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 516k, False: 103k]
  |  Branch (1653:21): [True: 516k, False: 0]
  ------------------
 1654|   516k|            add_child(from, from_size);
 1655|   516k|            from->inc();
 1656|   516k|        } else {
 1657|   103k|            auto from_offset = count_t{};
 1658|   103k|            auto from_data   = from->inner();
 1659|   207k|            do {
 1660|   207k|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 103k, False: 103k]
  ------------------
 1661|   103k|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|   103k|                    to_offset_ = 0;
 1663|   103k|                    to_size_   = 0;
 1664|   103k|                }
 1665|   207k|                auto data = to_->inner();
 1666|   207k|                auto to_copy =
 1667|   207k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|   207k|                std::copy(from_data + from_offset,
 1669|   207k|                          from_data + from_offset + to_copy,
 1670|   207k|                          data + to_offset_);
 1671|   207k|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|   207k|                auto sizes = to_->relaxed()->d.sizes;
 1673|   207k|                p.copy_sizes(
 1674|   207k|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|   207k|                to_offset_ += to_copy;
 1676|   207k|                from_offset += to_copy;
 1677|   207k|                to_size_ = sizes[to_offset_ - 1];
 1678|   207k|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 207k, False: 0]
  ------------------
 1679|   207k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 103k, False: 103k]
  ------------------
 1680|   103k|                    to_->relaxed()->d.count = to_offset_;
 1681|   103k|                    add_child(to_, to_size_);
 1682|   103k|                    to_ = nullptr;
 1683|   103k|                }
 1684|   207k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 103k, False: 103k]
  ------------------
 1685|   103k|        }
 1686|   620k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  1.72k|    {
 1945|  1.72k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  1.72k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EESH_RNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|  5.11k|    {
 1925|  5.11k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  5.11k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|  5.11k|{
 1839|  5.11k|    static_assert(Node::bits >= 2, "");
 1840|  5.11k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 5.11k, False: 0]
  ------------------
 1841|  5.11k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 5.11k, False: 0]
  ------------------
 1842|  5.11k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 5.11k, False: 0]
  ------------------
 1843|  5.11k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 5.11k]
  ------------------
 1844|      0|        return {
 1845|      0|            Node::bits_leaf,
 1846|      0|            lpos.node()->inc(),
 1847|      0|            lpos.count(),
 1848|      0|            tpos.node()->inc(),
 1849|      0|            tpos.count(),
 1850|      0|            rpos.node()->inc(),
 1851|      0|            rpos.count(),
 1852|      0|        };
 1853|  5.11k|    else
 1854|  5.11k|        return {
 1855|  5.11k|            Node::bits_leaf,
 1856|  5.11k|            lpos.node()->inc(),
 1857|  5.11k|            lpos.count(),
 1858|  5.11k|            rpos.node()->inc(),
 1859|  5.11k|            rpos.count(),
 1860|  5.11k|        };
 1861|  5.11k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  1.72k|{
 1824|  1.72k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.72k|    plan.fill(lpos, cpos, rpos);
 1826|  1.72k|    plan.shuffle(cpos.shift());
 1827|  1.72k|    IMMER_TRY {
  ------------------
  |  |   49|  1.72k|#define IMMER_TRY try
  ------------------
 1828|  1.72k|        return plan.merge(lpos, cpos, rpos);
 1829|  1.72k|    }
 1830|  1.72k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.72k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEEvOT_OT0_OT1_:
 1752|  1.72k|    {
 1753|  1.72k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.72k, False: 0]
  ------------------
 1754|  1.72k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.72k, False: 0]
  ------------------
 1755|  1.72k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.72k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.72k|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.72k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.72k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  1.72k|    {
 1803|  1.72k|        using node_t    = node_type<CPos>;
 1804|  1.72k|        using merger_t  = concat_merger<node_t>;
 1805|  1.72k|        using visitor_t = concat_merger_visitor;
 1806|  1.72k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.72k|        IMMER_TRY {
  ------------------
  |  |   49|  1.72k|#define IMMER_TRY try
  ------------------
 1808|  1.72k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.72k|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.72k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.72k|            cpos.each_sub(dec_visitor{});
 1812|  1.72k|            return merger.finish();
 1813|  1.72k|        }
 1814|  1.72k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.72k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_12null_sub_posERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSE_IT_EEOT0_OT1_OT2_:
 1823|   110k|{
 1824|   110k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   110k|    plan.fill(lpos, cpos, rpos);
 1826|   110k|    plan.shuffle(cpos.shift());
 1827|   110k|    IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
 1828|   110k|        return plan.merge(lpos, cpos, rpos);
 1829|   110k|    }
 1830|   110k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   110k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISH_EEEEvOT_OT0_OT1_:
 1752|   110k|    {
 1753|   110k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 110k, False: 0]
  ------------------
 1754|   110k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 110k, False: 0]
  ------------------
 1755|   110k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   110k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   110k|        cpos.each_sub(visitor_t{}, *this);
 1758|   110k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   110k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_12null_sub_posERNS1_17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISH_EEEENS7_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|   110k|    {
 1803|   110k|        using node_t    = node_type<CPos>;
 1804|   110k|        using merger_t  = concat_merger<node_t>;
 1805|   110k|        using visitor_t = concat_merger_visitor;
 1806|   110k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   110k|        IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
 1808|   110k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   110k|            cpos.each_sub(visitor_t{}, merger);
 1810|   110k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   110k|            cpos.each_sub(dec_visitor{});
 1812|   110k|            return merger.finish();
 1813|   110k|        }
 1814|   110k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   110k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  5.11k|    {
 1945|  5.11k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  5.11k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_25singleton_regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  5.11k|{
 1824|  5.11k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  5.11k|    plan.fill(lpos, cpos, rpos);
 1826|  5.11k|    plan.shuffle(cpos.shift());
 1827|  5.11k|    IMMER_TRY {
  ------------------
  |  |   49|  5.11k|#define IMMER_TRY try
  ------------------
 1828|  5.11k|        return plan.merge(lpos, cpos, rpos);
 1829|  5.11k|    }
 1830|  5.11k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  5.11k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEEvOT_OT0_OT1_:
 1752|  5.11k|    {
 1753|  5.11k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 5.11k, False: 0]
  ------------------
 1754|  5.11k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 5.11k, False: 0]
  ------------------
 1755|  5.11k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  5.11k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  5.11k|        cpos.each_sub(visitor_t{}, *this);
 1758|  5.11k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  5.11k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  5.11k|    {
 1803|  5.11k|        using node_t    = node_type<CPos>;
 1804|  5.11k|        using merger_t  = concat_merger<node_t>;
 1805|  5.11k|        using visitor_t = concat_merger_visitor;
 1806|  5.11k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  5.11k|        IMMER_TRY {
  ------------------
  |  |   49|  5.11k|#define IMMER_TRY try
  ------------------
 1808|  5.11k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  5.11k|            cpos.each_sub(visitor_t{}, merger);
 1810|  5.11k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  5.11k|            cpos.each_sub(dec_visitor{});
 1812|  5.11k|            return merger.finish();
 1813|  5.11k|        }
 1814|  5.11k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  5.11k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EERNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  2.12k|    {
 1959|  2.12k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  2.12k|    }
_ZNO5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7realizeEv:
 1527|   497k|    {
 1528|   497k|        if (count_ > 1) {
  ------------------
  |  Branch (1528:13): [True: 38.0k, False: 459k]
  ------------------
 1529|  38.0k|            IMMER_TRY {
  ------------------
  |  |   49|  38.0k|#define IMMER_TRY try
  ------------------
 1530|  38.0k|                auto result = node_t::make_inner_r_n(count_);
 1531|  38.0k|                auto r      = result->relaxed();
 1532|  38.0k|                r->d.count  = count_;
 1533|  38.0k|                std::copy(nodes_, nodes_ + count_, result->inner());
 1534|  38.0k|                std::copy(sizes_, sizes_ + count_, r->d.sizes);
 1535|  38.0k|                return {result, shift_, r};
 1536|  38.0k|            }
 1537|  38.0k|            IMMER_CATCH (...) {
 1538|      0|                each_sub(dec_visitor{});
 1539|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1540|      0|            }
 1541|   459k|        } else {
 1542|   459k|            assert(shift_ >= B + BL);
  ------------------
  |  Branch (1542:13): [True: 459k, False: 0]
  ------------------
 1543|   459k|            return {nodes_[0], shift_ - B, nodes_[0]->relaxed()};
 1544|   459k|        }
 1545|   497k|    }
_ZN5immer6detail4rbts12concat_treesINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jmSG_jSG_jm:
 1986|   490k|{
 1987|   490k|    return visit_maybe_relaxed_sub(lroot,
 1988|   490k|                                   lshift,
 1989|   490k|                                   lsize,
 1990|   490k|                                   concat_trees_left_visitor<Node>{},
 1991|   490k|                                   make_leaf_pos(ltail, ltcount),
 1992|   490k|                                   rroot,
 1993|   490k|                                   rshift,
 1994|   490k|                                   rsize)
 1995|   490k|        .realize();
 1996|   490k|}
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EENS1_8leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|   475k|    {
 1972|   475k|        return visit_maybe_relaxed_sub(
 1973|   475k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|   475k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|   459k|    {
 1959|   459k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|   459k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  4.23M|{
 1873|  4.23M|    auto lshift = lpos.shift();
 1874|  4.23M|    auto rshift = rpos.shift();
 1875|  4.23M|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 2.16M, False: 2.06M]
  ------------------
 1876|  2.16M|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  2.16M|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.16M|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 81.6k, False: 1.98M]
  ------------------
 1879|  81.6k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  81.6k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  1.98M|    } else {
 1882|  1.98M|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 1.98M, False: 0]
  ------------------
 1883|  1.98M|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 1.98M]
  |  Branch (1883:9): [True: 1.98M, False: 0]
  |  Branch (1883:9): [True: 1.98M, False: 0]
  ------------------
 1884|  1.98M|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  1.98M|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  1.98M|    }
 1887|  4.23M|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  2.16M|    {
 1898|  2.16M|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  2.16M|    }
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  4.94k|    {
 1898|  4.94k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  4.94k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   668k|{
 1873|   668k|    auto lshift = lpos.shift();
 1874|   668k|    auto rshift = rpos.shift();
 1875|   668k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 3.15k, False: 665k]
  ------------------
 1876|  3.15k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  3.15k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   665k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 12.4k, False: 652k]
  ------------------
 1879|  12.4k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  12.4k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   652k|    } else {
 1882|   652k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 652k, False: 0]
  ------------------
 1883|   652k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 652k]
  |  Branch (1883:9): [True: 652k, False: 0]
  |  Branch (1883:9): [True: 652k, False: 0]
  ------------------
 1884|   652k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   652k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   652k|    }
 1887|   668k|}
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EENS1_12null_sub_posEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  3.93k|{
 1824|  3.93k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  3.93k|    plan.fill(lpos, cpos, rpos);
 1826|  3.93k|    plan.shuffle(cpos.shift());
 1827|  3.93k|    IMMER_TRY {
  ------------------
  |  |   49|  3.93k|#define IMMER_TRY try
  ------------------
 1828|  3.93k|        return plan.merge(lpos, cpos, rpos);
 1829|  3.93k|    }
 1830|  3.93k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  3.93k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEEvOT_OT0_OT1_:
 1752|  3.93k|    {
 1753|  3.93k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 3.93k, False: 0]
  ------------------
 1754|  3.93k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 3.93k, False: 0]
  ------------------
 1755|  3.93k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  3.93k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  3.93k|        cpos.each_sub(visitor_t{}, *this);
 1758|  3.93k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  3.93k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  3.93k|    {
 1803|  3.93k|        using node_t    = node_type<CPos>;
 1804|  3.93k|        using merger_t  = concat_merger<node_t>;
 1805|  3.93k|        using visitor_t = concat_merger_visitor;
 1806|  3.93k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  3.93k|        IMMER_TRY {
  ------------------
  |  |   49|  3.93k|#define IMMER_TRY try
  ------------------
 1808|  3.93k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  3.93k|            cpos.each_sub(visitor_t{}, merger);
 1810|  3.93k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  3.93k|            cpos.each_sub(dec_visitor{});
 1812|  3.93k|            return merger.finish();
 1813|  3.93k|        }
 1814|  3.93k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  3.93k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|   656k|    {
 1918|   656k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   656k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  94.9k|    {
 1918|  94.9k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  94.9k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   103k|{
 1873|   103k|    auto lshift = lpos.shift();
 1874|   103k|    auto rshift = rpos.shift();
 1875|   103k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 777, False: 102k]
  ------------------
 1876|    777|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|    777|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   102k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 606, False: 102k]
  ------------------
 1879|    606|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    606|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   102k|    } else {
 1882|   102k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 102k, False: 0]
  ------------------
 1883|   102k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 102k]
  |  Branch (1883:9): [True: 102k, False: 0]
  |  Branch (1883:9): [True: 102k, False: 0]
  ------------------
 1884|   102k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   102k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   102k|    }
 1887|   103k|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  1.15k|    {
 1898|  1.15k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  1.15k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|   106k|    {
 1918|   106k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   106k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|   106k|{
 1873|   106k|    auto lshift = lpos.shift();
 1874|   106k|    auto rshift = rpos.shift();
 1875|   106k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 106k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   106k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 258, False: 106k]
  ------------------
 1879|    258|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    258|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   106k|    } else {
 1882|   106k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 106k, False: 0]
  ------------------
 1883|   106k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 106k]
  |  Branch (1883:9): [True: 106k, False: 0]
  |  Branch (1883:9): [True: 106k, False: 0]
  ------------------
 1884|   106k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   106k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   106k|    }
 1887|   106k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  50.6k|    {
 1945|  50.6k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  50.6k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|   119k|    {
 1925|   119k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   119k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_13full_leaf_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|   119k|{
 1839|   119k|    static_assert(Node::bits >= 2, "");
 1840|   119k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 119k, False: 0]
  ------------------
 1841|   119k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 119k, False: 0]
  ------------------
 1842|   119k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 119k, False: 0]
  ------------------
 1843|   119k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 119k, False: 0]
  ------------------
 1844|   119k|        return {
 1845|   119k|            Node::bits_leaf,
 1846|   119k|            lpos.node()->inc(),
 1847|   119k|            lpos.count(),
 1848|   119k|            tpos.node()->inc(),
 1849|   119k|            tpos.count(),
 1850|   119k|            rpos.node()->inc(),
 1851|   119k|            rpos.count(),
 1852|   119k|        };
 1853|      0|    else
 1854|      0|        return {
 1855|      0|            Node::bits_leaf,
 1856|      0|            lpos.node()->inc(),
 1857|      0|            lpos.count(),
 1858|      0|            rpos.node()->inc(),
 1859|      0|            rpos.count(),
 1860|      0|        };
 1861|   119k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  57.3k|    {
 1938|  57.3k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  57.3k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|   106k|{
 1824|   106k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   106k|    plan.fill(lpos, cpos, rpos);
 1826|   106k|    plan.shuffle(cpos.shift());
 1827|   106k|    IMMER_TRY {
  ------------------
  |  |   49|   106k|#define IMMER_TRY try
  ------------------
 1828|   106k|        return plan.merge(lpos, cpos, rpos);
 1829|   106k|    }
 1830|   106k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   106k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|   106k|    {
 1753|   106k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 106k, False: 0]
  ------------------
 1754|   106k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 106k, False: 0]
  ------------------
 1755|   106k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   106k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   106k|        cpos.each_sub(visitor_t{}, *this);
 1758|   106k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   106k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|   106k|    {
 1803|   106k|        using node_t    = node_type<CPos>;
 1804|   106k|        using merger_t  = concat_merger<node_t>;
 1805|   106k|        using visitor_t = concat_merger_visitor;
 1806|   106k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   106k|        IMMER_TRY {
  ------------------
  |  |   49|   106k|#define IMMER_TRY try
  ------------------
 1808|   106k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   106k|            cpos.each_sub(visitor_t{}, merger);
 1810|   106k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   106k|            cpos.each_sub(dec_visitor{});
 1812|   106k|            return merger.finish();
 1813|   106k|        }
 1814|   106k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   106k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|  68.9k|    {
 1945|  68.9k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  68.9k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1924|   370k|    {
 1925|   370k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   370k|    }
_ZN5immer6detail4rbts12concat_leafsINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EESF_EENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1838|   370k|{
 1839|   370k|    static_assert(Node::bits >= 2, "");
 1840|   370k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 370k, False: 0]
  ------------------
 1841|   370k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 370k, False: 0]
  ------------------
 1842|   370k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 370k, False: 0]
  ------------------
 1843|   370k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 370k, False: 0]
  ------------------
 1844|   370k|        return {
 1845|   370k|            Node::bits_leaf,
 1846|   370k|            lpos.node()->inc(),
 1847|   370k|            lpos.count(),
 1848|   370k|            tpos.node()->inc(),
 1849|   370k|            tpos.count(),
 1850|   370k|            rpos.node()->inc(),
 1851|   370k|            rpos.count(),
 1852|   370k|        };
 1853|      0|    else
 1854|      0|        return {
 1855|      0|            Node::bits_leaf,
 1856|      0|            lpos.node()->inc(),
 1857|      0|            lpos.count(),
 1858|      0|            rpos.node()->inc(),
 1859|      0|            rpos.count(),
 1860|      0|        };
 1861|   370k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  48.7k|    {
 1938|  48.7k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  48.7k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EESF_EENSG_IT_EEOT0_OT1_OT2_:
 1823|   102k|{
 1824|   102k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   102k|    plan.fill(lpos, cpos, rpos);
 1826|   102k|    plan.shuffle(cpos.shift());
 1827|   102k|    IMMER_TRY {
  ------------------
  |  |   49|   102k|#define IMMER_TRY try
  ------------------
 1828|   102k|        return plan.merge(lpos, cpos, rpos);
 1829|   102k|    }
 1830|   102k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   102k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EEvOT_OT0_OT1_:
 1752|   102k|    {
 1753|   102k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 102k, False: 0]
  ------------------
 1754|   102k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 102k, False: 0]
  ------------------
 1755|   102k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   102k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   102k|        cpos.each_sub(visitor_t{}, *this);
 1758|   102k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   102k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSN_OT1_:
 1802|   102k|    {
 1803|   102k|        using node_t    = node_type<CPos>;
 1804|   102k|        using merger_t  = concat_merger<node_t>;
 1805|   102k|        using visitor_t = concat_merger_visitor;
 1806|   102k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   102k|        IMMER_TRY {
  ------------------
  |  |   49|   102k|#define IMMER_TRY try
  ------------------
 1808|   102k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   102k|            cpos.each_sub(visitor_t{}, merger);
 1810|   102k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   102k|            cpos.each_sub(dec_visitor{});
 1812|   102k|            return merger.finish();
 1813|   102k|        }
 1814|   102k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   102k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1944|   370k|    {
 1945|   370k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|   370k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|   738k|    {
 1938|   738k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|   738k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_15regular_sub_posISC_EERNS1_17concat_center_posISC_EERNS1_11relaxed_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|   652k|{
 1824|   652k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   652k|    plan.fill(lpos, cpos, rpos);
 1826|   652k|    plan.shuffle(cpos.shift());
 1827|   652k|    IMMER_TRY {
  ------------------
  |  |   49|   652k|#define IMMER_TRY try
  ------------------
 1828|   652k|        return plan.merge(lpos, cpos, rpos);
 1829|   652k|    }
 1830|   652k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   652k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEEvOT_OT0_OT1_:
 1752|   652k|    {
 1753|   652k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 652k, False: 0]
  ------------------
 1754|   652k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 652k, False: 0]
  ------------------
 1755|   652k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   652k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   652k|        cpos.each_sub(visitor_t{}, *this);
 1758|   652k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   652k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_11relaxed_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|   652k|    {
 1803|   652k|        using node_t    = node_type<CPos>;
 1804|   652k|        using merger_t  = concat_merger<node_t>;
 1805|   652k|        using visitor_t = concat_merger_visitor;
 1806|   652k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   652k|        IMMER_TRY {
  ------------------
  |  |   49|   652k|#define IMMER_TRY try
  ------------------
 1808|   652k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   652k|            cpos.each_sub(visitor_t{}, merger);
 1810|   652k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   652k|            cpos.each_sub(dec_visitor{});
 1812|   652k|            return merger.finish();
 1813|   652k|        }
 1814|   652k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   652k|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EENS1_12null_sub_posEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  2.22M|{
 1824|  2.22M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.22M|    plan.fill(lpos, cpos, rpos);
 1826|  2.22M|    plan.shuffle(cpos.shift());
 1827|  2.22M|    IMMER_TRY {
  ------------------
  |  |   49|  2.22M|#define IMMER_TRY try
  ------------------
 1828|  2.22M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.22M|    }
 1830|  2.22M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.22M|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEEvOT_OT0_OT1_:
 1752|  2.22M|    {
 1753|  2.22M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.22M, False: 0]
  ------------------
 1754|  2.22M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.22M, False: 0]
  ------------------
 1755|  2.22M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.22M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.22M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.22M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.22M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_12null_sub_posEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSP_OT1_:
 1802|  2.22M|    {
 1803|  2.22M|        using node_t    = node_type<CPos>;
 1804|  2.22M|        using merger_t  = concat_merger<node_t>;
 1805|  2.22M|        using visitor_t = concat_merger_visitor;
 1806|  2.22M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.22M|        IMMER_TRY {
  ------------------
  |  |   49|  2.22M|#define IMMER_TRY try
  ------------------
 1808|  2.22M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.22M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.22M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.22M|            cpos.each_sub(dec_visitor{});
 1812|  2.22M|            return merger.finish();
 1813|  2.22M|        }
 1814|  2.22M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.22M|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  1.61M|    {
 1918|  1.61M|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.61M|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_15regular_sub_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|    782|    {
 1918|    782|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    782|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  81.5k|{
 1873|  81.5k|    auto lshift = lpos.shift();
 1874|  81.5k|    auto rshift = rpos.shift();
 1875|  81.5k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 64.7k, False: 16.7k]
  ------------------
 1876|  64.7k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  64.7k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  64.7k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 712, False: 16.0k]
  ------------------
 1879|    712|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    712|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  16.0k|    } else {
 1882|  16.0k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 16.0k, False: 0]
  ------------------
 1883|  16.0k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 16.0k]
  |  Branch (1883:9): [True: 16.0k, False: 0]
  |  Branch (1883:9): [True: 16.0k, False: 0]
  ------------------
 1884|  16.0k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  16.0k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  16.0k|    }
 1887|  81.5k|}
_ZN5immer6detail4rbts19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1897|  64.3k|    {
 1898|  64.3k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  64.3k|    }
_ZN5immer6detail4rbts20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_8full_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1917|  1.93k|    {
 1918|  1.93k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.93k|    }
_ZN5immer6detail4rbts13concat_innersINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posIT_EEOT0_OT1_OT2_:
 1872|  1.93k|{
 1873|  1.93k|    auto lshift = lpos.shift();
 1874|  1.93k|    auto rshift = rpos.shift();
 1875|  1.93k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.93k]
  ------------------
 1876|      0|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|      0|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  1.93k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 260, False: 1.67k]
  ------------------
 1879|    260|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    260|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  1.67k|    } else {
 1882|  1.67k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 1.67k, False: 0]
  ------------------
 1883|  1.67k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 1.67k]
  |  Branch (1883:9): [True: 1.67k, False: 0]
  |  Branch (1883:9): [True: 1.67k, False: 0]
  ------------------
 1884|  1.67k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  1.67k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  1.67k|    }
 1887|  1.93k|}
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_8full_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|    327|    {
 1938|    327|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|    327|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EERNS1_8full_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  1.67k|{
 1824|  1.67k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.67k|    plan.fill(lpos, cpos, rpos);
 1826|  1.67k|    plan.shuffle(cpos.shift());
 1827|  1.67k|    IMMER_TRY {
  ------------------
  |  |   49|  1.67k|#define IMMER_TRY try
  ------------------
 1828|  1.67k|        return plan.merge(lpos, cpos, rpos);
 1829|  1.67k|    }
 1830|  1.67k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.67k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEEvOT_OT0_OT1_:
 1752|  1.67k|    {
 1753|  1.67k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.67k, False: 0]
  ------------------
 1754|  1.67k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.67k, False: 0]
  ------------------
 1755|  1.67k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.67k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.67k|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.67k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.67k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_8full_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  1.67k|    {
 1803|  1.67k|        using node_t    = node_type<CPos>;
 1804|  1.67k|        using merger_t  = concat_merger<node_t>;
 1805|  1.67k|        using visitor_t = concat_merger_visitor;
 1806|  1.67k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.67k|        IMMER_TRY {
  ------------------
  |  |   49|  1.67k|#define IMMER_TRY try
  ------------------
 1808|  1.67k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.67k|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.67k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.67k|            cpos.each_sub(dec_visitor{});
 1812|  1.67k|            return merger.finish();
 1813|  1.67k|        }
 1814|  1.67k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.67k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|    631|    {
 1938|    631|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|    631|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EERNS1_15regular_sub_posISC_EEEENSG_IT_EEOT0_OT1_OT2_:
 1823|  16.0k|{
 1824|  16.0k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  16.0k|    plan.fill(lpos, cpos, rpos);
 1826|  16.0k|    plan.shuffle(cpos.shift());
 1827|  16.0k|    IMMER_TRY {
  ------------------
  |  |   49|  16.0k|#define IMMER_TRY try
  ------------------
 1828|  16.0k|        return plan.merge(lpos, cpos, rpos);
 1829|  16.0k|    }
 1830|  16.0k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  16.0k|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEEvOT_OT0_OT1_:
 1752|  16.0k|    {
 1753|  16.0k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 16.0k, False: 0]
  ------------------
 1754|  16.0k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 16.0k, False: 0]
  ------------------
 1755|  16.0k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  16.0k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  16.0k|        cpos.each_sub(visitor_t{}, *this);
 1758|  16.0k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  16.0k|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EERNS1_15regular_sub_posISF_EEEENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSQ_OT1_:
 1802|  16.0k|    {
 1803|  16.0k|        using node_t    = node_type<CPos>;
 1804|  16.0k|        using merger_t  = concat_merger<node_t>;
 1805|  16.0k|        using visitor_t = concat_merger_visitor;
 1806|  16.0k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  16.0k|        IMMER_TRY {
  ------------------
  |  |   49|  16.0k|#define IMMER_TRY try
  ------------------
 1808|  16.0k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  16.0k|            cpos.each_sub(visitor_t{}, merger);
 1810|  16.0k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  16.0k|            cpos.each_sub(dec_visitor{});
 1812|  16.0k|            return merger.finish();
 1813|  16.0k|        }
 1814|  16.0k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  16.0k|    }
_ZN5immer6detail4rbts19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11visit_innerIRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EESH_EENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1937|  1.53M|    {
 1938|  1.53M|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  1.53M|    }
_ZN5immer6detail4rbts16concat_rebalanceINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERNS1_11relaxed_posISC_EERNS1_17concat_center_posISC_EESF_EENSG_IT_EEOT0_OT1_OT2_:
 1823|  1.98M|{
 1824|  1.98M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.98M|    plan.fill(lpos, cpos, rpos);
 1826|  1.98M|    plan.shuffle(cpos.shift());
 1827|  1.98M|    IMMER_TRY {
  ------------------
  |  |   49|  1.98M|#define IMMER_TRY try
  ------------------
 1828|  1.98M|        return plan.merge(lpos, cpos, rpos);
 1829|  1.98M|    }
 1830|  1.98M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.98M|}
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE4fillIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EEvOT_OT0_OT1_:
 1752|  1.98M|    {
 1753|  1.98M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.98M, False: 0]
  ------------------
 1754|  1.98M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.98M, False: 0]
  ------------------
 1755|  1.98M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.98M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.98M|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.98M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.98M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE5mergeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_17concat_center_posISF_EESH_EENSI_INSt3__15decayIT0_E4type6node_tEEEOT_OSN_OT1_:
 1802|  1.98M|    {
 1803|  1.98M|        using node_t    = node_type<CPos>;
 1804|  1.98M|        using merger_t  = concat_merger<node_t>;
 1805|  1.98M|        using visitor_t = concat_merger_visitor;
 1806|  1.98M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.98M|        IMMER_TRY {
  ------------------
  |  |   49|  1.98M|#define IMMER_TRY try
  ------------------
 1808|  1.98M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.98M|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.98M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.98M|            cpos.each_sub(dec_visitor{});
 1812|  1.98M|            return merger.finish();
 1813|  1.98M|        }
 1814|  1.98M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.98M|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EERNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  16.3k|    {
 1959|  16.3k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  16.3k|    }
_ZN5immer6detail4rbts25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EENS1_8leaf_posISC_EEJRPSC_RjRmEEENS1_17concat_center_posISC_EEOT_OT0_DpOT1_:
 1971|  14.4k|    {
 1972|  14.4k|        return visit_maybe_relaxed_sub(
 1973|  14.4k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  14.4k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_11relaxed_posISC_EERNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  6.93k|    {
 1959|  6.93k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  6.93k|    }
_ZN5immer6detail4rbts26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_nodeIRNS1_15regular_sub_posISC_EESH_RNS1_8leaf_posISC_EEEENS1_17concat_center_posISC_EEOT_OT0_OT1_:
 1958|  7.55k|    {
 1959|  7.55k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  7.55k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_NSA_5applyIS7_E4type4editESI_j:
  680|  51.8k|    {
  681|  51.8k|        auto node     = pos.node();
  682|  51.8k|        auto level    = pos.shift();
  683|  51.8k|        auto idx      = pos.count() - 1;
  684|  51.8k|        auto children = pos.size(idx);
  685|  51.8k|        auto new_idx =
  686|  51.8k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 2.88k, False: 49.0k]
  |  Branch (686:47): [True: 522, False: 48.4k]
  ------------------
  687|  51.8k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  51.8k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [True: 51.8k, Folded]
  |  Branch (688:38): [True: 48.5k, False: 3.35k]
  ------------------
  689|       |
  690|  51.8k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 851, False: 51.0k]
  ------------------
  691|    851|            return nullptr;
  692|  51.0k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 48.4k, False: 2.55k]
  ------------------
  693|  48.4k|            new_child =
  694|  48.4k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 45.9k, False: 2.56k]
  ------------------
  695|  48.4k|                       : pos.last_oh_csh(
  696|  2.56k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  48.4k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 620, False: 47.8k]
  ------------------
  698|    620|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 281, False: 339]
  ------------------
  699|    281|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    339|                else
  701|    339|                    return nullptr;
  702|    620|            }
  703|  48.4k|        } else
  704|  2.55k|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  50.6k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 48.2k, False: 2.45k]
  ------------------
  707|  48.2k|            auto count             = new_idx + 1;
  708|  48.2k|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|  48.2k|            node->inner()[new_idx] = new_child;
  710|  48.2k|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|  48.2k|            relaxed->d.count          = count;
  712|  48.2k|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 48.2k, False: 0]
  ------------------
  713|  48.2k|            return node;
  714|  48.2k|        } else {
  715|  2.45k|            IMMER_TRY {
  ------------------
  |  |   49|  2.45k|#define IMMER_TRY try
  ------------------
  716|  2.45k|                auto count    = new_idx + 1;
  717|  2.45k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  2.45k|                auto relaxed  = new_node->relaxed();
  719|  2.45k|                new_node->inner()[new_idx] = new_child;
  720|  2.45k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  2.45k|                relaxed->d.count           = count;
  722|  2.45k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 2.45k, False: 0]
  ------------------
  723|  2.45k|                if (Mutating)
  ------------------
  |  Branch (723:21): [True: 2.45k, Folded]
  ------------------
  724|  2.45k|                    pos.visit(dec_visitor{});
  725|  2.45k|                return new_node;
  726|  2.45k|            }
  727|  2.45k|            IMMER_CATCH (...) {
  728|      0|                auto shift = pos.shift();
  729|      0|                auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (729:30): [True: 0, False: 0]
  ------------------
  730|      0|                if (shift > BL) {
  ------------------
  |  Branch (730:21): [True: 0, False: 0]
  ------------------
  731|      0|                    tail->inc();
  732|      0|                    dec_inner(new_child, shift - B, size);
  733|      0|                }
  734|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  735|      0|            }
  736|  2.45k|        }
  737|  50.6k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_NSA_5applyIS7_E4type4editESJ_DpOT0_:
  741|  36.1k|    {
  742|  36.1k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 36.1k, False: 0]
  ------------------
  743|  36.1k|        auto node    = pos.node();
  744|  36.1k|        auto idx     = pos.index(pos.size() - 1);
  745|  36.1k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  36.1k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 36.1k, Folded]
  |  Branch (746:36): [True: 35.4k, False: 682]
  ------------------
  747|  36.1k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 35.4k, False: 682]
  ------------------
  748|  35.4k|            node->inner()[new_idx] =
  749|  35.4k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 34.6k, False: 839]
  ------------------
  750|       |                               /* otherwise */
  751|  35.4k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|  35.4k|            return node;
  753|  35.4k|        } else {
  754|    682|            auto new_parent = node_t::make_inner_e(e);
  755|    682|            IMMER_TRY {
  ------------------
  |  |   49|    682|#define IMMER_TRY try
  ------------------
  756|    682|                new_parent->inner()[new_idx] =
  757|    682|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 351, False: 331]
  ------------------
  758|    682|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    682|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    682|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    682|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 682, Folded]
  ------------------
  763|    682|                    pos.visit(dec_visitor{});
  764|    682|                return new_parent;
  765|    682|            }
  766|    682|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    682|        }
  771|  36.1k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|   766k|    {
  742|   766k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 766k, False: 0]
  ------------------
  743|   766k|        auto node    = pos.node();
  744|   766k|        auto idx     = pos.index(pos.size() - 1);
  745|   766k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   766k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 766k, Folded]
  |  Branch (746:36): [True: 765k, False: 537]
  ------------------
  747|   766k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 765k, False: 537]
  ------------------
  748|   765k|            node->inner()[new_idx] =
  749|   765k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 600k, False: 165k]
  ------------------
  750|       |                               /* otherwise */
  751|   765k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   765k|            return node;
  753|   765k|        } else {
  754|    537|            auto new_parent = node_t::make_inner_e(e);
  755|    537|            IMMER_TRY {
  ------------------
  |  |   49|    537|#define IMMER_TRY try
  ------------------
  756|    537|                new_parent->inner()[new_idx] =
  757|    537|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 222, False: 315]
  ------------------
  758|    537|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    537|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    537|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    537|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 537, Folded]
  ------------------
  763|    537|                    pos.visit(dec_visitor{});
  764|    537|                return new_parent;
  765|    537|            }
  766|    537|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    537|        }
  771|   766k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_11regular_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|  2.90k|    {
  742|  2.90k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 2.90k, False: 0]
  ------------------
  743|  2.90k|        auto node    = pos.node();
  744|  2.90k|        auto idx     = pos.index(pos.size() - 1);
  745|  2.90k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  2.90k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 2.90k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  2.90k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 2.90k]
  ------------------
  748|      0|            node->inner()[new_idx] =
  749|      0|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|       |                               /* otherwise */
  751|      0|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|      0|            return node;
  753|  2.90k|        } else {
  754|  2.90k|            auto new_parent = node_t::make_inner_e(e);
  755|  2.90k|            IMMER_TRY {
  ------------------
  |  |   49|  2.90k|#define IMMER_TRY try
  ------------------
  756|  2.90k|                new_parent->inner()[new_idx] =
  757|  2.90k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 1.31k, False: 1.59k]
  ------------------
  758|  2.90k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  2.90k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  2.90k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  2.90k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 2.90k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  2.90k|                return new_parent;
  765|  2.90k|            }
  766|  2.90k|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|  2.90k|        }
  771|  2.90k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEEPSC_OT_NSA_5applyIS7_E4type4editESI_j:
  680|  6.79k|    {
  681|  6.79k|        auto node     = pos.node();
  682|  6.79k|        auto level    = pos.shift();
  683|  6.79k|        auto idx      = pos.count() - 1;
  684|  6.79k|        auto children = pos.size(idx);
  685|  6.79k|        auto new_idx =
  686|  6.79k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 1.05k, False: 5.73k]
  |  Branch (686:47): [True: 395, False: 5.34k]
  ------------------
  687|  6.79k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  6.79k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [Folded, False: 6.79k]
  |  Branch (688:38): [True: 0, False: 0]
  ------------------
  689|       |
  690|  6.79k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 589, False: 6.20k]
  ------------------
  691|    589|            return nullptr;
  692|  6.20k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 5.34k, False: 860]
  ------------------
  693|  5.34k|            new_child =
  694|  5.34k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 0, False: 5.34k]
  ------------------
  695|  5.34k|                       : pos.last_oh_csh(
  696|  5.34k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  5.34k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 598, False: 4.74k]
  ------------------
  698|    598|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 273, False: 325]
  ------------------
  699|    273|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    325|                else
  701|    325|                    return nullptr;
  702|    598|            }
  703|  5.34k|        } else
  704|    860|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  5.87k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 0, False: 5.87k]
  ------------------
  707|      0|            auto count             = new_idx + 1;
  708|      0|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|      0|            node->inner()[new_idx] = new_child;
  710|      0|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|      0|            relaxed->d.count          = count;
  712|      0|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 0, False: 0]
  ------------------
  713|      0|            return node;
  714|  5.87k|        } else {
  715|  5.87k|            IMMER_TRY {
  ------------------
  |  |   49|  5.87k|#define IMMER_TRY try
  ------------------
  716|  5.87k|                auto count    = new_idx + 1;
  717|  5.87k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  5.87k|                auto relaxed  = new_node->relaxed();
  719|  5.87k|                new_node->inner()[new_idx] = new_child;
  720|  5.87k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  5.87k|                relaxed->d.count           = count;
  722|  5.87k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 5.87k, False: 0]
  ------------------
  723|  5.87k|                if (Mutating)
  ------------------
  |  Branch (723:21): [Folded, False: 5.87k]
  ------------------
  724|      0|                    pos.visit(dec_visitor{});
  725|  5.87k|                return new_node;
  726|  5.87k|            }
  727|  5.87k|            IMMER_CATCH (...) {
  728|      0|                auto shift = pos.shift();
  729|      0|                auto size  = new_idx == idx ? children + ts : ts;
  ------------------
  |  Branch (729:30): [True: 0, False: 0]
  ------------------
  730|      0|                if (shift > BL) {
  ------------------
  |  Branch (730:21): [True: 0, False: 0]
  ------------------
  731|      0|                    tail->inc();
  732|      0|                    dec_inner(new_child, shift - B, size);
  733|      0|                }
  734|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  735|      0|            }
  736|  5.87k|        }
  737|  5.87k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEJRjEEEPSC_OT_NSA_5applyIS7_E4type4editESJ_DpOT0_:
  741|  1.11k|    {
  742|  1.11k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 1.11k, False: 0]
  ------------------
  743|  1.11k|        auto node    = pos.node();
  744|  1.11k|        auto idx     = pos.index(pos.size() - 1);
  745|  1.11k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  1.11k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 1.11k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  1.11k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 1.11k]
  ------------------
  748|      0|            node->inner()[new_idx] =
  749|      0|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 0, False: 0]
  ------------------
  750|       |                               /* otherwise */
  751|      0|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|      0|            return node;
  753|  1.11k|        } else {
  754|  1.11k|            auto new_parent = node_t::make_inner_e(e);
  755|  1.11k|            IMMER_TRY {
  ------------------
  |  |   49|  1.11k|#define IMMER_TRY try
  ------------------
  756|  1.11k|                new_parent->inner()[new_idx] =
  757|  1.11k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 650, False: 466]
  ------------------
  758|  1.11k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  1.11k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  1.11k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  1.11k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 1.11k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  1.11k|                return new_parent;
  765|  1.11k|            }
  766|  1.11k|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|  1.11k|        }
  771|  1.11k|    }
_ZN5immer6detail4rbts21push_tail_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEJEEEPSC_OT_NSA_5applyIS7_E4type4editESI_DpOT0_:
  741|   135k|    {
  742|   135k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 135k, False: 0]
  ------------------
  743|   135k|        auto node    = pos.node();
  744|   135k|        auto idx     = pos.index(pos.size() - 1);
  745|   135k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   135k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 135k, Folded]
  |  Branch (746:36): [True: 135k, False: 682]
  ------------------
  747|   135k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 135k, False: 682]
  ------------------
  748|   135k|            node->inner()[new_idx] =
  749|   135k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 131k, False: 3.91k]
  ------------------
  750|       |                               /* otherwise */
  751|   135k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   135k|            return node;
  753|   135k|        } else {
  754|    682|            auto new_parent = node_t::make_inner_e(e);
  755|    682|            IMMER_TRY {
  ------------------
  |  |   49|    682|#define IMMER_TRY try
  ------------------
  756|    682|                new_parent->inner()[new_idx] =
  757|    682|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 370, False: 312]
  ------------------
  758|    682|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    682|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    682|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    682|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 682, Folded]
  ------------------
  763|    682|                    pos.visit(dec_visitor{});
  764|    682|                return new_parent;
  765|    682|            }
  766|    682|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    682|        }
  771|   135k|    }
_ZN5immer6detail4rbts17dec_empty_regularINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_:
  580|  2.20k|{
  581|  2.20k|    make_empty_regular_pos(node).visit(dec_visitor());
  582|  2.20k|}
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_relaxedIRNS1_11relaxed_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  595|  61.7k|    {
  596|  61.7k|        auto offset = pos.index(idx);
  597|  61.7k|        auto count  = pos.count();
  598|  61.7k|        auto node   = pos.node();
  599|  61.7k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (599:13): [True: 53.1k, False: 8.60k]
  ------------------
  600|  53.1k|            return pos.towards_oh(
  601|  53.1k|                this_t{}, idx, offset, e, &node->inner()[offset]);
  602|  53.1k|        } else {
  603|  8.60k|            auto new_node = node_t::copy_inner_sr_e(e, node, count);
  604|  8.60k|            IMMER_TRY {
  ------------------
  |  |   49|  8.60k|#define IMMER_TRY try
  ------------------
  605|  8.60k|                auto& res = pos.towards_oh(
  606|  8.60k|                    this_t{}, idx, offset, e, &new_node->inner()[offset]);
  607|  8.60k|                pos.visit(dec_visitor{});
  608|  8.60k|                *location = new_node;
  609|  8.60k|                return res;
  610|  8.60k|            }
  611|  8.60k|            IMMER_CATCH (...) {
  612|      0|                dec_relaxed(new_node, pos.shift());
  613|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  614|      0|            }
  615|  8.60k|        }
  616|  61.7k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_12leaf_sub_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  17.7k|    {
  653|  17.7k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 17.7k, False: 0]
  ------------------
  654|  17.7k|        auto node = pos.node();
  655|  17.7k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 15.9k, False: 1.75k]
  ------------------
  656|  15.9k|            return node->leaf()[pos.index(idx)];
  657|  15.9k|        } else {
  658|  1.75k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  1.75k|            pos.visit(dec_visitor{});
  660|  1.75k|            *location = new_node;
  661|  1.75k|            return new_node->leaf()[pos.index(idx)];
  662|  1.75k|        }
  663|  17.7k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_15regular_sub_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  6.57k|    {
  622|  6.57k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 6.57k, False: 0]
  ------------------
  623|  6.57k|        auto offset = pos.index(idx);
  624|  6.57k|        auto count  = pos.count();
  625|  6.57k|        auto node   = pos.node();
  626|  6.57k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 5.31k, False: 1.26k]
  ------------------
  627|  5.31k|            return pos.towards_oh_ch(
  628|  5.31k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  5.31k|        } else {
  630|  1.26k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.26k|            IMMER_TRY {
  ------------------
  |  |   49|  1.26k|#define IMMER_TRY try
  ------------------
  632|  1.26k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.26k|                                              idx,
  634|  1.26k|                                              offset,
  635|  1.26k|                                              count,
  636|  1.26k|                                              e,
  637|  1.26k|                                              &new_node->inner()[offset]);
  638|  1.26k|                pos.visit(dec_visitor{});
  639|  1.26k|                *location = new_node;
  640|  1.26k|                return res;
  641|  1.26k|            }
  642|  1.26k|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|  1.26k|        }
  647|  6.57k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_13full_leaf_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  5.17k|    {
  653|  5.17k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 5.17k, False: 0]
  ------------------
  654|  5.17k|        auto node = pos.node();
  655|  5.17k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 3.76k, False: 1.40k]
  ------------------
  656|  3.76k|            return node->leaf()[pos.index(idx)];
  657|  3.76k|        } else {
  658|  1.40k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  1.40k|            pos.visit(dec_visitor{});
  660|  1.40k|            *location = new_node;
  661|  1.40k|            return new_node->leaf()[pos.index(idx)];
  662|  1.40k|        }
  663|  5.17k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_8full_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  5.46k|    {
  622|  5.46k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 5.46k, False: 0]
  ------------------
  623|  5.46k|        auto offset = pos.index(idx);
  624|  5.46k|        auto count  = pos.count();
  625|  5.46k|        auto node   = pos.node();
  626|  5.46k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 4.06k, False: 1.40k]
  ------------------
  627|  4.06k|            return pos.towards_oh_ch(
  628|  4.06k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  4.06k|        } else {
  630|  1.40k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  1.40k|            IMMER_TRY {
  ------------------
  |  |   49|  1.40k|#define IMMER_TRY try
  ------------------
  632|  1.40k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  1.40k|                                              idx,
  634|  1.40k|                                              offset,
  635|  1.40k|                                              count,
  636|  1.40k|                                              e,
  637|  1.40k|                                              &new_node->inner()[offset]);
  638|  1.40k|                pos.visit(dec_visitor{});
  639|  1.40k|                *location = new_node;
  640|  1.40k|                return res;
  641|  1.40k|            }
  642|  1.40k|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|  1.40k|        }
  647|  5.46k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10visit_leafIRNS1_8leaf_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  652|  1.40k|    {
  653|  1.40k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 1.40k, False: 0]
  ------------------
  654|  1.40k|        auto node = pos.node();
  655|  1.40k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 1.07k, False: 333]
  ------------------
  656|  1.07k|            return node->leaf()[pos.index(idx)];
  657|  1.07k|        } else {
  658|    333|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|    333|            pos.visit(dec_visitor{});
  660|    333|            *location = new_node;
  661|    333|            return new_node->leaf()[pos.index(idx)];
  662|    333|        }
  663|  1.40k|    }
_ZN5immer6detail4rbts15get_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13visit_regularIRNS1_11regular_posISC_EEEERiOT_mNSA_5applyIS7_E4type4editEPPSC_:
  621|  2.41k|    {
  622|  2.41k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 2.41k, False: 0]
  ------------------
  623|  2.41k|        auto offset = pos.index(idx);
  624|  2.41k|        auto count  = pos.count();
  625|  2.41k|        auto node   = pos.node();
  626|  2.41k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 2.01k, False: 398]
  ------------------
  627|  2.01k|            return pos.towards_oh_ch(
  628|  2.01k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  2.01k|        } else {
  630|    398|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|    398|            IMMER_TRY {
  ------------------
  |  |   49|    398|#define IMMER_TRY try
  ------------------
  632|    398|                auto& res = pos.towards_oh_ch(this_t{},
  633|    398|                                              idx,
  634|    398|                                              offset,
  635|    398|                                              count,
  636|    398|                                              e,
  637|    398|                                              &new_node->inner()[offset]);
  638|    398|                pos.visit(dec_visitor{});
  639|    398|                *location = new_node;
  640|    398|                return res;
  641|    398|            }
  642|    398|            IMMER_CATCH (...) {
  643|      0|                dec_regular(new_node, pos.shift(), pos.size());
  644|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  645|      0|            }
  646|    398|        }
  647|  2.41k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  46.4k|    {
  914|  46.4k|        auto idx    = pos.index(last);
  915|  46.4k|        auto node   = pos.node();
  916|  46.4k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 46.4k, Folded]
  |  Branch (916:35): [True: 39.0k, False: 7.38k]
  ------------------
  917|  46.4k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 46.4k, Folded]
  |  Branch (917:25): [True: 29.7k, False: 16.7k]
  ------------------
  918|  29.7k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 25.6k, False: 4.05k]
  ------------------
  919|  29.7k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  29.7k|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 29.7k, Folded]
  ------------------
  921|  29.7k|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  29.7k|            return res;
  923|  29.7k|        } else {
  924|  16.7k|            using std::get;
  925|  16.7k|            auto subs =
  926|  16.7k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 13.3k, False: 3.33k]
  ------------------
  927|  16.7k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  16.7k|            auto next = get<1>(subs);
  929|  16.7k|            auto ts   = get<2>(subs);
  930|  16.7k|            auto tail = get<3>(subs);
  931|  16.7k|            IMMER_TRY {
  ------------------
  |  |   49|  16.7k|#define IMMER_TRY try
  ------------------
  932|  16.7k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 12.9k, False: 3.80k]
  ------------------
  933|  12.9k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 11.0k, False: 1.91k]
  ------------------
  934|  11.0k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  11.0k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  11.0k|                        node->inner()[idx] = next;
  937|  11.0k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  11.0k|                        nodr->d.count      = idx + 1;
  939|  11.0k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 11.0k, False: 0]
  ------------------
  940|  11.0k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  11.0k|                    } else {
  942|  1.91k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.91k|                        auto newr = newn->relaxed();
  944|  1.91k|                        newn->inner()[idx] = next;
  945|  1.91k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.91k|                        newr->d.count      = idx + 1;
  947|  1.91k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.91k, False: 0]
  ------------------
  948|  1.91k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 1.91k, Folded]
  ------------------
  949|  1.91k|                            pos.visit(dec_visitor{});
  950|  1.91k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.91k|                    }
  952|  12.9k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 3.80k]
  ------------------
  953|      0|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 0, Folded]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  3.80k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 3.80k, Folded]
  |  Branch (956:40): [True: 2.83k, False: 973]
  |  Branch (956:52): [True: 2.31k, False: 517]
  ------------------
  957|  2.31k|                    auto newn = pos.node()->inner()[0];
  958|  2.31k|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 761, False: 1.55k]
  ------------------
  959|    761|                        newn->inc();
  960|  2.31k|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 2.31k, Folded]
  ------------------
  961|  2.31k|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|  2.31k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.31k|                } else {
  964|  1.49k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 828, False: 662]
  ------------------
  965|    828|                        pos.each_right(dec_visitor{}, idx + 1);
  966|    828|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|    828|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|    828|                    } else {
  969|    662|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    662|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 662, Folded]
  ------------------
  971|    662|                            pos.visit(dec_visitor{});
  972|    662|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    662|                    }
  974|  1.49k|                }
  975|  16.7k|            }
  976|  16.7k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  16.7k|        }
  987|  46.4k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.07k|    {
 1060|  1.07k|        auto old_tail_size = pos.count();
 1061|  1.07k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.07k|        auto node          = pos.node();
 1063|  1.07k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.07k, Folded]
  |  Branch (1063:42): [True: 237, False: 841]
  ------------------
 1064|  1.07k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 499, False: 579]
  ------------------
 1065|    499|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 499]
  ------------------
 1066|      0|                node->inc();
 1067|    499|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    579|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 231, False: 348]
  ------------------
 1069|    231|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    231|                              old_tail_size - new_tail_size);
 1071|    231|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    348|        } else {
 1073|    348|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    348|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 348, Folded]
  ------------------
 1075|    348|                pos.visit(dec_visitor{});
 1076|    348|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    348|        }
 1078|  1.07k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    635|    {
 1060|    635|        auto old_tail_size = pos.count();
 1061|    635|        auto new_tail_size = pos.index(last) + 1;
 1062|    635|        auto node          = pos.node();
 1063|    635|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 635]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    635|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 353, False: 282]
  ------------------
 1065|    353|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 353, Folded]
  ------------------
 1066|    353|                node->inc();
 1067|    353|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    353|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 282]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    282|        } else {
 1073|    282|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    282|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 282]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    282|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    282|        }
 1078|    635|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  11.7k|    {
  914|  11.7k|        auto idx    = pos.index(last);
  915|  11.7k|        auto node   = pos.node();
  916|  11.7k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 11.7k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  11.7k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 11.7k, Folded]
  |  Branch (917:25): [True: 10.0k, False: 1.72k]
  ------------------
  918|  10.0k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 10.0k]
  ------------------
  919|  10.0k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  10.0k|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 10.0k]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  10.0k|            return res;
  923|  10.0k|        } else {
  924|  1.72k|            using std::get;
  925|  1.72k|            auto subs =
  926|  1.72k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 1.72k]
  ------------------
  927|  1.72k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  1.72k|            auto next = get<1>(subs);
  929|  1.72k|            auto ts   = get<2>(subs);
  930|  1.72k|            auto tail = get<3>(subs);
  931|  1.72k|            IMMER_TRY {
  ------------------
  |  |   49|  1.72k|#define IMMER_TRY try
  ------------------
  932|  1.72k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 523, False: 1.19k]
  ------------------
  933|    523|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 523]
  ------------------
  934|      0|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  936|      0|                        node->inner()[idx] = next;
  937|      0|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|      0|                        nodr->d.count      = idx + 1;
  939|      0|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 0, False: 0]
  ------------------
  940|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|    523|                    } else {
  942|    523|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|    523|                        auto newr = newn->relaxed();
  944|    523|                        newn->inner()[idx] = next;
  945|    523|                        newr->d.sizes[idx] = last + 1 - ts;
  946|    523|                        newr->d.count      = idx + 1;
  947|    523|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 523, False: 0]
  ------------------
  948|    523|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 523]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|    523|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|    523|                    }
  952|  1.19k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 1.19k]
  ------------------
  953|      0|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 0]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  1.19k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 1.19k, Folded]
  |  Branch (956:40): [True: 540, False: 657]
  |  Branch (956:52): [True: 262, False: 278]
  ------------------
  957|    262|                    auto newn = pos.node()->inner()[0];
  958|    262|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 262, False: 0]
  ------------------
  959|    262|                        newn->inc();
  960|    262|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 262]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|    262|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|    935|                } else {
  964|    935|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 935]
  ------------------
  965|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  966|      0|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|    935|                    } else {
  969|    935|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    935|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 935]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|    935|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    935|                    }
  974|    935|                }
  975|  1.72k|            }
  976|  1.72k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  1.72k|        }
  987|  11.7k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  1.69k|    {
  992|  1.69k|        auto idx    = pos.index(last);
  993|  1.69k|        auto node   = pos.node();
  994|  1.69k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.69k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.69k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.69k, Folded]
  |  Branch (995:25): [True: 634, False: 1.06k]
  ------------------
  996|    634|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 634]
  ------------------
  997|    634|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    634|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 634]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    634|            return res;
 1001|  1.06k|        } else {
 1002|  1.06k|            using std::get;
 1003|  1.06k|            auto subs =
 1004|  1.06k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.06k]
  ------------------
 1005|  1.06k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.06k|            auto next = get<1>(subs);
 1007|  1.06k|            auto ts   = get<2>(subs);
 1008|  1.06k|            auto tail = get<3>(subs);
 1009|  1.06k|            IMMER_TRY {
  ------------------
  |  |   49|  1.06k|#define IMMER_TRY try
  ------------------
 1010|  1.06k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 215, False: 848]
  ------------------
 1011|    215|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 215]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    215|                    } else {
 1016|    215|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    215|                        newn->inner()[idx] = next;
 1018|    215|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 215]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    215|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    215|                    }
 1022|    848|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 848]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 0]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|    848|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 848, Folded]
  |  Branch (1026:40): [True: 587, False: 261]
  |  Branch (1026:52): [True: 202, False: 385]
  ------------------
 1027|    202|                    auto newn = pos.node()->inner()[0];
 1028|    202|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 202, False: 0]
  ------------------
 1029|    202|                        newn->inc();
 1030|    202|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 202]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    202|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    646|                } else {
 1034|    646|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 646]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    646|                    } else {
 1038|    646|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    646|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 646]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    646|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    646|                    }
 1043|    646|                }
 1044|  1.06k|            }
 1045|  1.06k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  1.06k|        }
 1055|  1.69k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.50k|    {
 1060|  1.50k|        auto old_tail_size = pos.count();
 1061|  1.50k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.50k|        auto node          = pos.node();
 1063|  1.50k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 1.50k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  1.50k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 748, False: 752]
  ------------------
 1065|    748|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 748, Folded]
  ------------------
 1066|    748|                node->inc();
 1067|    748|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    752|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 752]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    752|        } else {
 1073|    752|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    752|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 752]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    752|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    752|        }
 1078|  1.50k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  2.01k|    {
  992|  2.01k|        auto idx    = pos.index(last);
  993|  2.01k|        auto node   = pos.node();
  994|  2.01k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 2.01k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  2.01k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 2.01k, Folded]
  |  Branch (995:25): [True: 851, False: 1.16k]
  ------------------
  996|    851|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 851]
  ------------------
  997|    851|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    851|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 851]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    851|            return res;
 1001|  1.16k|        } else {
 1002|  1.16k|            using std::get;
 1003|  1.16k|            auto subs =
 1004|  1.16k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.16k]
  ------------------
 1005|  1.16k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.16k|            auto next = get<1>(subs);
 1007|  1.16k|            auto ts   = get<2>(subs);
 1008|  1.16k|            auto tail = get<3>(subs);
 1009|  1.16k|            IMMER_TRY {
  ------------------
  |  |   49|  1.16k|#define IMMER_TRY try
  ------------------
 1010|  1.16k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 206, False: 959]
  ------------------
 1011|    206|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 206]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    206|                    } else {
 1016|    206|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    206|                        newn->inner()[idx] = next;
 1018|    206|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 206]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    206|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    206|                    }
 1022|    959|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 959]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 0]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|    959|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 959, Folded]
  |  Branch (1026:40): [True: 752, False: 207]
  |  Branch (1026:52): [True: 294, False: 458]
  ------------------
 1027|    294|                    auto newn = pos.node()->inner()[0];
 1028|    294|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 294, False: 0]
  ------------------
 1029|    294|                        newn->inc();
 1030|    294|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 294]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    294|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    665|                } else {
 1034|    665|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 665]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    665|                    } else {
 1038|    665|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    665|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 665]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    665|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    665|                    }
 1043|    665|                }
 1044|  1.16k|            }
 1045|  1.16k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  1.16k|        }
 1055|  2.01k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  5.92k|    {
 1060|  5.92k|        auto old_tail_size = pos.count();
 1061|  5.92k|        auto new_tail_size = pos.index(last) + 1;
 1062|  5.92k|        auto node          = pos.node();
 1063|  5.92k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 5.92k, Folded]
  |  Branch (1063:42): [True: 722, False: 5.20k]
  ------------------
 1064|  5.92k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.22k, False: 4.70k]
  ------------------
 1065|  1.22k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.22k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.22k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  4.70k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 712, False: 3.99k]
  ------------------
 1069|    712|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    712|                              old_tail_size - new_tail_size);
 1071|    712|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  3.99k|        } else {
 1073|  3.99k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.99k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 3.99k, Folded]
  ------------------
 1075|  3.99k|                pos.visit(dec_visitor{});
 1076|  3.99k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.99k|        }
 1078|  5.92k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  4.31k|    {
  992|  4.31k|        auto idx    = pos.index(last);
  993|  4.31k|        auto node   = pos.node();
  994|  4.31k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 4.31k, Folded]
  |  Branch (994:35): [True: 2.25k, False: 2.06k]
  ------------------
  995|  4.31k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 4.31k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  4.31k|        } else {
 1002|  4.31k|            using std::get;
 1003|  4.31k|            auto subs =
 1004|  4.31k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 2.25k, False: 2.06k]
  ------------------
 1005|  4.31k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  4.31k|            auto next = get<1>(subs);
 1007|  4.31k|            auto ts   = get<2>(subs);
 1008|  4.31k|            auto tail = get<3>(subs);
 1009|  4.31k|            IMMER_TRY {
  ------------------
  |  |   49|  4.31k|#define IMMER_TRY try
  ------------------
 1010|  4.31k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 733, False: 3.58k]
  ------------------
 1011|    733|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 518, False: 215]
  ------------------
 1012|    518|                        node->inner()[idx] = next;
 1013|    518|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    518|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    518|                    } else {
 1016|    215|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    215|                        newn->inner()[idx] = next;
 1018|    215|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 215, Folded]
  ------------------
 1019|    215|                            pos.visit(dec_visitor{});
 1020|    215|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    215|                    }
 1022|  3.58k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.23k, False: 2.34k]
  ------------------
 1023|  1.23k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.23k, Folded]
  ------------------
 1024|  1.23k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.23k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  2.34k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 2.34k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.34k|                } else {
 1034|  2.34k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.13k, False: 1.21k]
  ------------------
 1035|  1.13k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.13k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.21k|                    } else {
 1038|  1.21k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.21k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.21k, Folded]
  ------------------
 1040|  1.21k|                            pos.visit(dec_visitor{});
 1041|  1.21k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.21k|                    }
 1043|  2.34k|                }
 1044|  4.31k|            }
 1045|  4.31k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  4.31k|        }
 1055|  4.31k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  3.23k|    {
  879|  3.23k|        using node_t = node_type<Pos>;
  880|  3.23k|        auto node    = p.node();
  881|  3.23k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 1.86k, False: 1.36k]
  ------------------
  882|  1.86k|            p.each_right(dec_t{}, idx);
  883|  1.86k|            node_t::delete_inner(node, p.count());
  884|  1.86k|        }
  885|  3.23k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  9.76k|    {
 1060|  9.76k|        auto old_tail_size = pos.count();
 1061|  9.76k|        auto new_tail_size = pos.index(last) + 1;
 1062|  9.76k|        auto node          = pos.node();
 1063|  9.76k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 9.76k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  9.76k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 2.96k, False: 6.80k]
  ------------------
 1065|  2.96k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 2.96k, Folded]
  ------------------
 1066|  2.96k|                node->inc();
 1067|  2.96k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  6.80k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 6.80k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  6.80k|        } else {
 1073|  6.80k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  6.80k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 6.80k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  6.80k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  6.80k|        }
 1078|  9.76k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  2.84k|    {
  992|  2.84k|        auto idx    = pos.index(last);
  993|  2.84k|        auto node   = pos.node();
  994|  2.84k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 2.84k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  2.84k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 2.84k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  2.84k|        } else {
 1002|  2.84k|            using std::get;
 1003|  2.84k|            auto subs =
 1004|  2.84k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 2.84k]
  ------------------
 1005|  2.84k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.84k|            auto next = get<1>(subs);
 1007|  2.84k|            auto ts   = get<2>(subs);
 1008|  2.84k|            auto tail = get<3>(subs);
 1009|  2.84k|            IMMER_TRY {
  ------------------
  |  |   49|  2.84k|#define IMMER_TRY try
  ------------------
 1010|  2.84k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 230, False: 2.61k]
  ------------------
 1011|    230|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 230]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    230|                    } else {
 1016|    230|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    230|                        newn->inner()[idx] = next;
 1018|    230|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 230]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    230|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    230|                    }
 1022|  2.61k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.13k, False: 1.48k]
  ------------------
 1023|  1.13k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.13k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.13k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.48k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.48k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.48k|                } else {
 1034|  1.48k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.48k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.48k|                    } else {
 1038|  1.48k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.48k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.48k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.48k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.48k|                    }
 1043|  1.48k|                }
 1044|  2.84k|            }
 1045|  2.84k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  2.84k|        }
 1055|  2.84k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    400|    {
 1060|    400|        auto old_tail_size = pos.count();
 1061|    400|        auto new_tail_size = pos.index(last) + 1;
 1062|    400|        auto node          = pos.node();
 1063|    400|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 400]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    400|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 198, False: 202]
  ------------------
 1065|    198|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 198, Folded]
  ------------------
 1066|    198|                node->inc();
 1067|    198|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    202|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 202]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    202|        } else {
 1073|    202|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    202|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 202]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    202|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    202|        }
 1078|    400|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  2.28k|    {
 1060|  2.28k|        auto old_tail_size = pos.count();
 1061|  2.28k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.28k|        auto node          = pos.node();
 1063|  2.28k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 2.28k, Folded]
  |  Branch (1063:42): [True: 441, False: 1.84k]
  ------------------
 1064|  2.28k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 362, False: 1.91k]
  ------------------
 1065|    362|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 362]
  ------------------
 1066|      0|                node->inc();
 1067|    362|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.91k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 324, False: 1.59k]
  ------------------
 1069|    324|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    324|                              old_tail_size - new_tail_size);
 1071|    324|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.59k|        } else {
 1073|  1.59k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.59k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.59k, Folded]
  ------------------
 1075|  1.59k|                pos.visit(dec_visitor{});
 1076|  1.59k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.59k|        }
 1078|  2.28k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  5.67k|    {
  992|  5.67k|        auto idx    = pos.index(last);
  993|  5.67k|        auto node   = pos.node();
  994|  5.67k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 5.67k, Folded]
  |  Branch (994:35): [True: 5.06k, False: 610]
  ------------------
  995|  5.67k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 5.67k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  5.67k|        } else {
 1002|  5.67k|            using std::get;
 1003|  5.67k|            auto subs =
 1004|  5.67k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 5.06k, False: 610]
  ------------------
 1005|  5.67k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.67k|            auto next = get<1>(subs);
 1007|  5.67k|            auto ts   = get<2>(subs);
 1008|  5.67k|            auto tail = get<3>(subs);
 1009|  5.67k|            IMMER_TRY {
  ------------------
  |  |   49|  5.67k|#define IMMER_TRY try
  ------------------
 1010|  5.67k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.66k, False: 4.00k]
  ------------------
 1011|  1.66k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 1.47k, False: 199]
  ------------------
 1012|  1.47k|                        node->inner()[idx] = next;
 1013|  1.47k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  1.47k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  1.47k|                    } else {
 1016|    199|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    199|                        newn->inner()[idx] = next;
 1018|    199|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 199, Folded]
  ------------------
 1019|    199|                            pos.visit(dec_visitor{});
 1020|    199|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    199|                    }
 1022|  4.00k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 3.12k, False: 881]
  ------------------
 1023|  3.12k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 3.12k, Folded]
  ------------------
 1024|  3.12k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  3.12k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.12k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 881]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    881|                } else {
 1034|    881|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 676, False: 205]
  ------------------
 1035|    676|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    676|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    676|                    } else {
 1038|    205|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    205|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 205, Folded]
  ------------------
 1040|    205|                            pos.visit(dec_visitor{});
 1041|    205|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    205|                    }
 1043|    881|                }
 1044|  5.67k|            }
 1045|  5.67k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  5.67k|        }
 1055|  5.67k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  3.12k|    {
  879|  3.12k|        using node_t = node_type<Pos>;
  880|  3.12k|        auto node    = p.node();
  881|  3.12k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 2.92k, False: 206]
  ------------------
  882|  2.92k|            p.each_right(dec_t{}, idx);
  883|  2.92k|            node_t::delete_inner(node, p.count());
  884|  2.92k|        }
  885|  3.12k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  2.49k|    {
 1060|  2.49k|        auto old_tail_size = pos.count();
 1061|  2.49k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.49k|        auto node          = pos.node();
 1063|  2.49k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 2.49k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  2.49k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 690, False: 1.80k]
  ------------------
 1065|    690|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 690, Folded]
  ------------------
 1066|    690|                node->inc();
 1067|    690|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.80k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 1.80k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.80k|        } else {
 1073|  1.80k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.80k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 1.80k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  1.80k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.80k|        }
 1078|  2.49k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_11regular_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  2.91k|    {
  992|  2.91k|        auto idx    = pos.index(last);
  993|  2.91k|        auto node   = pos.node();
  994|  2.91k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 2.91k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  2.91k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 2.91k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  2.91k|        } else {
 1002|  2.91k|            using std::get;
 1003|  2.91k|            auto subs =
 1004|  2.91k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 2.91k]
  ------------------
 1005|  2.91k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.91k|            auto next = get<1>(subs);
 1007|  2.91k|            auto ts   = get<2>(subs);
 1008|  2.91k|            auto tail = get<3>(subs);
 1009|  2.91k|            IMMER_TRY {
  ------------------
  |  |   49|  2.91k|#define IMMER_TRY try
  ------------------
 1010|  2.91k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 385, False: 2.53k]
  ------------------
 1011|    385|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 385]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    385|                    } else {
 1016|    385|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    385|                        newn->inner()[idx] = next;
 1018|    385|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 385]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    385|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    385|                    }
 1022|  2.53k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.77k, False: 754]
  ------------------
 1023|  1.77k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.77k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.77k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.77k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 754]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    754|                } else {
 1034|    754|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 754]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    754|                    } else {
 1038|    754|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    754|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 754]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    754|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    754|                    }
 1043|    754|                }
 1044|  2.91k|            }
 1045|  2.91k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  2.91k|        }
 1055|  2.91k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  867|  34.3k|    {
  868|  34.3k|        using node_t = node_type<Pos>;
  869|  34.3k|        auto node    = p.node();
  870|  34.3k|        if (node->dec()) {
  ------------------
  |  Branch (870:13): [True: 29.0k, False: 5.32k]
  ------------------
  871|  29.0k|            p.each_right(dec_t{}, idx);
  872|  29.0k|            node_t::delete_inner_r(node, p.count());
  873|  29.0k|        }
  874|  34.3k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  2.91k|    {
 1060|  2.91k|        auto old_tail_size = pos.count();
 1061|  2.91k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.91k|        auto node          = pos.node();
 1063|  2.91k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 2.91k, Folded]
  |  Branch (1063:42): [True: 1.00k, False: 1.91k]
  ------------------
 1064|  2.91k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.13k, False: 1.78k]
  ------------------
 1065|  1.13k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.13k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.13k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.78k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 794, False: 991]
  ------------------
 1069|    794|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    794|                              old_tail_size - new_tail_size);
 1071|    794|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    991|        } else {
 1073|    991|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    991|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 991, Folded]
  ------------------
 1075|    991|                pos.visit(dec_visitor{});
 1076|    991|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    991|        }
 1078|  2.91k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  14.1k|    {
  914|  14.1k|        auto idx    = pos.index(last);
  915|  14.1k|        auto node   = pos.node();
  916|  14.1k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 14.1k, Folded]
  |  Branch (916:35): [True: 11.3k, False: 2.85k]
  ------------------
  917|  14.1k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 14.1k]
  |  Branch (917:25): [True: 0, False: 0]
  ------------------
  918|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 0]
  ------------------
  919|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|      0|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 0, Folded]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|      0|            return res;
  923|  14.1k|        } else {
  924|  14.1k|            using std::get;
  925|  14.1k|            auto subs =
  926|  14.1k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 11.3k, False: 2.85k]
  ------------------
  927|  14.1k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  14.1k|            auto next = get<1>(subs);
  929|  14.1k|            auto ts   = get<2>(subs);
  930|  14.1k|            auto tail = get<3>(subs);
  931|  14.1k|            IMMER_TRY {
  ------------------
  |  |   49|  14.1k|#define IMMER_TRY try
  ------------------
  932|  14.1k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 9.21k, False: 4.96k]
  ------------------
  933|  9.21k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 7.50k, False: 1.71k]
  ------------------
  934|  7.50k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  7.50k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  7.50k|                        node->inner()[idx] = next;
  937|  7.50k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  7.50k|                        nodr->d.count      = idx + 1;
  939|  7.50k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 7.50k, False: 0]
  ------------------
  940|  7.50k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  7.50k|                    } else {
  942|  1.71k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.71k|                        auto newr = newn->relaxed();
  944|  1.71k|                        newn->inner()[idx] = next;
  945|  1.71k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.71k|                        newr->d.count      = idx + 1;
  947|  1.71k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.71k, False: 0]
  ------------------
  948|  1.71k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 1.71k, Folded]
  ------------------
  949|  1.71k|                            pos.visit(dec_visitor{});
  950|  1.71k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.71k|                    }
  952|  9.21k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 2.32k, False: 2.63k]
  ------------------
  953|  2.32k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 2.32k, Folded]
  ------------------
  954|  2.32k|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  2.32k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  2.63k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 2.63k]
  |  Branch (956:40): [True: 0, False: 0]
  |  Branch (956:52): [True: 0, False: 0]
  ------------------
  957|      0|                    auto newn = pos.node()->inner()[0];
  958|      0|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 0, False: 0]
  ------------------
  959|      0|                        newn->inc();
  960|      0|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 0, Folded]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.63k|                } else {
  964|  2.63k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 1.99k, False: 633]
  ------------------
  965|  1.99k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  1.99k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  1.99k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.99k|                    } else {
  969|    633|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    633|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 633, Folded]
  ------------------
  971|    633|                            pos.visit(dec_visitor{});
  972|    633|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    633|                    }
  974|  2.63k|                }
  975|  14.1k|            }
  976|  14.1k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  14.1k|        }
  987|  14.1k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  7.62k|    {
  992|  7.62k|        auto idx    = pos.index(last);
  993|  7.62k|        auto node   = pos.node();
  994|  7.62k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 7.62k, Folded]
  |  Branch (994:35): [True: 6.73k, False: 892]
  ------------------
  995|  7.62k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 7.62k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 0, Folded]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  7.62k|        } else {
 1002|  7.62k|            using std::get;
 1003|  7.62k|            auto subs =
 1004|  7.62k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 6.73k, False: 892]
  ------------------
 1005|  7.62k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  7.62k|            auto next = get<1>(subs);
 1007|  7.62k|            auto ts   = get<2>(subs);
 1008|  7.62k|            auto tail = get<3>(subs);
 1009|  7.62k|            IMMER_TRY {
  ------------------
  |  |   49|  7.62k|#define IMMER_TRY try
  ------------------
 1010|  7.62k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 2.76k, False: 4.85k]
  ------------------
 1011|  2.76k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 2.50k, False: 269]
  ------------------
 1012|  2.50k|                        node->inner()[idx] = next;
 1013|  2.50k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  2.50k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  2.50k|                    } else {
 1016|    269|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    269|                        newn->inner()[idx] = next;
 1018|    269|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 269, Folded]
  ------------------
 1019|    269|                            pos.visit(dec_visitor{});
 1020|    269|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    269|                    }
 1022|  4.85k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 952, False: 3.90k]
  ------------------
 1023|    952|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 952, Folded]
  ------------------
 1024|    952|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|    952|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.90k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 3.90k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 0, Folded]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  3.90k|                } else {
 1034|  3.90k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 3.53k, False: 371]
  ------------------
 1035|  3.53k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  3.53k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  3.53k|                    } else {
 1038|    371|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    371|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 371, Folded]
  ------------------
 1040|    371|                            pos.visit(dec_visitor{});
 1041|    371|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    371|                    }
 1043|  3.90k|                }
 1044|  7.62k|            }
 1045|  7.62k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  7.62k|        }
 1055|  7.62k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  878|  9.99k|    {
  879|  9.99k|        using node_t = node_type<Pos>;
  880|  9.99k|        auto node    = p.node();
  881|  9.99k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 7.15k, False: 2.84k]
  ------------------
  882|  7.15k|            p.each_right(dec_t{}, idx);
  883|  7.15k|            node_t::delete_inner(node, p.count());
  884|  7.15k|        }
  885|  9.99k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  4.73k|    {
 1060|  4.73k|        auto old_tail_size = pos.count();
 1061|  4.73k|        auto new_tail_size = pos.index(last) + 1;
 1062|  4.73k|        auto node          = pos.node();
 1063|  4.73k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 4.73k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  4.73k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.29k, False: 3.44k]
  ------------------
 1065|  1.29k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 1.29k, Folded]
  ------------------
 1066|  1.29k|                node->inc();
 1067|  1.29k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  3.44k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 3.44k]
  ------------------
 1069|      0|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|      0|                              old_tail_size - new_tail_size);
 1071|      0|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  3.44k|        } else {
 1073|  3.44k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  3.44k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 3.44k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  3.44k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  3.44k|        }
 1078|  4.73k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  913|  5.56k|    {
  914|  5.56k|        auto idx    = pos.index(last);
  915|  5.56k|        auto node   = pos.node();
  916|  5.56k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 5.56k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  5.56k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 5.56k]
  |  Branch (917:25): [True: 0, False: 0]
  ------------------
  918|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 0]
  ------------------
  919|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|      0|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 0]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|      0|            return res;
  923|  5.56k|        } else {
  924|  5.56k|            using std::get;
  925|  5.56k|            auto subs =
  926|  5.56k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 5.56k]
  ------------------
  927|  5.56k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  5.56k|            auto next = get<1>(subs);
  929|  5.56k|            auto ts   = get<2>(subs);
  930|  5.56k|            auto tail = get<3>(subs);
  931|  5.56k|            IMMER_TRY {
  ------------------
  |  |   49|  5.56k|#define IMMER_TRY try
  ------------------
  932|  5.56k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 1.14k, False: 4.42k]
  ------------------
  933|  1.14k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 1.14k]
  ------------------
  934|      0|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  936|      0|                        node->inner()[idx] = next;
  937|      0|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|      0|                        nodr->d.count      = idx + 1;
  939|      0|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 0, False: 0]
  ------------------
  940|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  1.14k|                    } else {
  942|  1.14k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.14k|                        auto newr = newn->relaxed();
  944|  1.14k|                        newn->inner()[idx] = next;
  945|  1.14k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.14k|                        newr->d.count      = idx + 1;
  947|  1.14k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.14k, False: 0]
  ------------------
  948|  1.14k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 1.14k]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|  1.14k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.14k|                    }
  952|  4.42k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 2.77k, False: 1.65k]
  ------------------
  953|  2.77k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 2.77k]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  2.77k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  2.77k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 1.65k]
  |  Branch (956:40): [True: 0, False: 0]
  |  Branch (956:52): [True: 0, False: 0]
  ------------------
  957|      0|                    auto newn = pos.node()->inner()[0];
  958|      0|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 0, False: 0]
  ------------------
  959|      0|                        newn->inc();
  960|      0|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 0]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  1.65k|                } else {
  964|  1.65k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 1.65k]
  ------------------
  965|      0|                        pos.each_right(dec_visitor{}, idx + 1);
  966|      0|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.65k|                    } else {
  969|  1.65k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  1.65k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 1.65k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  1.65k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  1.65k|                    }
  974|  1.65k|                }
  975|  5.56k|            }
  976|  5.56k|            IMMER_CATCH (...) {
  977|      0|                assert(!mutate);
  ------------------
  |  Branch (977:17): [True: 0, False: 0]
  ------------------
  978|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  |  Branch (978:17): [True: 0, False: 0]
  ------------------
  979|      0|                if (next)
  ------------------
  |  Branch (979:21): [True: 0, False: 0]
  ------------------
  980|      0|                    dec_inner(next,
  981|      0|                              pos.shift() - B,
  982|      0|                              last + 1 - ts - pos.size_before(idx));
  983|      0|                dec_leaf(tail, ts);
  984|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  985|      0|            }
  986|  5.56k|        }
  987|  5.56k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.17k|    {
  992|  3.17k|        auto idx    = pos.index(last);
  993|  3.17k|        auto node   = pos.node();
  994|  3.17k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.17k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.17k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.17k]
  |  Branch (995:25): [True: 0, False: 0]
  ------------------
  996|      0|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 0]
  ------------------
  997|      0|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|      0|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 0]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|      0|            return res;
 1001|  3.17k|        } else {
 1002|  3.17k|            using std::get;
 1003|  3.17k|            auto subs =
 1004|  3.17k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.17k]
  ------------------
 1005|  3.17k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.17k|            auto next = get<1>(subs);
 1007|  3.17k|            auto ts   = get<2>(subs);
 1008|  3.17k|            auto tail = get<3>(subs);
 1009|  3.17k|            IMMER_TRY {
  ------------------
  |  |   49|  3.17k|#define IMMER_TRY try
  ------------------
 1010|  3.17k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 696, False: 2.48k]
  ------------------
 1011|    696|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 696]
  ------------------
 1012|      0|                        node->inner()[idx] = next;
 1013|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    696|                    } else {
 1016|    696|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    696|                        newn->inner()[idx] = next;
 1018|    696|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 696]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    696|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    696|                    }
 1022|  2.48k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 676, False: 1.80k]
  ------------------
 1023|    676|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 676]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|    676|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.80k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.80k]
  |  Branch (1026:40): [True: 0, False: 0]
  |  Branch (1026:52): [True: 0, False: 0]
  ------------------
 1027|      0|                    auto newn = pos.node()->inner()[0];
 1028|      0|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 0, False: 0]
  ------------------
 1029|      0|                        newn->inc();
 1030|      0|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 0]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|      0|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.80k|                } else {
 1034|  1.80k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.80k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.80k|                    } else {
 1038|  1.80k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.80k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.80k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.80k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.80k|                    }
 1043|  1.80k|                }
 1044|  3.17k|            }
 1045|  3.17k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  3.17k|        }
 1055|  3.17k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  11.8k|    {
  992|  11.8k|        auto idx    = pos.index(last);
  993|  11.8k|        auto node   = pos.node();
  994|  11.8k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 11.8k, Folded]
  |  Branch (994:35): [True: 8.34k, False: 3.54k]
  ------------------
  995|  11.8k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 11.8k, Folded]
  |  Branch (995:25): [True: 6.84k, False: 5.04k]
  ------------------
  996|  6.84k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 4.95k, False: 1.89k]
  ------------------
  997|  6.84k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  6.84k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 6.84k, Folded]
  ------------------
  999|  6.84k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  6.84k|            return res;
 1001|  6.84k|        } else {
 1002|  5.04k|            using std::get;
 1003|  5.04k|            auto subs =
 1004|  5.04k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 3.38k, False: 1.65k]
  ------------------
 1005|  5.04k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.04k|            auto next = get<1>(subs);
 1007|  5.04k|            auto ts   = get<2>(subs);
 1008|  5.04k|            auto tail = get<3>(subs);
 1009|  5.04k|            IMMER_TRY {
  ------------------
  |  |   49|  5.04k|#define IMMER_TRY try
  ------------------
 1010|  5.04k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.10k, False: 3.94k]
  ------------------
 1011|  1.10k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 865, False: 239]
  ------------------
 1012|    865|                        node->inner()[idx] = next;
 1013|    865|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    865|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    865|                    } else {
 1016|    239|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    239|                        newn->inner()[idx] = next;
 1018|    239|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 239, Folded]
  ------------------
 1019|    239|                            pos.visit(dec_visitor{});
 1020|    239|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    239|                    }
 1022|  3.94k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 3.94k]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 0, Folded]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.94k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 3.94k, Folded]
  |  Branch (1026:40): [True: 3.22k, False: 719]
  |  Branch (1026:52): [True: 2.20k, False: 1.02k]
  ------------------
 1027|  2.20k|                    auto newn = pos.node()->inner()[0];
 1028|  2.20k|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 700, False: 1.50k]
  ------------------
 1029|    700|                        newn->inc();
 1030|  2.20k|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 2.20k, Folded]
  ------------------
 1031|  2.20k|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|  2.20k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.20k|                } else {
 1034|  1.73k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.02k, False: 718]
  ------------------
 1035|  1.02k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.02k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.02k|                    } else {
 1038|    718|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    718|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 718, Folded]
  ------------------
 1040|    718|                            pos.visit(dec_visitor{});
 1041|    718|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    718|                    }
 1043|  1.73k|                }
 1044|  5.04k|            }
 1045|  5.04k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  5.04k|        }
 1055|  11.8k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|  1.36k|    {
 1060|  1.36k|        auto old_tail_size = pos.count();
 1061|  1.36k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.36k|        auto node          = pos.node();
 1063|  1.36k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.36k, Folded]
  |  Branch (1063:42): [True: 472, False: 891]
  ------------------
 1064|  1.36k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 584, False: 779]
  ------------------
 1065|    584|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 584]
  ------------------
 1066|      0|                node->inc();
 1067|    584|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    779|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 394, False: 385]
  ------------------
 1069|    394|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    394|                              old_tail_size - new_tail_size);
 1071|    394|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    394|        } else {
 1073|    385|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    385|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 385, Folded]
  ------------------
 1075|    385|                pos.visit(dec_visitor{});
 1076|    385|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    385|        }
 1078|  1.36k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
  991|  3.95k|    {
  992|  3.95k|        auto idx    = pos.index(last);
  993|  3.95k|        auto node   = pos.node();
  994|  3.95k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 3.95k, Folded]
  |  Branch (994:35): [True: 1.78k, False: 2.17k]
  ------------------
  995|  3.95k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 3.95k, Folded]
  |  Branch (995:25): [True: 1.56k, False: 2.39k]
  ------------------
  996|  1.56k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 1.02k, False: 540]
  ------------------
  997|  1.56k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  1.56k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 1.56k, Folded]
  ------------------
  999|  1.56k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  1.56k|            return res;
 1001|  2.39k|        } else {
 1002|  2.39k|            using std::get;
 1003|  2.39k|            auto subs =
 1004|  2.39k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 765, False: 1.63k]
  ------------------
 1005|  2.39k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.39k|            auto next = get<1>(subs);
 1007|  2.39k|            auto ts   = get<2>(subs);
 1008|  2.39k|            auto tail = get<3>(subs);
 1009|  2.39k|            IMMER_TRY {
  ------------------
  |  |   49|  2.39k|#define IMMER_TRY try
  ------------------
 1010|  2.39k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 477, False: 1.92k]
  ------------------
 1011|    477|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 278, False: 199]
  ------------------
 1012|    278|                        node->inner()[idx] = next;
 1013|    278|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    278|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    278|                    } else {
 1016|    199|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    199|                        newn->inner()[idx] = next;
 1018|    199|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 199, Folded]
  ------------------
 1019|    199|                            pos.visit(dec_visitor{});
 1020|    199|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    199|                    }
 1022|  1.92k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 1.92k]
  ------------------
 1023|      0|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 0, Folded]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.92k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 1.92k, Folded]
  |  Branch (1026:40): [True: 1.36k, False: 556]
  |  Branch (1026:52): [True: 437, False: 928]
  ------------------
 1027|    437|                    auto newn = pos.node()->inner()[0];
 1028|    437|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 199, False: 238]
  ------------------
 1029|    199|                        newn->inc();
 1030|    437|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 437, Folded]
  ------------------
 1031|    437|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    437|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.48k|                } else {
 1034|  1.48k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 249, False: 1.23k]
  ------------------
 1035|    249|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    249|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.23k|                    } else {
 1038|  1.23k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.23k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.23k, Folded]
  ------------------
 1040|  1.23k|                            pos.visit(dec_visitor{});
 1041|  1.23k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.23k|                    }
 1043|  1.48k|                }
 1044|  2.39k|            }
 1045|  2.39k|            IMMER_CATCH (...) {
 1046|      0|                assert(!mutate);
  ------------------
  |  Branch (1046:17): [True: 0, False: 0]
  ------------------
 1047|      0|                assert(!next || pos.shift() > BL);
  ------------------
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  |  Branch (1047:17): [True: 0, False: 0]
  ------------------
 1048|      0|                assert(tail);
  ------------------
  |  Branch (1048:17): [True: 0, False: 0]
  ------------------
 1049|      0|                if (next)
  ------------------
  |  Branch (1049:21): [True: 0, False: 0]
  ------------------
 1050|      0|                    dec_regular(next, pos.shift() - B, last + 1 - ts);
 1051|      0|                dec_leaf(tail, ts);
 1052|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1053|      0|            }
 1054|  2.39k|        }
 1055|  3.95k|    }
_ZN5immer6detail4rbts23slice_right_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_8leaf_posISC_EEEENSt3__15tupleIJjPSC_jSK_EEEOT_mNSA_5applyIS7_E4type4editE:
 1059|    654|    {
 1060|    654|        auto old_tail_size = pos.count();
 1061|    654|        auto new_tail_size = pos.index(last) + 1;
 1062|    654|        auto node          = pos.node();
 1063|    654|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 654, Folded]
  |  Branch (1063:42): [True: 208, False: 446]
  ------------------
 1064|    654|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 233, False: 421]
  ------------------
 1065|    233|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 233]
  ------------------
 1066|      0|                node->inc();
 1067|    233|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    421|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 197, False: 224]
  ------------------
 1069|    197|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    197|                              old_tail_size - new_tail_size);
 1071|    197|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    224|        } else {
 1073|    224|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    224|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 224, Folded]
  ------------------
 1075|    224|                pos.visit(dec_visitor{});
 1076|    224|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    224|        }
 1078|    654|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|    728|    {
 1378|    728|        auto node   = pos.node();
 1379|    728|        auto idx    = pos.index(first);
 1380|    728|        auto count  = pos.count();
 1381|    728|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|    728|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 464, False: 264]
  ------------------
 1384|    728|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 464, False: 264]
  ------------------
 1385|    464|            auto data     = node->leaf();
 1386|    464|            auto newcount = count - idx;
 1387|    464|            std::move(data + idx, data + count, data);
 1388|    464|            detail::destroy_n(data + newcount, idx);
 1389|    464|            return std::make_tuple(0, node);
 1390|    464|        } else {
 1391|    264|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|    264|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 264, Folded]
  ------------------
 1393|    264|                pos.visit(dec_visitor{});
 1394|    264|            return std::make_tuple(0, newn);
 1395|    264|        }
 1396|    728|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  30.6k|    {
 1247|  30.6k|        auto idx                = pos.subindex(first);
 1248|  30.6k|        auto count              = pos.count();
 1249|  30.6k|        auto node               = pos.node();
 1250|  30.6k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 30.6k, Folded]
  |  Branch (1250:47): [True: 21.5k, False: 9.05k]
  ------------------
 1251|  30.6k|        auto left_size          = pos.size_before(idx);
 1252|  30.6k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  30.6k|        auto dropped_size       = first;
 1254|  30.6k|        auto child_dropped_size = dropped_size - left_size;
 1255|  30.6k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 30.6k, Folded]
  |  Branch (1255:25): [True: 29.1k, False: 1.48k]
  |  Branch (1255:45): [True: 8.27k, False: 20.8k]
  ------------------
 1256|  8.27k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 4.94k, False: 3.33k]
  ------------------
 1257|  8.27k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  8.27k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 4.94k, False: 3.33k]
  ------------------
 1259|  4.94k|                pos.visit(dec_left_visitor{}, idx);
 1260|  3.33k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 3.33k, Folded]
  ------------------
 1261|  3.33k|                pos.visit(dec_visitor{});
 1262|  8.27k|            return r;
 1263|  22.3k|        } else {
 1264|  22.3k|            using std::get;
 1265|  22.3k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 16.6k, False: 5.71k]
  ------------------
 1266|  22.3k|                                   : node_t::make_inner_r_e(e);
 1267|  22.3k|            auto newr     = newn->relaxed();
 1268|  22.3k|            auto newcount = count - idx;
 1269|  22.3k|            auto new_child_size = child_size - child_dropped_size;
 1270|  22.3k|            IMMER_TRY {
  ------------------
  |  |   49|  22.3k|#define IMMER_TRY try
  ------------------
 1271|  22.3k|                auto subs =
 1272|  22.3k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 16.6k, False: 5.71k]
  ------------------
 1273|  22.3k|                           : pos.towards_sub_oh(
 1274|  5.71k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  22.3k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 16.6k, False: 5.71k]
  ------------------
 1276|  16.6k|                    pos.each_left(dec_visitor{}, idx);
 1277|  22.3k|                pos.copy_sizes(
 1278|  22.3k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  22.3k|                std::copy(node->inner() + idx + 1,
 1280|  22.3k|                          node->inner() + count,
 1281|  22.3k|                          newn->inner() + 1);
 1282|  22.3k|                newn->inner()[0] = get<1>(subs);
 1283|  22.3k|                newr->d.sizes[0] = new_child_size;
 1284|  22.3k|                newr->d.count    = newcount;
 1285|  22.3k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 22.3k, False: 0]
  ------------------
 1286|  22.3k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 5.71k, False: 16.6k]
  ------------------
 1287|  5.71k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  5.71k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 5.71k, Folded]
  ------------------
 1289|  5.71k|                        pos.visit(dec_visitor{});
 1290|  5.71k|                }
 1291|  22.3k|                return std::make_tuple(pos.shift(), newn);
 1292|  22.3k|            }
 1293|  22.3k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  22.3k|        }
 1299|  30.6k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  2.68k|    {
 1247|  2.68k|        auto idx                = pos.subindex(first);
 1248|  2.68k|        auto count              = pos.count();
 1249|  2.68k|        auto node               = pos.node();
 1250|  2.68k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 2.68k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  2.68k|        auto left_size          = pos.size_before(idx);
 1252|  2.68k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  2.68k|        auto dropped_size       = first;
 1254|  2.68k|        auto child_dropped_size = dropped_size - left_size;
 1255|  2.68k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 2.68k, Folded]
  |  Branch (1255:25): [True: 1.49k, False: 1.18k]
  |  Branch (1255:45): [True: 935, False: 563]
  ------------------
 1256|    935|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 935]
  ------------------
 1257|    935|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|    935|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 935]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|    935|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 935]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|    935|            return r;
 1263|  1.74k|        } else {
 1264|  1.74k|            using std::get;
 1265|  1.74k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 1.74k]
  ------------------
 1266|  1.74k|                                   : node_t::make_inner_r_e(e);
 1267|  1.74k|            auto newr     = newn->relaxed();
 1268|  1.74k|            auto newcount = count - idx;
 1269|  1.74k|            auto new_child_size = child_size - child_dropped_size;
 1270|  1.74k|            IMMER_TRY {
  ------------------
  |  |   49|  1.74k|#define IMMER_TRY try
  ------------------
 1271|  1.74k|                auto subs =
 1272|  1.74k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 1.74k]
  ------------------
 1273|  1.74k|                           : pos.towards_sub_oh(
 1274|  1.74k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  1.74k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 1.74k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  1.74k|                pos.copy_sizes(
 1278|  1.74k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  1.74k|                std::copy(node->inner() + idx + 1,
 1280|  1.74k|                          node->inner() + count,
 1281|  1.74k|                          newn->inner() + 1);
 1282|  1.74k|                newn->inner()[0] = get<1>(subs);
 1283|  1.74k|                newr->d.sizes[0] = new_child_size;
 1284|  1.74k|                newr->d.count    = newcount;
 1285|  1.74k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 1.74k, False: 0]
  ------------------
 1286|  1.74k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 1.74k, False: 0]
  ------------------
 1287|  1.74k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  1.74k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 1.74k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  1.74k|                }
 1291|  1.74k|                return std::make_tuple(pos.shift(), newn);
 1292|  1.74k|            }
 1293|  1.74k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  1.74k|        }
 1299|  2.68k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.82k|    {
 1304|  2.82k|        auto idx    = pos.subindex(first);
 1305|  2.82k|        auto count  = pos.count();
 1306|  2.82k|        auto node   = pos.node();
 1307|  2.82k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.82k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  2.82k|        auto left_size          = pos.size_before(idx);
 1313|  2.82k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.82k|        auto dropped_size       = first;
 1315|  2.82k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.82k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.82k, Folded]
  |  Branch (1316:25): [True: 1.63k, False: 1.19k]
  |  Branch (1316:45): [True: 1.26k, False: 369]
  ------------------
 1317|  1.26k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 1.26k]
  ------------------
 1318|  1.26k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.26k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 1.26k]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.26k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 1.26k]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|  1.26k|            return r;
 1324|  1.56k|        } else {
 1325|  1.56k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.56k|            auto newcount = count - idx;
 1330|  1.56k|            auto newn =
 1331|  1.56k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 1.56k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  1.56k|                       : node_t::make_inner_r_e(e);
 1336|  1.56k|            auto newr = newn->relaxed();
 1337|  1.56k|            IMMER_TRY {
  ------------------
  |  |   49|  1.56k|#define IMMER_TRY try
  ------------------
 1338|  1.56k|                auto subs =
 1339|  1.56k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 1.56k]
  ------------------
 1340|  1.56k|                           : pos.towards_sub_oh(
 1341|  1.56k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.56k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 1.56k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.56k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.56k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.56k, False: 0]
  ------------------
 1346|  1.56k|                pos.copy_sizes(
 1347|  1.56k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.56k|                newr->d.count    = newcount;
 1349|  1.56k|                newn->inner()[0] = get<1>(subs);
 1350|  1.56k|                std::copy(node->inner() + idx + 1,
 1351|  1.56k|                          node->inner() + count,
 1352|  1.56k|                          newn->inner() + 1);
 1353|  1.56k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.56k, False: 0]
  ------------------
 1354|  1.56k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.56k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 1.56k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  1.56k|                }
 1358|  1.56k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.56k|            }
 1360|  1.56k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.56k|        }
 1373|  2.82k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.68k|    {
 1304|  2.68k|        auto idx    = pos.subindex(first);
 1305|  2.68k|        auto count  = pos.count();
 1306|  2.68k|        auto node   = pos.node();
 1307|  2.68k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.68k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  2.68k|        auto left_size          = pos.size_before(idx);
 1313|  2.68k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.68k|        auto dropped_size       = first;
 1315|  2.68k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.68k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.68k, Folded]
  |  Branch (1316:25): [True: 571, False: 2.11k]
  |  Branch (1316:45): [True: 359, False: 212]
  ------------------
 1317|    359|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 359]
  ------------------
 1318|    359|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|    359|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 359]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|    359|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 359]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|    359|            return r;
 1324|  2.32k|        } else {
 1325|  2.32k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  2.32k|            auto newcount = count - idx;
 1330|  2.32k|            auto newn =
 1331|  2.32k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 2.32k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  2.32k|                       : node_t::make_inner_r_e(e);
 1336|  2.32k|            auto newr = newn->relaxed();
 1337|  2.32k|            IMMER_TRY {
  ------------------
  |  |   49|  2.32k|#define IMMER_TRY try
  ------------------
 1338|  2.32k|                auto subs =
 1339|  2.32k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 2.32k]
  ------------------
 1340|  2.32k|                           : pos.towards_sub_oh(
 1341|  2.32k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.32k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 2.32k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.32k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.32k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.32k, False: 0]
  ------------------
 1346|  2.32k|                pos.copy_sizes(
 1347|  2.32k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.32k|                newr->d.count    = newcount;
 1349|  2.32k|                newn->inner()[0] = get<1>(subs);
 1350|  2.32k|                std::copy(node->inner() + idx + 1,
 1351|  2.32k|                          node->inner() + count,
 1352|  2.32k|                          newn->inner() + 1);
 1353|  2.32k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 2.32k, False: 0]
  ------------------
 1354|  2.32k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  2.32k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 2.32k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  2.32k|                }
 1358|  2.32k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.32k|            }
 1360|  2.32k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  2.32k|        }
 1373|  2.68k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|    308|    {
 1210|    308|        using node_t = node_type<Pos>;
 1211|    308|        auto node    = p.node();
 1212|    308|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 308, False: 0]
  ------------------
 1213|    308|            p.each_left(dec_t{}, idx);
 1214|    308|            node_t::delete_inner(node, p.count());
 1215|    308|        }
 1216|    308|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  3.09k|    {
 1378|  3.09k|        auto node   = pos.node();
 1379|  3.09k|        auto idx    = pos.index(first);
 1380|  3.09k|        auto count  = pos.count();
 1381|  3.09k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|  3.09k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 708, False: 2.38k]
  ------------------
 1384|  3.09k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 708, False: 2.38k]
  ------------------
 1385|    708|            auto data     = node->leaf();
 1386|    708|            auto newcount = count - idx;
 1387|    708|            std::move(data + idx, data + count, data);
 1388|    708|            detail::destroy_n(data + newcount, idx);
 1389|    708|            return std::make_tuple(0, node);
 1390|  2.38k|        } else {
 1391|  2.38k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.38k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.38k, Folded]
  ------------------
 1393|  2.38k|                pos.visit(dec_visitor{});
 1394|  2.38k|            return std::make_tuple(0, newn);
 1395|  2.38k|        }
 1396|  3.09k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  2.15k|    {
 1304|  2.15k|        auto idx    = pos.subindex(first);
 1305|  2.15k|        auto count  = pos.count();
 1306|  2.15k|        auto node   = pos.node();
 1307|  2.15k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  2.15k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 971, False: 1.18k]
  ------------------
 1312|  2.15k|        auto left_size          = pos.size_before(idx);
 1313|  2.15k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.15k|        auto dropped_size       = first;
 1315|  2.15k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.15k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 2.15k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 0, Folded]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  2.15k|        } else {
 1325|  2.15k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  2.15k|            auto newcount = count - idx;
 1330|  2.15k|            auto newn =
 1331|  2.15k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 971, False: 1.18k]
  ------------------
 1332|    971|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    971|                                                     norefs_tag{})) relaxed_t,
 1334|    971|                          node)
 1335|  2.15k|                       : node_t::make_inner_r_e(e);
 1336|  2.15k|            auto newr = newn->relaxed();
 1337|  2.15k|            IMMER_TRY {
  ------------------
  |  |   49|  2.15k|#define IMMER_TRY try
  ------------------
 1338|  2.15k|                auto subs =
 1339|  2.15k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 971, False: 1.18k]
  ------------------
 1340|  2.15k|                           : pos.towards_sub_oh(
 1341|  1.18k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.15k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 971, False: 1.18k]
  ------------------
 1343|    971|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.15k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.15k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.15k, False: 0]
  ------------------
 1346|  2.15k|                pos.copy_sizes(
 1347|  2.15k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.15k|                newr->d.count    = newcount;
 1349|  2.15k|                newn->inner()[0] = get<1>(subs);
 1350|  2.15k|                std::copy(node->inner() + idx + 1,
 1351|  2.15k|                          node->inner() + count,
 1352|  2.15k|                          newn->inner() + 1);
 1353|  2.15k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.18k, False: 971]
  ------------------
 1354|  1.18k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.18k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.18k, Folded]
  ------------------
 1356|  1.18k|                        pos.visit(dec_visitor{});
 1357|  1.18k|                }
 1358|  2.15k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.15k|            }
 1360|  2.15k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  2.15k|        }
 1373|  2.15k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_13full_leaf_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  9.50k|    {
 1378|  9.50k|        auto node   = pos.node();
 1379|  9.50k|        auto idx    = pos.index(first);
 1380|  9.50k|        auto count  = pos.count();
 1381|  9.50k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 9.50k]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|      0|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 0, False: 0]
  ------------------
 1384|  9.50k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 9.50k]
  ------------------
 1385|      0|            auto data     = node->leaf();
 1386|      0|            auto newcount = count - idx;
 1387|      0|            std::move(data + idx, data + count, data);
 1388|      0|            detail::destroy_n(data + newcount, idx);
 1389|      0|            return std::make_tuple(0, node);
 1390|  9.50k|        } else {
 1391|  9.50k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  9.50k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 9.50k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  9.50k|            return std::make_tuple(0, newn);
 1395|  9.50k|        }
 1396|  9.50k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  3.29k|    {
 1304|  3.29k|        auto idx    = pos.subindex(first);
 1305|  3.29k|        auto count  = pos.count();
 1306|  3.29k|        auto node   = pos.node();
 1307|  3.29k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 3.29k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  3.29k|        auto left_size          = pos.size_before(idx);
 1313|  3.29k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.29k|        auto dropped_size       = first;
 1315|  3.29k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.29k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 3.29k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 0]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  3.29k|        } else {
 1325|  3.29k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  3.29k|            auto newcount = count - idx;
 1330|  3.29k|            auto newn =
 1331|  3.29k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 3.29k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  3.29k|                       : node_t::make_inner_r_e(e);
 1336|  3.29k|            auto newr = newn->relaxed();
 1337|  3.29k|            IMMER_TRY {
  ------------------
  |  |   49|  3.29k|#define IMMER_TRY try
  ------------------
 1338|  3.29k|                auto subs =
 1339|  3.29k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 3.29k]
  ------------------
 1340|  3.29k|                           : pos.towards_sub_oh(
 1341|  3.29k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.29k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 3.29k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.29k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.29k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.29k, False: 0]
  ------------------
 1346|  3.29k|                pos.copy_sizes(
 1347|  3.29k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.29k|                newr->d.count    = newcount;
 1349|  3.29k|                newn->inner()[0] = get<1>(subs);
 1350|  3.29k|                std::copy(node->inner() + idx + 1,
 1351|  3.29k|                          node->inner() + count,
 1352|  3.29k|                          newn->inner() + 1);
 1353|  3.29k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 3.29k, False: 0]
  ------------------
 1354|  3.29k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  3.29k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 3.29k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  3.29k|                }
 1358|  3.29k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.29k|            }
 1360|  3.29k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  3.29k|        }
 1373|  3.29k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|  3.98k|    {
 1210|  3.98k|        using node_t = node_type<Pos>;
 1211|  3.98k|        auto node    = p.node();
 1212|  3.98k|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 3.98k, False: 0]
  ------------------
 1213|  3.98k|            p.each_left(dec_t{}, idx);
 1214|  3.98k|            node_t::delete_inner(node, p.count());
 1215|  3.98k|        }
 1216|  3.98k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  7.64k|    {
 1378|  7.64k|        auto node   = pos.node();
 1379|  7.64k|        auto idx    = pos.index(first);
 1380|  7.64k|        auto count  = pos.count();
 1381|  7.64k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [True: 0, Folded]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|  7.64k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 4.89k, False: 2.75k]
  ------------------
 1384|  7.64k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 4.89k, False: 2.75k]
  ------------------
 1385|  4.89k|            auto data     = node->leaf();
 1386|  4.89k|            auto newcount = count - idx;
 1387|  4.89k|            std::move(data + idx, data + count, data);
 1388|  4.89k|            detail::destroy_n(data + newcount, idx);
 1389|  4.89k|            return std::make_tuple(0, node);
 1390|  4.89k|        } else {
 1391|  2.75k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.75k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.75k, Folded]
  ------------------
 1393|  2.75k|                pos.visit(dec_visitor{});
 1394|  2.75k|            return std::make_tuple(0, newn);
 1395|  2.75k|        }
 1396|  7.64k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  1.53k|    {
 1304|  1.53k|        auto idx    = pos.subindex(first);
 1305|  1.53k|        auto count  = pos.count();
 1306|  1.53k|        auto node   = pos.node();
 1307|  1.53k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  1.53k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 490, False: 1.04k]
  ------------------
 1312|  1.53k|        auto left_size          = pos.size_before(idx);
 1313|  1.53k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.53k|        auto dropped_size       = first;
 1315|  1.53k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.53k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.53k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 0, Folded]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  1.53k|        } else {
 1325|  1.53k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.53k|            auto newcount = count - idx;
 1330|  1.53k|            auto newn =
 1331|  1.53k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 490, False: 1.04k]
  ------------------
 1332|    490|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    490|                                                     norefs_tag{})) relaxed_t,
 1334|    490|                          node)
 1335|  1.53k|                       : node_t::make_inner_r_e(e);
 1336|  1.53k|            auto newr = newn->relaxed();
 1337|  1.53k|            IMMER_TRY {
  ------------------
  |  |   49|  1.53k|#define IMMER_TRY try
  ------------------
 1338|  1.53k|                auto subs =
 1339|  1.53k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 490, False: 1.04k]
  ------------------
 1340|  1.53k|                           : pos.towards_sub_oh(
 1341|  1.04k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.53k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 490, False: 1.04k]
  ------------------
 1343|    490|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.53k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.53k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.53k, False: 0]
  ------------------
 1346|  1.53k|                pos.copy_sizes(
 1347|  1.53k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.53k|                newr->d.count    = newcount;
 1349|  1.53k|                newn->inner()[0] = get<1>(subs);
 1350|  1.53k|                std::copy(node->inner() + idx + 1,
 1351|  1.53k|                          node->inner() + count,
 1352|  1.53k|                          newn->inner() + 1);
 1353|  1.53k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.04k, False: 490]
  ------------------
 1354|  1.04k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.04k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.04k, Folded]
  ------------------
 1356|  1.04k|                        pos.visit(dec_visitor{});
 1357|  1.04k|                }
 1358|  1.53k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.53k|            }
 1360|  1.53k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.53k|        }
 1373|  1.53k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE10visit_leafIRNS1_12leaf_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1377|  13.3k|    {
 1378|  13.3k|        auto node   = pos.node();
 1379|  13.3k|        auto idx    = pos.index(first);
 1380|  13.3k|        auto count  = pos.count();
 1381|  13.3k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 13.3k]
  ------------------
 1382|      0|                      std::is_nothrow_move_constructible<value_t>::value &&
  ------------------
  |  Branch (1382:23): [True: 0, Folded]
  ------------------
 1383|      0|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 0, False: 0]
  ------------------
 1384|  13.3k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 13.3k]
  ------------------
 1385|      0|            auto data     = node->leaf();
 1386|      0|            auto newcount = count - idx;
 1387|      0|            std::move(data + idx, data + count, data);
 1388|      0|            detail::destroy_n(data + newcount, idx);
 1389|      0|            return std::make_tuple(0, node);
 1390|  13.3k|        } else {
 1391|  13.3k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  13.3k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 13.3k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  13.3k|            return std::make_tuple(0, newn);
 1395|  13.3k|        }
 1396|  13.3k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  1.52k|    {
 1304|  1.52k|        auto idx    = pos.subindex(first);
 1305|  1.52k|        auto count  = pos.count();
 1306|  1.52k|        auto node   = pos.node();
 1307|  1.52k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 1.52k]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|      0|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 0, False: 0]
  ------------------
 1312|  1.52k|        auto left_size          = pos.size_before(idx);
 1313|  1.52k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.52k|        auto dropped_size       = first;
 1315|  1.52k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.52k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.52k]
  |  Branch (1316:25): [True: 0, False: 0]
  |  Branch (1316:45): [True: 0, False: 0]
  ------------------
 1317|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 0]
  ------------------
 1318|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|      0|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 0]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|      0|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 0]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|      0|            return r;
 1324|  1.52k|        } else {
 1325|  1.52k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.52k|            auto newcount = count - idx;
 1330|  1.52k|            auto newn =
 1331|  1.52k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 1.52k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  1.52k|                       : node_t::make_inner_r_e(e);
 1336|  1.52k|            auto newr = newn->relaxed();
 1337|  1.52k|            IMMER_TRY {
  ------------------
  |  |   49|  1.52k|#define IMMER_TRY try
  ------------------
 1338|  1.52k|                auto subs =
 1339|  1.52k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 1.52k]
  ------------------
 1340|  1.52k|                           : pos.towards_sub_oh(
 1341|  1.52k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.52k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 1.52k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.52k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.52k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.52k, False: 0]
  ------------------
 1346|  1.52k|                pos.copy_sizes(
 1347|  1.52k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.52k|                newr->d.count    = newcount;
 1349|  1.52k|                newn->inner()[0] = get<1>(subs);
 1350|  1.52k|                std::copy(node->inner() + idx + 1,
 1351|  1.52k|                          node->inner() + count,
 1352|  1.52k|                          newn->inner() + 1);
 1353|  1.52k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.52k, False: 0]
  ------------------
 1354|  1.52k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.52k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 1.52k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  1.52k|                }
 1358|  1.52k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.52k|            }
 1360|  1.52k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.52k|        }
 1373|  1.52k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1198|  4.94k|    {
 1199|  4.94k|        using node_t = node_type<Pos>;
 1200|  4.94k|        auto node    = p.node();
 1201|  4.94k|        if (node->dec()) {
  ------------------
  |  Branch (1201:13): [True: 4.94k, False: 0]
  ------------------
 1202|  4.94k|            p.each_left(dec_t{}, idx);
 1203|  4.94k|            node_t::delete_inner_r(node, p.count());
 1204|  4.94k|        }
 1205|  4.94k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb1EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|   118k|    {
 1247|   118k|        auto idx                = pos.subindex(first);
 1248|   118k|        auto count              = pos.count();
 1249|   118k|        auto node               = pos.node();
 1250|   118k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 118k, Folded]
  |  Branch (1250:47): [True: 110k, False: 7.43k]
  ------------------
 1251|   118k|        auto left_size          = pos.size_before(idx);
 1252|   118k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|   118k|        auto dropped_size       = first;
 1254|   118k|        auto child_dropped_size = dropped_size - left_size;
 1255|   118k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 118k]
  |  Branch (1255:25): [True: 0, False: 0]
  |  Branch (1255:45): [True: 0, False: 0]
  ------------------
 1256|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 0]
  ------------------
 1257|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|      0|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 0]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|      0|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 0, Folded]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|      0|            return r;
 1263|   118k|        } else {
 1264|   118k|            using std::get;
 1265|   118k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 110k, False: 7.43k]
  ------------------
 1266|   118k|                                   : node_t::make_inner_r_e(e);
 1267|   118k|            auto newr     = newn->relaxed();
 1268|   118k|            auto newcount = count - idx;
 1269|   118k|            auto new_child_size = child_size - child_dropped_size;
 1270|   118k|            IMMER_TRY {
  ------------------
  |  |   49|   118k|#define IMMER_TRY try
  ------------------
 1271|   118k|                auto subs =
 1272|   118k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 110k, False: 7.43k]
  ------------------
 1273|   118k|                           : pos.towards_sub_oh(
 1274|  7.43k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|   118k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 110k, False: 7.43k]
  ------------------
 1276|   110k|                    pos.each_left(dec_visitor{}, idx);
 1277|   118k|                pos.copy_sizes(
 1278|   118k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|   118k|                std::copy(node->inner() + idx + 1,
 1280|   118k|                          node->inner() + count,
 1281|   118k|                          newn->inner() + 1);
 1282|   118k|                newn->inner()[0] = get<1>(subs);
 1283|   118k|                newr->d.sizes[0] = new_child_size;
 1284|   118k|                newr->d.count    = newcount;
 1285|   118k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 118k, False: 0]
  ------------------
 1286|   118k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 7.43k, False: 110k]
  ------------------
 1287|  7.43k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  7.43k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 7.43k, Folded]
  ------------------
 1289|  7.43k|                        pos.visit(dec_visitor{});
 1290|  7.43k|                }
 1291|   118k|                return std::make_tuple(pos.shift(), newn);
 1292|   118k|            }
 1293|   118k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|   118k|        }
 1299|   118k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0ELb0EE13visit_relaxedIRNS1_11relaxed_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1246|  47.8k|    {
 1247|  47.8k|        auto idx                = pos.subindex(first);
 1248|  47.8k|        auto count              = pos.count();
 1249|  47.8k|        auto node               = pos.node();
 1250|  47.8k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 47.8k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  47.8k|        auto left_size          = pos.size_before(idx);
 1252|  47.8k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  47.8k|        auto dropped_size       = first;
 1254|  47.8k|        auto child_dropped_size = dropped_size - left_size;
 1255|  47.8k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 47.8k]
  |  Branch (1255:25): [True: 0, False: 0]
  |  Branch (1255:45): [True: 0, False: 0]
  ------------------
 1256|      0|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 0]
  ------------------
 1257|      0|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|      0|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 0]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|      0|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 0]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|      0|            return r;
 1263|  47.8k|        } else {
 1264|  47.8k|            using std::get;
 1265|  47.8k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 47.8k]
  ------------------
 1266|  47.8k|                                   : node_t::make_inner_r_e(e);
 1267|  47.8k|            auto newr     = newn->relaxed();
 1268|  47.8k|            auto newcount = count - idx;
 1269|  47.8k|            auto new_child_size = child_size - child_dropped_size;
 1270|  47.8k|            IMMER_TRY {
  ------------------
  |  |   49|  47.8k|#define IMMER_TRY try
  ------------------
 1271|  47.8k|                auto subs =
 1272|  47.8k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 47.8k]
  ------------------
 1273|  47.8k|                           : pos.towards_sub_oh(
 1274|  47.8k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  47.8k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 47.8k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  47.8k|                pos.copy_sizes(
 1278|  47.8k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  47.8k|                std::copy(node->inner() + idx + 1,
 1280|  47.8k|                          node->inner() + count,
 1281|  47.8k|                          newn->inner() + 1);
 1282|  47.8k|                newn->inner()[0] = get<1>(subs);
 1283|  47.8k|                newr->d.sizes[0] = new_child_size;
 1284|  47.8k|                newr->d.count    = newcount;
 1285|  47.8k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 47.8k, False: 0]
  ------------------
 1286|  47.8k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 47.8k, False: 0]
  ------------------
 1287|  47.8k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  47.8k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 47.8k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  47.8k|                }
 1291|  47.8k|                return std::make_tuple(pos.shift(), newn);
 1292|  47.8k|            }
 1293|  47.8k|            IMMER_CATCH (...) {
 1294|      0|                if (!mutate)
  ------------------
  |  Branch (1294:21): [True: 0, False: 0]
  ------------------
 1295|      0|                    node_t::delete_inner_r_e(newn);
 1296|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1297|      0|            }
 1298|  47.8k|        }
 1299|  47.8k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_15regular_sub_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  9.07k|    {
 1304|  9.07k|        auto idx    = pos.subindex(first);
 1305|  9.07k|        auto count  = pos.count();
 1306|  9.07k|        auto node   = pos.node();
 1307|  9.07k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  9.07k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 6.66k, False: 2.40k]
  ------------------
 1312|  9.07k|        auto left_size          = pos.size_before(idx);
 1313|  9.07k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  9.07k|        auto dropped_size       = first;
 1315|  9.07k|        auto child_dropped_size = dropped_size - left_size;
 1316|  9.07k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 9.07k, Folded]
  |  Branch (1316:25): [True: 7.19k, False: 1.88k]
  |  Branch (1316:45): [True: 5.12k, False: 2.06k]
  ------------------
 1317|  5.12k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 3.98k, False: 1.14k]
  ------------------
 1318|  5.12k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  5.12k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 3.98k, False: 1.14k]
  ------------------
 1320|  3.98k|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.14k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.14k, Folded]
  ------------------
 1322|  1.14k|                pos.visit(dec_visitor{});
 1323|  5.12k|            return r;
 1324|  5.12k|        } else {
 1325|  3.95k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  3.95k|            auto newcount = count - idx;
 1330|  3.95k|            auto newn =
 1331|  3.95k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 2.68k, False: 1.26k]
  ------------------
 1332|  2.68k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  2.68k|                                                     norefs_tag{})) relaxed_t,
 1334|  2.68k|                          node)
 1335|  3.95k|                       : node_t::make_inner_r_e(e);
 1336|  3.95k|            auto newr = newn->relaxed();
 1337|  3.95k|            IMMER_TRY {
  ------------------
  |  |   49|  3.95k|#define IMMER_TRY try
  ------------------
 1338|  3.95k|                auto subs =
 1339|  3.95k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 2.68k, False: 1.26k]
  ------------------
 1340|  3.95k|                           : pos.towards_sub_oh(
 1341|  1.26k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.95k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 2.68k, False: 1.26k]
  ------------------
 1343|  2.68k|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.95k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.95k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.95k, False: 0]
  ------------------
 1346|  3.95k|                pos.copy_sizes(
 1347|  3.95k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.95k|                newr->d.count    = newcount;
 1349|  3.95k|                newn->inner()[0] = get<1>(subs);
 1350|  3.95k|                std::copy(node->inner() + idx + 1,
 1351|  3.95k|                          node->inner() + count,
 1352|  3.95k|                          newn->inner() + 1);
 1353|  3.95k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.26k, False: 2.68k]
  ------------------
 1354|  1.26k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.26k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.26k, Folded]
  ------------------
 1356|  1.26k|                        pos.visit(dec_visitor{});
 1357|  1.26k|                }
 1358|  3.95k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.95k|            }
 1360|  3.95k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  3.95k|        }
 1373|  9.07k|    }
_ZN5immer6detail4rbts22slice_left_mut_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1ELb1EE13visit_regularIRNS1_8full_posISC_EEEENSt3__15tupleIJjPSC_EEEOT_mNSA_5applyIS7_E4type4editE:
 1303|  3.16k|    {
 1304|  3.16k|        auto idx    = pos.subindex(first);
 1305|  3.16k|        auto count  = pos.count();
 1306|  3.16k|        auto node   = pos.node();
 1307|  3.16k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [True: 0, Folded]
  ------------------
 1308|       |                      // this is more restrictive than actually needed because
 1309|       |                      // it causes the algorithm to also avoid mutating the leaf
 1310|       |                      // in place
 1311|  3.16k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 1.41k, False: 1.75k]
  ------------------
 1312|  3.16k|        auto left_size          = pos.size_before(idx);
 1313|  3.16k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.16k|        auto dropped_size       = first;
 1315|  3.16k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.16k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 3.16k, Folded]
  |  Branch (1316:25): [True: 1.66k, False: 1.50k]
  |  Branch (1316:45): [True: 1.46k, False: 207]
  ------------------
 1317|  1.46k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 308, False: 1.15k]
  ------------------
 1318|  1.46k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.46k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 308, False: 1.15k]
  ------------------
 1320|    308|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.15k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.15k, Folded]
  ------------------
 1322|  1.15k|                pos.visit(dec_visitor{});
 1323|  1.46k|            return r;
 1324|  1.70k|        } else {
 1325|  1.70k|            using std::get;
 1326|       |            // if possible, we convert the node to a relaxed one simply by
 1327|       |            // allocating a `relaxed_t` size table for it... maybe some of this
 1328|       |            // magic should be moved as a `node<...>` static method...
 1329|  1.70k|            auto newcount = count - idx;
 1330|  1.70k|            auto newn =
 1331|  1.70k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 1.10k, False: 602]
  ------------------
 1332|  1.10k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  1.10k|                                                     norefs_tag{})) relaxed_t,
 1334|  1.10k|                          node)
 1335|  1.70k|                       : node_t::make_inner_r_e(e);
 1336|  1.70k|            auto newr = newn->relaxed();
 1337|  1.70k|            IMMER_TRY {
  ------------------
  |  |   49|  1.70k|#define IMMER_TRY try
  ------------------
 1338|  1.70k|                auto subs =
 1339|  1.70k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 1.10k, False: 602]
  ------------------
 1340|  1.70k|                           : pos.towards_sub_oh(
 1341|    602|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.70k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 1.10k, False: 602]
  ------------------
 1343|  1.10k|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.70k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.70k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.70k, False: 0]
  ------------------
 1346|  1.70k|                pos.copy_sizes(
 1347|  1.70k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.70k|                newr->d.count    = newcount;
 1349|  1.70k|                newn->inner()[0] = get<1>(subs);
 1350|  1.70k|                std::copy(node->inner() + idx + 1,
 1351|  1.70k|                          node->inner() + count,
 1352|  1.70k|                          newn->inner() + 1);
 1353|  1.70k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 602, False: 1.10k]
  ------------------
 1354|    602|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    602|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 602, Folded]
  ------------------
 1356|    602|                        pos.visit(dec_visitor{});
 1357|    602|                }
 1358|  1.70k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.70k|            }
 1360|  1.70k|            IMMER_CATCH (...) {
 1361|      0|                if (!mutate)
  ------------------
  |  Branch (1361:21): [True: 0, False: 0]
  ------------------
 1362|      0|                    node_t::delete_inner_r_e(newn);
 1363|      0|                else {
 1364|       |                    // restore the regular node that we were
 1365|       |                    // attempting to relax...
 1366|      0|                    node_t::heap::deallocate(node_t::max_sizeof_relaxed,
 1367|      0|                                             node->impl.d.data.inner.relaxed);
 1368|      0|                    node->impl.d.data.inner.relaxed = nullptr;
 1369|      0|                }
 1370|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1371|      0|            }
 1372|  1.70k|        }
 1373|  3.16k|    }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  15.6k|        {
  350|  15.6k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 15.6k, False: 0]
  ------------------
  351|  15.6k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 14.4k, False: 1.24k]
  ------------------
  352|  15.6k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  14.4k|                                                 shiftl,
  354|  14.4k|                                                 sizel,
  355|  14.4k|                                                 this_t{},
  356|  14.4k|                                                 posr,
  357|  14.4k|                                                 first,
  358|  14.4k|                                                 size_t{})
  359|  15.6k|                       : posr.first_sub_inner(
  360|  1.24k|                             rrb{}, first, rootl, shiftl, sizel);
  361|  15.6k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  34.3k|    {
  383|  34.3k|        auto nl = posl.node();
  384|  34.3k|        auto nr = posr.node();
  385|  34.3k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 9.78k, False: 24.5k]
  ------------------
  386|  9.78k|            return true;
  387|  24.5k|        auto cl = posl.count();
  388|  24.5k|        auto cr = posr.count();
  389|  24.5k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 24.5k, False: 0]
  ------------------
  390|  24.5k|        auto sbr = size_t{};
  391|  24.5k|        auto i   = count_t{};
  392|  24.5k|        auto j   = count_t{};
  393|  84.2k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 67.7k, False: 16.5k]
  ------------------
  394|  67.7k|            auto sbl = posl.size_before(i);
  395|   109k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 86.0k, False: 22.9k]
  |  Branch (395:34): [True: 41.2k, False: 44.7k]
  ------------------
  396|  41.2k|                ;
  397|  67.7k|            auto res =
  398|  67.7k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 39.6k, False: 28.0k]
  ------------------
  399|  67.7k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  67.7k|                    : posl.nth_sub(i,
  401|  28.0k|                                   for_each_chunk_p_visitor{},
  402|  28.0k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  67.7k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 8.01k, False: 59.7k]
  ------------------
  404|  8.01k|                return false;
  405|  67.7k|        }
  406|  16.5k|        return true;
  407|  24.5k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  14.2k|        {
  337|  14.2k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  14.2k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  14.7k|    {
  428|  14.7k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 6.53k, False: 8.24k]
  ------------------
  429|  6.53k|            return true;
  430|  8.24k|        auto cl = posl.count();
  431|  8.24k|        auto cr = posr.count();
  432|  8.24k|        auto mp = std::min(cl, cr);
  433|  8.24k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 7.05k, False: 1.18k]
  ------------------
  434|  8.24k|                          posl.node()->leaf() + mp,
  435|  8.24k|                          posr.node()->leaf()) &&
  436|  7.05k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 6.67k, False: 380]
  ------------------
  437|  7.05k|                          posl.node()->leaf() + posl.count(),
  438|  7.05k|                          first + (idx + mp));
  439|  14.7k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESH_RNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  23.2k|        {
  330|  23.2k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  23.2k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIX12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  412|  4.96k|    {
  413|  4.96k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  4.96k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  4.96k|    {
  383|  4.96k|        auto nl = posl.node();
  384|  4.96k|        auto nr = posr.node();
  385|  4.96k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 4.96k]
  ------------------
  386|      0|            return true;
  387|  4.96k|        auto cl = posl.count();
  388|  4.96k|        auto cr = posr.count();
  389|  4.96k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 4.96k, False: 0]
  ------------------
  390|  4.96k|        auto sbr = size_t{};
  391|  4.96k|        auto i   = count_t{};
  392|  4.96k|        auto j   = count_t{};
  393|  14.7k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 12.0k, False: 2.70k]
  ------------------
  394|  12.0k|            auto sbl = posl.size_before(i);
  395|  19.1k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 14.1k, False: 4.98k]
  |  Branch (395:34): [True: 7.09k, False: 7.06k]
  ------------------
  396|  7.09k|                ;
  397|  12.0k|            auto res =
  398|  12.0k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 7.19k, False: 4.85k]
  ------------------
  399|  12.0k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  12.0k|                    : posl.nth_sub(i,
  401|  4.85k|                                   for_each_chunk_p_visitor{},
  402|  4.85k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  12.0k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 2.26k, False: 9.77k]
  ------------------
  404|  2.26k|                return false;
  405|  12.0k|        }
  406|  2.70k|        return true;
  407|  4.96k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  4.10k|        {
  337|  4.10k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  4.10k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_12leaf_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  7.42k|    {
  428|  7.42k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 4.15k, False: 3.26k]
  ------------------
  429|  4.15k|            return true;
  430|  3.26k|        auto cl = posl.count();
  431|  3.26k|        auto cr = posr.count();
  432|  3.26k|        auto mp = std::min(cl, cr);
  433|  3.26k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 3.04k, False: 226]
  ------------------
  434|  3.26k|                          posl.node()->leaf() + mp,
  435|  3.26k|                          posr.node()->leaf()) &&
  436|  3.04k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 2.79k, False: 251]
  ------------------
  437|  3.04k|                          posl.node()->leaf() + posl.count(),
  438|  3.04k|                          first + (idx + mp));
  439|  7.42k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  2.36k|        {
  330|  2.36k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.36k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIX12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  412|  2.88k|    {
  413|  2.88k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  2.88k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  2.88k|    {
  383|  2.88k|        auto nl = posl.node();
  384|  2.88k|        auto nr = posr.node();
  385|  2.88k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.88k]
  ------------------
  386|      0|            return true;
  387|  2.88k|        auto cl = posl.count();
  388|  2.88k|        auto cr = posr.count();
  389|  2.88k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.88k, False: 0]
  ------------------
  390|  2.88k|        auto sbr = size_t{};
  391|  2.88k|        auto i   = count_t{};
  392|  2.88k|        auto j   = count_t{};
  393|  13.4k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 10.8k, False: 2.52k]
  ------------------
  394|  10.8k|            auto sbl = posl.size_before(i);
  395|  18.6k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 14.0k, False: 4.59k]
  |  Branch (395:34): [True: 7.72k, False: 6.29k]
  ------------------
  396|  7.72k|                ;
  397|  10.8k|            auto res =
  398|  10.8k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 5.75k, False: 5.13k]
  ------------------
  399|  10.8k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.8k|                    : posl.nth_sub(i,
  401|  5.13k|                                   for_each_chunk_p_visitor{},
  402|  5.13k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.8k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 357, False: 10.5k]
  ------------------
  404|    357|                return false;
  405|  10.8k|        }
  406|  2.52k|        return true;
  407|  2.88k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  3.88k|        {
  337|  3.88k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.88k|        }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|    882|        {
  330|    882|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    882|        }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|    985|        {
  330|    985|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    985|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  419|  1.71k|    {
  420|  1.71k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.71k, False: 0]
  ------------------
  421|  1.71k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.71k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.71k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  9.17k|    {
  444|  9.17k|        auto node = pos.node();
  445|  9.17k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 5.91k, False: 3.25k]
  |  Branch (445:33): [True: 1.80k, False: 1.44k]
  ------------------
  446|  9.17k|    }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  12.9k|    {
  451|  12.9k|        auto node = pos.node();
  452|  12.9k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 8.35k, False: 4.59k]
  |  Branch (452:33): [True: 2.83k, False: 1.76k]
  ------------------
  453|  4.59k|                                           node->leaf() + pos.count(),
  454|  4.59k|                                           other->leaf());
  455|  12.9k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  7.47k|    {
  444|  7.47k|        auto node = pos.node();
  445|  7.47k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 2.53k, False: 4.94k]
  |  Branch (445:33): [True: 2.75k, False: 2.18k]
  ------------------
  446|  7.47k|    }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  2.83k|    {
  451|  2.83k|        auto node = pos.node();
  452|  2.83k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 1.58k, False: 1.24k]
  |  Branch (452:33): [True: 572, False: 671]
  ------------------
  453|  1.24k|                                           node->leaf() + pos.count(),
  454|  1.24k|                                           other->leaf());
  455|  2.83k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  3.86k|    {
  444|  3.86k|        auto node = pos.node();
  445|  3.86k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 599, False: 3.26k]
  |  Branch (445:33): [True: 2.39k, False: 868]
  ------------------
  446|  3.86k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|   375k|    {
  113|   375k|        auto data = as_const(pos.node()->leaf());
  114|   375k|        return fn(data, data + pos.count());
  115|   375k|    }
_ZZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_ENUlSE_T0_E_clIPKiSK_EEDaSE_SG_:
  367|  1.44M|        return [iter](auto f, auto e) mutable {
  368|  1.44M|            if (f == &*iter) {
  ------------------
  |  Branch (368:17): [True: 208k, False: 1.23M]
  ------------------
  369|   208k|                iter += e - f;
  370|   208k|                return true;
  371|   208k|            }
  372|  5.61M|            for (; f != e; ++f, ++iter)
  ------------------
  |  Branch (372:20): [True: 4.38M, False: 1.22M]
  ------------------
  373|  4.38M|                if (*f != *iter)
  ------------------
  |  Branch (373:21): [True: 3.44k, False: 4.37M]
  ------------------
  374|  3.44k|                    return false;
  375|  1.22M|            return true;
  376|  1.23M|        };
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|  10.2M|    {
   54|  10.2M|        return pos.towards(this_t{}, idx);
   55|  10.2M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|  1.06M|    {
   60|  1.06M|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  1.06M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|   416k|    {
   54|   416k|        return pos.towards(this_t{}, idx);
   55|   416k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|   383k|    {
   60|   383k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   383k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|  1.03M|    {
   54|  1.03M|        return pos.towards(this_t{}, idx);
   55|  1.03M|    }
_ZN5immer6detail4rbts18region_for_visitorIiE10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   59|  32.8k|    {
   60|  32.8k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  32.8k|    }
_ZN5immer6detail4rbts18region_for_visitorIiE11visit_innerIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEENSt3__15tupleIJPimmEEEOT_m:
   53|   123k|    {
   54|   123k|        return pos.towards(this_t{}, idx);
   55|   123k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  97.7k|    {
  107|  97.7k|        return pos.each_pred(this_t{}, fn);
  108|  97.7k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESH_RNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|    728|        {
  330|    728|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    728|        }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESG_RNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSM_OT1_m:
  419|  6.45k|    {
  420|  6.45k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 6.45k, False: 0]
  ------------------
  421|  6.45k|                   ? this_t::visit_regular(posl, posr.node())
  422|  6.45k|                   : this_t::visit_regular(posr, posl.node());
  423|  6.45k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|  1.04M|    {
  113|  1.04M|        auto data = as_const(pos.node()->leaf());
  114|  1.04M|        return fn(data, data + pos.count());
  115|  1.04M|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  26.3k|    {
  107|  26.3k|        return pos.each_pred(this_t{}, fn);
  108|  26.3k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  112|  25.0k|    {
  113|  25.0k|        auto data = as_const(pos.node()->leaf());
  114|  25.0k|        return fn(data, data + pos.count());
  115|  25.0k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|  8.67k|    {
  107|  8.67k|        return pos.each_pred(this_t{}, fn);
  108|  8.67k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  2.53k|        {
  330|  2.53k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.53k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_15regular_sub_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  2.97k|    {
  383|  2.97k|        auto nl = posl.node();
  384|  2.97k|        auto nr = posr.node();
  385|  2.97k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.97k]
  ------------------
  386|      0|            return true;
  387|  2.97k|        auto cl = posl.count();
  388|  2.97k|        auto cr = posr.count();
  389|  2.97k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.97k, False: 0]
  ------------------
  390|  2.97k|        auto sbr = size_t{};
  391|  2.97k|        auto i   = count_t{};
  392|  2.97k|        auto j   = count_t{};
  393|  10.3k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 8.13k, False: 2.25k]
  ------------------
  394|  8.13k|            auto sbl = posl.size_before(i);
  395|  12.1k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 8.82k, False: 3.33k]
  |  Branch (395:34): [True: 4.02k, False: 4.80k]
  ------------------
  396|  4.02k|                ;
  397|  8.13k|            auto res =
  398|  8.13k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.54k, False: 3.59k]
  ------------------
  399|  8.13k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  8.13k|                    : posl.nth_sub(i,
  401|  3.59k|                                   for_each_chunk_p_visitor{},
  402|  3.59k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  8.13k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 727, False: 7.41k]
  ------------------
  404|    727|                return false;
  405|  8.13k|        }
  406|  2.25k|        return true;
  407|  2.97k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  336|  5.26k|        {
  337|  5.26k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  5.26k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13full_leaf_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  427|  5.26k|    {
  428|  5.26k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 2.63k, False: 2.62k]
  ------------------
  429|  2.63k|            return true;
  430|  2.62k|        auto cl = posl.count();
  431|  2.62k|        auto cr = posr.count();
  432|  2.62k|        auto mp = std::min(cl, cr);
  433|  2.62k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 2.24k, False: 388]
  ------------------
  434|  2.62k|                          posl.node()->leaf() + mp,
  435|  2.62k|                          posr.node()->leaf()) &&
  436|  2.24k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 2.24k, False: 0]
  ------------------
  437|  2.24k|                          posl.node()->leaf() + posl.count(),
  438|  2.24k|                          first + (idx + mp));
  439|  5.26k|    }
_ZN5immer6detail4rbts14equals_visitor10this_aux_t11visit_innerIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_11relaxed_posISF_EERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEEEEbOT_jOT0_OT1_m:
  329|  3.37k|        {
  330|  3.37k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  3.37k|        }
_ZN5immer6detail4rbts14equals_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEbOT_OT0_OT1_m:
  382|  2.35k|    {
  383|  2.35k|        auto nl = posl.node();
  384|  2.35k|        auto nr = posr.node();
  385|  2.35k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.35k]
  ------------------
  386|      0|            return true;
  387|  2.35k|        auto cl = posl.count();
  388|  2.35k|        auto cr = posr.count();
  389|  2.35k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.35k, False: 0]
  ------------------
  390|  2.35k|        auto sbr = size_t{};
  391|  2.35k|        auto i   = count_t{};
  392|  2.35k|        auto j   = count_t{};
  393|  10.6k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 8.72k, False: 1.91k]
  ------------------
  394|  8.72k|            auto sbl = posl.size_before(i);
  395|  14.3k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 13.1k, False: 1.17k]
  |  Branch (395:34): [True: 5.60k, False: 7.54k]
  ------------------
  396|  5.60k|                ;
  397|  8.72k|            auto res =
  398|  8.72k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.41k, False: 4.31k]
  ------------------
  399|  8.72k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  8.72k|                    : posl.nth_sub(i,
  401|  4.31k|                                   for_each_chunk_p_visitor{},
  402|  4.31k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  8.72k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 439, False: 8.28k]
  ------------------
  404|    439|                return false;
  405|  8.72k|        }
  406|  1.91k|        return true;
  407|  2.35k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_8full_posISE_EERNS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEENSt3__19enable_ifIXnt12is_relaxed_vIT0_EEbE4typeEOT_OSP_OT1_m:
  419|  1.01k|    {
  420|  1.01k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.01k, False: 0]
  ------------------
  421|  1.01k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.01k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.01k|    }
_ZN5immer6detail4rbts24for_each_chunk_p_visitor11visit_innerIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSD_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEbSM_OSN_:
  106|   670k|    {
  107|   670k|        return pos.each_pred(this_t{}, fn);
  108|   670k|    }
_ZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
  366|  45.9k|    {
  367|  45.9k|        return [iter](auto f, auto e) mutable {
  368|  45.9k|            if (f == &*iter) {
  369|  45.9k|                iter += e - f;
  370|  45.9k|                return true;
  371|  45.9k|            }
  372|  45.9k|            for (; f != e; ++f, ++iter)
  373|  45.9k|                if (*f != *iter)
  374|  45.9k|                    return false;
  375|  45.9k|            return true;
  376|  45.9k|        };
  377|  45.9k|    }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  1.60k|        {
  350|  1.60k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 1.60k, False: 0]
  ------------------
  351|  1.60k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 1.24k, False: 363]
  ------------------
  352|  1.60k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  1.24k|                                                 shiftl,
  354|  1.24k|                                                 sizel,
  355|  1.24k|                                                 this_t{},
  356|  1.24k|                                                 posr,
  357|  1.24k|                                                 first,
  358|  1.24k|                                                 size_t{})
  359|  1.60k|                       : posr.first_sub_inner(
  360|    363|                             rrb{}, first, rootl, shiftl, sizel);
  361|  1.60k|        }
_ZN5immer6detail4rbts14equals_visitor3rrb10visit_nodeIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSE_Lj2ELj2EEESF_EEbOT_OT0_PT1_jm:
  349|  6.90k|        {
  350|  6.90k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 6.90k, False: 0]
  ------------------
  351|  6.90k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 6.90k, False: 0]
  ------------------
  352|  6.90k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  6.90k|                                                 shiftl,
  354|  6.90k|                                                 sizel,
  355|  6.90k|                                                 this_t{},
  356|  6.90k|                                                 posr,
  357|  6.90k|                                                 first,
  358|  6.90k|                                                 size_t{})
  359|  6.90k|                       : posr.first_sub_inner(
  360|      0|                             rrb{}, first, rootl, shiftl, sizel);
  361|  6.90k|        }
_ZN5immer6detail4rbts14equals_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  450|  7.36k|    {
  451|  7.36k|        auto node = pos.node();
  452|  7.36k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 4.11k, False: 3.25k]
  |  Branch (452:33): [True: 1.02k, False: 2.22k]
  ------------------
  453|  3.25k|                                           node->leaf() + pos.count(),
  454|  3.25k|                                           other->leaf());
  455|  7.36k|    }

_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_11dec_visitorEJEEEDcPT_jmT0_DpOT1_:
 1838|  27.7M|{
 1839|  27.7M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 27.7M, False: 0]
  ------------------
 1840|  27.7M|    auto relaxed = node->relaxed();
 1841|  27.7M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 25.3M, False: 2.43M]
  ------------------
 1842|  25.3M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 25.3M, False: 0]
  ------------------
 1843|  25.3M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  25.3M|            .visit(v, std::forward<Args>(args)...);
 1845|  25.3M|    } else {
 1846|  2.43M|        return make_regular_sub_pos(node, shift, size)
 1847|  2.43M|            .visit(v, std::forward<Args>(args)...);
 1848|  2.43M|    }
 1849|  27.7M|}
_ZN5immer6detail4rbts16make_relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11relaxed_posIT_EEPSE_jPNSE_9relaxed_tE:
 1828|  89.2M|{
 1829|  89.2M|    assert(node);
  ------------------
  |  Branch (1829:5): [True: 89.2M, False: 0]
  ------------------
 1830|  89.2M|    assert(relaxed);
  ------------------
  |  Branch (1830:5): [True: 89.2M, False: 0]
  ------------------
 1831|  89.2M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1831:5): [True: 89.2M, False: 0]
  ------------------
 1832|  89.2M|    return {node, shift, relaxed};
 1833|  89.2M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1813|  32.5M|    {
 1814|  32.5M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  32.5M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1431|  53.1M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
 1476|  10.6M|    {
 1477|  10.6M|        each_left(v, relaxed_->d.count, args...);
 1478|  10.6M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1623|  10.7M|    {
 1624|  10.7M|        auto p = node_->inner();
 1625|  10.7M|        auto s = size_t{};
 1626|  10.7M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 1.88M, False: 8.88M]
  ------------------
 1627|  8.22M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 6.33M, False: 1.88M]
  ------------------
 1628|  6.33M|                IMMER_PREFETCH(p + i + 1);
 1629|  6.33M|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|  6.33M|                    .visit(v, args...);
 1631|  6.33M|                s = relaxed_->d.sizes[i];
 1632|  6.33M|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 6.33M, False: 0]
  ------------------
 1633|  6.33M|            }
 1634|  8.88M|        } else {
 1635|  8.88M|            auto ss = shift_ - B;
 1636|  35.1M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 26.2M, False: 8.88M]
  ------------------
 1637|  26.2M|                visit_maybe_relaxed_sub(
 1638|  26.2M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  26.2M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 26.2M, False: 0]
  ------------------
 1641|  26.2M|            }
 1642|  8.88M|        }
 1643|  10.7M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1430|  50.5M|    count_t count() const { return relaxed_->d.count; }
_ZN5immer6detail4rbts20make_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15regular_sub_posIT_EEPSE_jm:
 1044|  5.94M|{
 1045|  5.94M|    assert(node);
  ------------------
  |  Branch (1045:5): [True: 5.94M, False: 0]
  ------------------
 1046|  5.94M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1046:5): [True: 5.94M, False: 0]
  ------------------
 1047|  5.94M|    assert(size > 0);
  ------------------
  |  Branch (1047:5): [True: 5.94M, False: 0]
  ------------------
 1048|  5.94M|    assert(size <= (branches<NodeT::bits, size_t> << shift));
  ------------------
  |  Branch (1048:5): [True: 5.94M, False: 0]
  ------------------
 1049|  5.94M|    return {node, shift, size};
 1050|  5.94M|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1036|  2.43M|    {
 1037|  2.43M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.43M|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  785|  7.99M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
  825|   616k|    {
  826|   616k|        return each_regular(*this, v, args...);
  827|   616k|    }
_ZN5immer6detail4rbts12each_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_DpOT1_:
  343|   616k|{
  344|   616k|    constexpr auto B  = bits<Pos>;
  345|   616k|    constexpr auto BL = bits_leaf<Pos>;
  346|   616k|    auto n            = p.node()->inner();
  347|   616k|    auto last         = p.count() - 1;
  348|   616k|    auto e            = n + last;
  349|   616k|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 80.8k, False: 535k]
  ------------------
  350|   154k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 73.5k, False: 80.8k]
  ------------------
  351|  73.5k|            IMMER_PREFETCH(n + 1);
  352|  73.5k|            make_full_leaf_pos(*n).visit(v, args...);
  353|  73.5k|        }
  354|  80.8k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|   535k|    } else {
  356|   535k|        auto ss = p.shift() - B;
  357|  1.24M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 707k, False: 535k]
  ------------------
  358|   707k|            make_full_pos(*n, ss).visit(v, args...);
  359|   535k|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|   535k|    }
  361|   616k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  787|  7.62M|    shift_t shift() const { return shift_; }
_ZN5immer6detail4rbts18make_full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_13full_leaf_posIT_EEPSE_:
  214|  4.09M|{
  215|  4.09M|    assert(node);
  ------------------
  |  Branch (215:5): [True: 4.09M, False: 0]
  ------------------
  216|  4.09M|    return {node};
  217|  4.09M|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  207|  1.19M|    {
  208|  1.19M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.19M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  199|  3.16M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  198|  3.43M|    count_t count() const { return branches<BL>; }
_ZN5immer6detail4rbts13make_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_8leaf_posIT_EEPSE_m:
  119|  1.07M|{
  120|  1.07M|    assert(node);
  ------------------
  |  Branch (120:5): [True: 1.07M, False: 0]
  ------------------
  121|  1.07M|    assert(size > 0);
  ------------------
  |  Branch (121:5): [True: 1.07M, False: 0]
  ------------------
  122|  1.07M|    return {node, size};
  123|  1.07M|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  786|  4.19M|    size_t size() const { return size_; }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  112|   494k|    {
  113|   494k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|   494k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  104|  1.07M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  103|  1.10M|    count_t count() const { return index(size_ - 1) + 1; }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  107|  1.17M|    count_t index(size_t idx) const { return idx & mask<BL>; }
_ZN5immer6detail4rbts13make_full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_8full_posIT_EEPSE_j:
 1412|  6.15M|{
 1413|  6.15M|    assert(node);
  ------------------
  |  Branch (1413:5): [True: 6.15M, False: 0]
  ------------------
 1414|  6.15M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1414:5): [True: 6.15M, False: 0]
  ------------------
 1415|  6.15M|    return {node, shift};
 1416|  6.15M|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1405|  3.43M|    {
 1406|  3.43M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.43M|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1159|  4.22M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
 1185|   225k|    {
 1186|   225k|        auto p = node_->inner();
 1187|   225k|        auto e = p + branches<B>;
 1188|   225k|        if (shift_ == BL) {
  ------------------
  |  Branch (1188:13): [True: 172k, False: 53.0k]
  ------------------
 1189|   860k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1189:20): [True: 688k, False: 172k]
  ------------------
 1190|   688k|                IMMER_PREFETCH(p + 1);
 1191|   688k|                make_full_leaf_pos(*p).visit(v, args...);
 1192|   688k|            }
 1193|   172k|        } else {
 1194|  53.0k|            auto ss = shift_ - B;
 1195|   265k|            for (; p != e; ++p)
  ------------------
  |  Branch (1195:20): [True: 212k, False: 53.0k]
  ------------------
 1196|   212k|                make_full_pos(*p, ss).visit(v, args...);
 1197|  53.0k|        }
 1198|   225k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1158|  1.70M|    count_t count() const { return branches<B>; }
_ZN5immer6detail4rbts16make_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11regular_posIT_EEPSE_jm:
  690|  5.45M|{
  691|  5.45M|    assert(node);
  ------------------
  |  Branch (691:5): [True: 5.45M, False: 0]
  ------------------
  692|  5.45M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (692:5): [True: 5.45M, False: 0]
  ------------------
  693|  5.45M|    assert(size > 0);
  ------------------
  |  Branch (693:5): [True: 5.45M, False: 0]
  ------------------
  694|  5.45M|    return {node, shift, size};
  695|  5.45M|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  336|  2.35M|    {
  337|  2.35M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.35M|    }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  231|  9.98M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4eachINS1_11dec_visitorEJEEEvT_DpOT0_:
  243|  2.21M|    {
  244|  2.21M|        return each_regular(*this, v, args...);
  245|  2.21M|    }
_ZN5immer6detail4rbts12each_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_DpOT1_:
  343|  2.21M|{
  344|  2.21M|    constexpr auto B  = bits<Pos>;
  345|  2.21M|    constexpr auto BL = bits_leaf<Pos>;
  346|  2.21M|    auto n            = p.node()->inner();
  347|  2.21M|    auto last         = p.count() - 1;
  348|  2.21M|    auto e            = n + last;
  349|  2.21M|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 406k, False: 1.80M]
  ------------------
  350|   814k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 407k, False: 406k]
  ------------------
  351|   407k|            IMMER_PREFETCH(n + 1);
  352|   407k|            make_full_leaf_pos(*n).visit(v, args...);
  353|   407k|        }
  354|   406k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|  1.80M|    } else {
  356|  1.80M|        auto ss = p.shift() - B;
  357|  4.30M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 2.49M, False: 1.80M]
  ------------------
  358|  2.49M|            make_full_pos(*n, ss).visit(v, args...);
  359|  1.80M|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|  1.80M|    }
  361|  2.21M|}
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  233|  9.53M|    shift_t shift() const { return shift_; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  232|  13.3M|    size_t size() const { return size_; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  230|  7.01M|    count_t count() const { return index(size_ - 1) + 1; }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  234|  13.1M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  784|  9.18M|    count_t count() const { return subindex(size_ - 1) + 1; }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
  789|  9.47M|    count_t subindex(size_t idx) const { return idx >> shift_; }
_ZN5immer6detail4rbts22make_empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17empty_regular_posIT_EEPSE_:
   64|  1.66M|{
   65|  1.66M|    return {node};
   66|  1.66M|}
_ZN5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   57|  1.66M|    {
   58|  1.66M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
   59|  1.66M|    }
_ZNK5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   41|  1.66M|    node_t* node() const { return node_; }
_ZN5immer6detail4rbts17make_leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_12leaf_sub_posIT_EEPSE_j:
  151|  17.1M|{
  152|  17.1M|    assert(node);
  ------------------
  |  Branch (152:5): [True: 17.1M, False: 0]
  ------------------
  153|  17.1M|    assert(count <= branches<NodeT::bits_leaf>);
  ------------------
  |  Branch (153:5): [True: 17.1M, False: 0]
  ------------------
  154|  17.1M|    return {node, count};
  155|  17.1M|}
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  144|  9.40M|    {
  145|  9.40M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.40M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  136|  14.9M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
  135|  8.56M|    count_t count() const { return count_; }
_ZN5immer6detail4rbts19make_empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14empty_leaf_posIT_EEPSE_:
   88|  1.58M|{
   89|  1.58M|    assert(node);
  ------------------
  |  Branch (89:5): [True: 1.58M, False: 0]
  ------------------
   90|  1.58M|    return {node};
   91|  1.58M|}
_ZN5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   81|  1.58M|    {
   82|  1.58M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
   83|  1.58M|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   75|  1.58M|    node_t* node() const { return node_; }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
   74|  7.58k|    count_t count() const { return 0; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_DpOT0_:
 1813|   489k|    {
 1814|   489k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   489k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1433|  10.6M|    shift_t shift() const { return shift_; }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
 1443|  5.44M|    {
 1444|  5.44M|        return size_sbh(offset, size_before(offset));
 1445|  5.44M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1448|  5.71M|    {
 1449|  5.71M|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (1449:9): [True: 5.71M, False: 0]
  ------------------
 1450|  5.71M|        return relaxed_->d.sizes[offset] - size_before_hint;
 1451|  5.71M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1438|  15.7M|    {
 1439|  15.7M|        return offset ? relaxed_->d.sizes[offset - 1] : 0;
  ------------------
  |  Branch (1439:16): [True: 10.1M, False: 5.55M]
  ------------------
 1440|  15.7M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_jmDpOT0_:
 1737|   474k|    {
 1738|   474k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 474k, False: 0]
  ------------------
 1739|   474k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 474k, False: 0]
  ------------------
 1740|   474k|        auto child   = node_->inner()[offset_hint];
 1741|   474k|        auto is_leaf = shift_ == BL;
 1742|   474k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 474k]
  ------------------
 1743|   474k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|   474k|                   : visit_maybe_relaxed_sub(
 1745|   474k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|   474k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|   474k|{
 1839|   474k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 474k, False: 0]
  ------------------
 1840|   474k|    auto relaxed = node->relaxed();
 1841|   474k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 294k, False: 180k]
  ------------------
 1842|   294k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 294k, False: 0]
  ------------------
 1843|   294k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   294k|            .visit(v, std::forward<Args>(args)...);
 1845|   294k|    } else {
 1846|   180k|        return make_regular_sub_pos(node, shift, size)
 1847|   180k|            .visit(v, std::forward<Args>(args)...);
 1848|   180k|    }
 1849|   474k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_RjEEEDcT_DpOT0_:
 1036|   180k|    {
 1037|   180k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   180k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  788|  2.44M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_jDpOT0_:
  952|   501k|    {
  953|   501k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   501k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17push_tail_visitorISD_EEJRPSD_EEEDcOT_T0_jDpOT1_:
  677|   501k|{
  678|   501k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 501k, False: 0]
  ------------------
  679|   501k|    constexpr auto B  = bits<Pos>;
  680|   501k|    constexpr auto BL = bits_leaf<Pos>;
  681|   501k|    auto child        = p.node()->inner()[offset_hint];
  682|   501k|    auto is_leaf      = p.shift() == BL;
  683|   501k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 501k]
  ------------------
  684|   501k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   501k|                         .visit(v, args...);
  686|   501k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_DpOT0_:
  336|  2.17M|    {
  337|  2.17M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.17M|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_jDpOT0_:
  330|  1.67M|    {
  331|  1.67M|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.67M|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_17push_tail_visitorISD_EEJRPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.67M|{
  678|  1.67M|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.67M, False: 0]
  ------------------
  679|  1.67M|    constexpr auto B  = bits<Pos>;
  680|  1.67M|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.67M|    auto child        = p.node()->inner()[offset_hint];
  682|  1.67M|    auto is_leaf      = p.shift() == BL;
  683|  1.67M|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.67M]
  ------------------
  684|  1.67M|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.67M|                         .visit(v, args...);
  686|  1.67M|}
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1432|  19.3M|    size_t size() const { return relaxed_->d.sizes[relaxed_->d.count - 1]; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17push_tail_visitorISC_EEJRPSC_EEEDcT_DpOT0_:
 1036|   343k|    {
 1037|   343k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   343k|    }
flex-vector.cpp:_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_DpOT0_:
  144|  29.1k|    {
  145|  29.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  29.1k|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  139|  1.20M|    count_t index(size_t idx) const { return idx & mask<BL>; }
flex-vector.cpp:_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSJ_E_EEEDcPSJ_jmT0_DpOT1_:
 1838|   289k|{
 1839|   289k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 289k, False: 0]
  ------------------
 1840|   289k|    auto relaxed = node->relaxed();
 1841|   289k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 233k, False: 55.9k]
  ------------------
 1842|   233k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 233k, False: 0]
  ------------------
 1843|   233k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   233k|            .visit(v, std::forward<Args>(args)...);
 1845|   233k|    } else {
 1846|  55.9k|        return make_regular_sub_pos(node, shift, size)
 1847|  55.9k|            .visit(v, std::forward<Args>(args)...);
 1848|  55.9k|    }
 1849|   289k|}
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1813|   233k|    {
 1814|   233k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   233k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1454|  32.8M|    {
 1455|  32.8M|        auto offset = idx >> shift_;
 1456|  44.5M|        while (relaxed_->d.sizes[offset] <= idx)
  ------------------
  |  Branch (1456:16): [True: 11.6M, False: 32.8M]
  ------------------
 1457|  11.6M|            ++offset;
 1458|  32.8M|        return offset;
 1459|  32.8M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7relaxedEv:
 1435|   233k|    relaxed_t* relaxed() const { return relaxed_; }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjDpOT0_:
 1686|   233k|    {
 1687|   233k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 233k, False: 0]
  ------------------
 1688|   233k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 62.6k, False: 170k]
  ------------------
 1689|   233k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|   233k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjmDpOT0_:
 1698|   233k|    {
 1699|   233k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|   233k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjmDpOT0_:
 1717|   233k|    {
 1718|   233k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 233k, False: 0]
  ------------------
 1719|   233k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 62.6k, False: 170k]
  |  Branch (1719:9): [True: 233k, False: 0]
  ------------------
 1720|   233k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   233k|        auto child     = node_->inner()[offset_hint];
 1722|   233k|        auto is_leaf   = shift_ == BL;
 1723|   233k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   233k|        auto next_idx  = idx - left_size_hint;
 1725|   233k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 41.0k, False: 192k]
  ------------------
 1726|   233k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  41.0k|                         .visit(v, next_idx, args...)
 1728|   233k|                   : visit_maybe_relaxed_sub(
 1729|   192k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   233k|    }
flex-vector.cpp:_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  144|  41.0k|    {
  145|  41.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  41.0k|    }
flex-vector.cpp:_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1036|  55.9k|    {
 1037|  55.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  55.9k|    }
flex-vector.cpp:_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
  938|  55.9k|    {
  939|  55.9k|        return towards_oh_ch_regular(
  940|  55.9k|            *this, v, idx, offset_hint, count(), args...);
  941|  55.9k|    }
flex-vector.cpp:_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14update_visitorISD_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcOSL_T0_mjjDpOT1_:
  632|  55.9k|{
  633|  55.9k|    constexpr auto B  = bits<Pos>;
  634|  55.9k|    constexpr auto BL = bits_leaf<Pos>;
  635|  55.9k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 55.9k, False: 0]
  ------------------
  636|  55.9k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 55.9k, False: 0]
  ------------------
  637|  55.9k|    auto is_leaf = p.shift() == BL;
  638|  55.9k|    auto child   = p.node()->inner()[offset_hint];
  639|  55.9k|    auto is_full = offset_hint + 1 != count_hint;
  640|  55.9k|    return is_full
  ------------------
  |  Branch (640:12): [True: 32.1k, False: 23.7k]
  ------------------
  641|  55.9k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 20.3k, False: 11.8k]
  ------------------
  642|  32.1k|                          : make_full_pos(child, p.shift() - B)
  643|  11.8k|                                .visit(v, idx, args...))
  644|  55.9k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 21.2k, False: 2.49k]
  ------------------
  645|  23.7k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  23.7k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  2.49k|                            .visit(v, idx, args...));
  648|  55.9k|}
flex-vector.cpp:_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  207|  34.0k|    {
  208|  34.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  34.0k|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  202|   469k|    count_t index(size_t idx) const { return idx & mask<BL>; }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
 1405|  19.2k|    {
 1406|  19.2k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  19.2k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1162|  2.16M|    count_t index(size_t idx) const { return (idx >> shift_) & mask<B>; }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
 1329|  19.2k|    {
 1330|  19.2k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  19.2k|    }
flex-vector.cpp:_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjDpOT0_:
 1336|  19.2k|    {
 1337|  19.2k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 19.2k, False: 0]
  ------------------
 1338|  19.2k|        auto is_leaf = shift_ == BL;
 1339|  19.2k|        auto child   = node_->inner()[offset_hint];
 1340|  19.2k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 12.8k, False: 6.44k]
  ------------------
 1341|  19.2k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  19.2k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  19.2k|    }
flex-vector.cpp:_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  112|  21.9k|    {
  113|  21.9k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  21.9k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14update_visitorISC_EEJRmRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcSL_DpOT0_:
  336|  2.92k|    {
  337|  2.92k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.92k|    }
flex-vector.cpp:_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_14update_visitorISC_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSK_E_EEEDcSK_mjjDpOT0_:
  316|  2.92k|    {
  317|  2.92k|        return towards_oh_ch_regular(
  318|  2.92k|            *this, v, idx, offset_hint, count(), args...);
  319|  2.92k|    }
flex-vector.cpp:_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14update_visitorISD_EEJRZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSL_E_EEEDcOSL_T0_mjjDpOT1_:
  632|  2.92k|{
  633|  2.92k|    constexpr auto B  = bits<Pos>;
  634|  2.92k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.92k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.92k, False: 0]
  ------------------
  636|  2.92k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.92k, False: 0]
  ------------------
  637|  2.92k|    auto is_leaf = p.shift() == BL;
  638|  2.92k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.92k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.92k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.82k, False: 1.09k]
  ------------------
  641|  2.92k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 866, False: 962]
  ------------------
  642|  1.82k|                          : make_full_pos(child, p.shift() - B)
  643|    962|                                .visit(v, idx, args...))
  644|  2.92k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 666, False: 433]
  ------------------
  645|  1.09k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.09k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    433|                            .visit(v, idx, args...));
  648|  2.92k|}
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  48.0k|{
 1839|  48.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 48.0k, False: 0]
  ------------------
 1840|  48.0k|    auto relaxed = node->relaxed();
 1841|  48.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 41.5k, False: 6.48k]
  ------------------
 1842|  41.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 41.5k, False: 0]
  ------------------
 1843|  41.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  41.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  41.5k|    } else {
 1846|  6.48k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.48k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.48k|    }
 1849|  48.0k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  41.5k|    {
 1814|  41.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  41.5k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1686|  31.8k|    {
 1687|  31.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 31.8k, False: 0]
  ------------------
 1688|  31.8k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 31.8k]
  ------------------
 1689|  31.8k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  31.8k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1698|  31.8k|    {
 1699|  31.8k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  31.8k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1717|  31.8k|    {
 1718|  31.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 31.8k, False: 0]
  ------------------
 1719|  31.8k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 31.8k]
  |  Branch (1719:9): [True: 31.8k, False: 0]
  ------------------
 1720|  31.8k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  31.8k|        auto child     = node_->inner()[offset_hint];
 1722|  31.8k|        auto is_leaf   = shift_ == BL;
 1723|  31.8k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  31.8k|        auto next_idx  = idx - left_size_hint;
 1725|  31.8k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 2.21k, False: 29.6k]
  ------------------
 1726|  31.8k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  2.21k|                         .visit(v, next_idx, args...)
 1728|  31.8k|                   : visit_maybe_relaxed_sub(
 1729|  29.6k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  31.8k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  144|  2.21k|    {
  145|  2.21k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.21k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1686|  22.4k|    {
 1687|  22.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 22.4k, False: 0]
  ------------------
 1688|  22.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 15.0k, False: 7.37k]
  ------------------
 1689|  22.4k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  22.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1698|  22.4k|    {
 1699|  22.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  22.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1717|  22.4k|    {
 1718|  22.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 22.4k, False: 0]
  ------------------
 1719|  22.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 15.0k, False: 7.37k]
  |  Branch (1719:9): [True: 22.4k, False: 0]
  ------------------
 1720|  22.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  22.4k|        auto child     = node_->inner()[offset_hint];
 1722|  22.4k|        auto is_leaf   = shift_ == BL;
 1723|  22.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  22.4k|        auto next_idx  = idx - left_size_hint;
 1725|  22.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 6.10k, False: 16.3k]
  ------------------
 1726|  22.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  6.10k|                         .visit(v, next_idx, args...)
 1728|  22.4k|                   : visit_maybe_relaxed_sub(
 1729|  16.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  22.4k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  144|  6.10k|    {
  145|  6.10k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  6.10k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  16.3k|{
 1839|  16.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 16.3k, False: 0]
  ------------------
 1840|  16.3k|    auto relaxed = node->relaxed();
 1841|  16.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.6k, False: 3.62k]
  ------------------
 1842|  12.6k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.6k, False: 0]
  ------------------
 1843|  12.6k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.6k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.6k|    } else {
 1846|  3.62k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.62k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.62k|    }
 1849|  16.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  12.6k|    {
 1814|  12.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  12.6k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1036|  3.62k|    {
 1037|  3.62k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.62k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  927|  6.61k|    {
  928|  6.61k|        return towards_oh_ch_regular(
  929|  6.61k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.61k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb0EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  6.61k|{
  633|  6.61k|    constexpr auto B  = bits<Pos>;
  634|  6.61k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.61k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.61k, False: 0]
  ------------------
  636|  6.61k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.61k, False: 0]
  ------------------
  637|  6.61k|    auto is_leaf = p.shift() == BL;
  638|  6.61k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.61k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.61k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.46k, False: 4.15k]
  ------------------
  641|  6.61k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.64k, False: 816]
  ------------------
  642|  2.46k|                          : make_full_pos(child, p.shift() - B)
  643|    816|                                .visit(v, idx, args...))
  644|  6.61k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 967, False: 3.18k]
  ------------------
  645|  4.15k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  4.15k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  3.18k|                            .visit(v, idx, args...));
  648|  6.61k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  207|  5.74k|    {
  208|  5.74k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.74k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1405|  2.18k|    {
 1406|  2.18k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.18k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1336|  3.62k|    {
 1337|  3.62k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.62k, False: 0]
  ------------------
 1338|  3.62k|        auto is_leaf = shift_ == BL;
 1339|  3.62k|        auto child   = node_->inner()[offset_hint];
 1340|  3.62k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 2.54k, False: 1.07k]
  ------------------
 1341|  3.62k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.62k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.62k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1161|   150k|    shift_t shift() const { return shift_; }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  112|  2.31k|    {
  113|  2.31k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.31k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  336|  4.56k|    {
  337|  4.56k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  4.56k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  305|  4.56k|    {
  306|  4.56k|        return towards_oh_ch_regular(
  307|  4.56k|            *this, v, idx, offset_hint, count(), args...);
  308|  4.56k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb0EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  4.56k|{
  633|  4.56k|    constexpr auto B  = bits<Pos>;
  634|  4.56k|    constexpr auto BL = bits_leaf<Pos>;
  635|  4.56k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 4.56k, False: 0]
  ------------------
  636|  4.56k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 4.56k, False: 0]
  ------------------
  637|  4.56k|    auto is_leaf = p.shift() == BL;
  638|  4.56k|    auto child   = p.node()->inner()[offset_hint];
  639|  4.56k|    auto is_full = offset_hint + 1 != count_hint;
  640|  4.56k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.84k, False: 2.72k]
  ------------------
  641|  4.56k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.54k, False: 292]
  ------------------
  642|  1.84k|                          : make_full_pos(child, p.shift() - B)
  643|    292|                                .visit(v, idx, args...))
  644|  4.56k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.34k, False: 1.37k]
  ------------------
  645|  2.72k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.72k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.37k|                            .visit(v, idx, args...));
  648|  4.56k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1036|  6.48k|    {
 1037|  6.48k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.48k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
  927|  3.49k|    {
  928|  3.49k|        return towards_oh_ch_regular(
  929|  3.49k|            *this, v, idx, offset_hint, count(), args...);
  930|  3.49k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_19slice_right_visitorISD_Lb1EEEJEEEDcOT_T0_mjjDpOT1_:
  632|  3.49k|{
  633|  3.49k|    constexpr auto B  = bits<Pos>;
  634|  3.49k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.49k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.49k, False: 0]
  ------------------
  636|  3.49k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.49k, False: 0]
  ------------------
  637|  3.49k|    auto is_leaf = p.shift() == BL;
  638|  3.49k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.49k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.49k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.73k, False: 762]
  ------------------
  641|  3.49k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 724, False: 2.00k]
  ------------------
  642|  2.73k|                          : make_full_pos(child, p.shift() - B)
  643|  2.00k|                                .visit(v, idx, args...))
  644|  3.49k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 762, False: 0]
  ------------------
  645|    762|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    762|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  3.49k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  207|  1.29k|    {
  208|  1.29k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.29k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1405|  2.74k|    {
 1406|  2.74k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.74k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_19slice_right_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1336|  1.31k|    {
 1337|  1.31k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.31k, False: 0]
  ------------------
 1338|  1.31k|        auto is_leaf = shift_ == BL;
 1339|  1.31k|        auto child   = node_->inner()[offset_hint];
 1340|  1.31k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 570, False: 743]
  ------------------
 1341|  1.31k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.31k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.31k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  112|    762|    {
  113|    762|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    762|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  22.3k|{
 1839|  22.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.3k, False: 0]
  ------------------
 1840|  22.3k|    auto relaxed = node->relaxed();
 1841|  22.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 15.6k, False: 6.77k]
  ------------------
 1842|  15.6k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 15.6k, False: 0]
  ------------------
 1843|  15.6k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  15.6k|            .visit(v, std::forward<Args>(args)...);
 1845|  15.6k|    } else {
 1846|  6.77k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.77k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.77k|    }
 1849|  22.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  15.6k|    {
 1814|  15.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  15.6k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1434|  10.5M|    count_t subindex(size_t idx) const { return index(idx); }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1705|  4.35k|    {
 1706|  4.35k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.35k, False: 0]
  ------------------
 1707|  4.35k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.35k, False: 1.00k]
  ------------------
 1708|  4.35k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.35k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjmDpOT0_:
 1717|  4.35k|    {
 1718|  4.35k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.35k, False: 0]
  ------------------
 1719|  4.35k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.35k, False: 1.00k]
  |  Branch (1719:9): [True: 4.35k, False: 0]
  ------------------
 1720|  4.35k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.35k|        auto child     = node_->inner()[offset_hint];
 1722|  4.35k|        auto is_leaf   = shift_ == BL;
 1723|  4.35k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.35k|        auto next_idx  = idx - left_size_hint;
 1725|  4.35k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.35k]
  ------------------
 1726|  4.35k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.35k|                   : visit_maybe_relaxed_sub(
 1729|  4.35k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.35k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1705|  62.4k|    {
 1706|  62.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 62.4k, False: 0]
  ------------------
 1707|  62.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 16.9k, False: 45.5k]
  ------------------
 1708|  62.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  62.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjmDpOT0_:
 1717|  62.4k|    {
 1718|  62.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 62.4k, False: 0]
  ------------------
 1719|  62.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 16.9k, False: 45.5k]
  |  Branch (1719:9): [True: 62.4k, False: 0]
  ------------------
 1720|  62.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  62.4k|        auto child     = node_->inner()[offset_hint];
 1722|  62.4k|        auto is_leaf   = shift_ == BL;
 1723|  62.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  62.4k|        auto next_idx  = idx - left_size_hint;
 1725|  62.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 9.31k, False: 53.1k]
  ------------------
 1726|  62.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  9.31k|                         .visit(v, next_idx, args...)
 1728|  62.4k|                   : visit_maybe_relaxed_sub(
 1729|  53.1k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  62.4k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  144|  9.31k|    {
  145|  9.31k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.31k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  53.1k|{
 1839|  53.1k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 53.1k, False: 0]
  ------------------
 1840|  53.1k|    auto relaxed = node->relaxed();
 1841|  53.1k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 51.1k, False: 1.95k]
  ------------------
 1842|  51.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 51.1k, False: 0]
  ------------------
 1843|  51.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  51.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  51.1k|    } else {
 1846|  1.95k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.95k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.95k|    }
 1849|  53.1k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  51.1k|    {
 1814|  51.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  51.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1036|  1.95k|    {
 1037|  1.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.95k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
  791|   192k|    {
  792|   192k|        return size_t{offset} << shift_;
  793|   192k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
  803|  25.9k|    {
  804|  25.9k|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (804:9): [True: 25.9k, False: 0]
  ------------------
  805|  25.9k|        return offset == subindex(size_ - 1) ? size_ - size_before_hint
  ------------------
  |  Branch (805:16): [True: 14.6k, False: 11.2k]
  ------------------
  806|  25.9k|                                             : size_t{1} << shift_;
  807|  25.9k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
  946|  7.52k|    {
  947|  7.52k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  7.52k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18slice_left_visitorISD_Lb0EEEJEEEDcOT_T0_mjDpOT1_:
  653|  7.52k|{
  654|  7.52k|    constexpr auto B  = bits<Pos>;
  655|  7.52k|    constexpr auto BL = bits_leaf<Pos>;
  656|  7.52k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 7.52k, False: 0]
  ------------------
  657|  7.52k|    auto is_leaf = p.shift() == BL;
  658|  7.52k|    auto child   = p.node()->inner()[offset_hint];
  659|  7.52k|    auto lsize   = offset_hint << p.shift();
  660|  7.52k|    auto size    = p.this_size();
  661|  7.52k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  7.52k|    return is_full
  ------------------
  |  Branch (662:12): [True: 7.52k, False: 0]
  ------------------
  663|  7.52k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 4.48k, False: 3.04k]
  ------------------
  664|  7.52k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  7.52k|                      : make_full_pos(child, p.shift() - B)
  666|  3.04k|                            .visit(v, idx - lsize, args...))
  667|  7.52k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  7.52k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9this_sizeEv:
  794|  25.9k|    size_t this_size() const { return size_; }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJmEEEDcT_DpOT0_:
  207|  8.72k|    {
  208|  8.72k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  8.72k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJmEEEDcT_DpOT0_:
 1405|  5.24k|    {
 1406|  5.24k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  5.24k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1163|  18.0k|    count_t subindex(size_t idx) const { return idx >> shift_; }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1170|  42.0k|    {
 1171|  42.0k|        return size_t{offset} << shift_;
 1172|  42.0k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1166|  18.0k|    {
 1167|  18.0k|        return size_t{1} << shift_;
 1168|  18.0k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb0EEEJEEEDcT_mjDpOT0_:
 1348|  6.44k|    {
 1349|  6.44k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 6.44k, False: 0]
  ------------------
 1350|  6.44k|        auto is_leaf = shift_ == BL;
 1351|  6.44k|        auto child   = node_->inner()[offset_hint];
 1352|  6.44k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  6.44k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 4.24k, False: 2.19k]
  ------------------
 1354|  6.44k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  6.44k|                   : make_full_pos(child, shift_ - B)
 1356|  2.19k|                         .visit(v, idx - lsize, args...);
 1357|  6.44k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1175|  15.9k|    {
 1176|  15.9k|        auto e = sizes + n;
 1177|  40.0k|        for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (1177:16): [True: 24.1k, False: 15.9k]
  ------------------
 1178|  24.1k|            init = *sizes = init + (size_t{1} << shift_);
 1179|       |            assert(init);
  ------------------
  |  Branch (1179:13): [True: 24.1k, False: 0]
  ------------------
 1180|  24.1k|        }
 1181|  15.9k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1160|   712k|    size_t size() const { return branches<B, size_t> << shift_; }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
  810|   223k|    {
  811|   223k|        if (n) {
  ------------------
  |  Branch (811:13): [True: 218k, False: 4.83k]
  ------------------
  812|   218k|            auto last = offset + n - 1;
  813|   218k|            auto e    = sizes + n - 1;
  814|   434k|            for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (814:20): [True: 215k, False: 218k]
  ------------------
  815|   215k|                init = *sizes = init + (size_t{1} << shift_);
  816|   215k|                assert(init);
  ------------------
  |  Branch (816:17): [True: 215k, False: 0]
  ------------------
  817|   215k|            }
  818|   218k|            *sizes = init + size(last);
  819|       |            assert(*sizes);
  ------------------
  |  Branch (819:13): [True: 218k, False: 0]
  ------------------
  820|   218k|        }
  821|   223k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
  797|   235k|    {
  798|   235k|        return offset == subindex(size_ - 1) ? size_ - size_before(offset)
  ------------------
  |  Branch (798:16): [True: 119k, False: 115k]
  ------------------
  799|   235k|                                             : size_t{1} << shift_;
  800|   235k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1462|  4.12M|    {
 1463|  4.12M|        auto e     = sizes + n;
 1464|  4.12M|        auto prev  = size_before(offset);
 1465|  4.12M|        auto these = relaxed_->d.sizes + offset;
 1466|  11.7M|        for (; sizes != e; ++sizes, ++these) {
  ------------------
  |  Branch (1466:16): [True: 7.63M, False: 4.12M]
  ------------------
 1467|  7.63M|            auto this_size = *these;
 1468|  7.63M|            init = *sizes = init + (this_size - prev);
 1469|  7.63M|            assert(init);
  ------------------
  |  Branch (1469:13): [True: 7.63M, False: 0]
  ------------------
 1470|  7.63M|            prev = this_size;
 1471|  7.63M|        }
 1472|  4.12M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1036|  6.77k|    {
 1037|  6.77k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.77k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
  946|  3.47k|    {
  947|  3.47k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.47k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18slice_left_visitorISD_Lb1EEEJEEEDcOT_T0_mjDpOT1_:
  653|  3.47k|{
  654|  3.47k|    constexpr auto B  = bits<Pos>;
  655|  3.47k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.47k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.47k, False: 0]
  ------------------
  657|  3.47k|    auto is_leaf = p.shift() == BL;
  658|  3.47k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.47k|    auto lsize   = offset_hint << p.shift();
  660|  3.47k|    auto size    = p.this_size();
  661|  3.47k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.47k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.20k, False: 2.27k]
  ------------------
  663|  3.47k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.20k]
  ------------------
  664|  1.20k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.20k|                      : make_full_pos(child, p.shift() - B)
  666|  1.20k|                            .visit(v, idx - lsize, args...))
  667|  3.47k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 2.27k]
  ------------------
  668|  2.27k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  2.27k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  2.27k|                            .visit(v, idx - lsize, args...));
  672|  3.47k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJmEEEDcT_DpOT0_:
 1405|  1.47k|    {
 1406|  1.47k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.47k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_18slice_left_visitorISC_Lb1EEEJEEEDcT_mjDpOT0_:
 1348|    272|    {
 1349|    272|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 272, False: 0]
  ------------------
 1350|    272|        auto is_leaf = shift_ == BL;
 1351|    272|        auto child   = node_->inner()[offset_hint];
 1352|    272|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    272|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 272]
  ------------------
 1354|    272|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    272|                   : make_full_pos(child, shift_ - B)
 1356|    272|                         .visit(v, idx - lsize, args...);
 1357|    272|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb1EEEJmEEEDcT_DpOT0_:
 1036|  2.27k|    {
 1037|  2.27k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.27k|    }
_ZN5immer6detail4rbts30make_singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaPT_j:
  766|  7.58k|{
  767|  7.58k|    assert(leaf);
  ------------------
  |  Branch (767:5): [True: 7.58k, False: 0]
  ------------------
  768|  7.58k|    IMMER_ASSERT_TAGGED(leaf->kind() == NodeT::kind_t::leaf);
  ------------------
  |  |   68|  7.58k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (768:5): [True: 7.58k, False: 0]
  ------------------
  769|  7.58k|    assert(count > 0);
  ------------------
  |  Branch (769:5): [True: 7.58k, False: 0]
  ------------------
  770|  7.58k|    return singleton_regular_sub_pos<NodeT>{leaf, count};
  771|  7.58k|}
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_14empty_leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
  759|  7.58k|    {
  760|  7.58k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  761|  7.58k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  7.58k|{
 1839|  7.58k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 7.58k, False: 0]
  ------------------
 1840|  7.58k|    auto relaxed = node->relaxed();
 1841|  7.58k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 5.46k, False: 2.12k]
  ------------------
 1842|  5.46k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 5.46k, False: 0]
  ------------------
 1843|  5.46k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  5.46k|            .visit(v, std::forward<Args>(args)...);
 1845|  5.46k|    } else {
 1846|  2.12k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.12k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.12k|    }
 1849|  7.58k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  5.46k|    {
 1814|  5.46k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.46k|    }
_ZNK5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  735|  24.9k|    shift_t shift() const { return BL; }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  744|  7.58k|    {
  745|  7.58k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
  144|  2.28M|    {
  145|  2.28M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.28M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1813|  18.7M|    {
 1814|  18.7M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  18.7M|    }
_ZN5immer6detail4rbts12null_sub_pos14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  707|  2.23M|    {
  708|  2.23M|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  744|  7.58k|    {
  745|  7.58k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
  144|  2.28M|    {
  145|  2.28M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.28M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  137|  2.28M|    size_t size() const { return count_; }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1813|  18.7M|    {
 1814|  18.7M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  18.7M|    }
_ZN5immer6detail4rbts12null_sub_pos14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEEvT_DpOT0_:
  707|  2.23M|    {
  708|  2.23M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1762|  16.2k|    {
 1763|  16.2k|        auto child      = node_->inner()[0];
 1764|  16.2k|        auto child_size = relaxed_->d.sizes[0];
 1765|  16.2k|        auto is_leaf    = shift_ == BL;
 1766|  16.2k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 16.2k, False: 0]
  ------------------
 1767|  16.2k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 16.2k]
  ------------------
 1768|  16.2k|                       : visit_maybe_relaxed_sub(
 1769|  16.2k|                             child, shift_ - B, child_size, v, args...);
 1770|  16.2k|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
   76|  7.58k|    shift_t shift() const { return 0; }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  138|  1.86M|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  16.2k|{
 1839|  16.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 16.2k, False: 0]
  ------------------
 1840|  16.2k|    auto relaxed = node->relaxed();
 1841|  16.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 15.9k, False: 348]
  ------------------
 1842|  15.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 15.9k, False: 0]
  ------------------
 1843|  15.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  15.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  15.9k|    } else {
 1846|    348|        return make_regular_sub_pos(node, shift, size)
 1847|    348|            .visit(v, std::forward<Args>(args)...);
 1848|    348|    }
 1849|  16.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  15.9k|    {
 1814|  15.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  15.9k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1036|    348|    {
 1037|    348|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    348|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  970|    743|    {
  971|    743|        auto is_leaf = shift_ == BL;
  972|    743|        auto child   = node_->inner()[0];
  973|    743|        auto is_full = size_ >= (size_t{1} << shift_);
  974|    743|        return is_full
  ------------------
  |  Branch (974:16): [True: 743, False: 0]
  ------------------
  975|    743|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 743]
  ------------------
  976|    743|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|    743|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|    743|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|    743|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  201|   122k|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1405|  1.07k|    {
 1406|  1.07k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.07k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1361|    334|    {
 1362|    334|        auto is_leaf = shift_ == BL;
 1363|    334|        auto child   = node_->inner()[0];
 1364|    334|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 334]
  ------------------
 1365|    334|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    334|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  711|   113k|    {
  712|   113k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1304|   109k|    {
 1305|   109k|        each_i(v, 1, branches<B>, args...);
 1306|   109k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jjDpOT0_:
 1263|   109k|    {
 1264|   109k|        auto p = node_->inner() + i;
 1265|   109k|        auto e = node_->inner() + n;
 1266|   109k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 51.4k, False: 58.5k]
  ------------------
 1267|   205k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 154k, False: 51.4k]
  ------------------
 1268|   154k|                IMMER_PREFETCH(p + 1);
 1269|   154k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   154k|            }
 1271|  58.5k|        } else {
 1272|  58.5k|            auto ss = shift_ - B;
 1273|   234k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 175k, False: 58.5k]
  ------------------
 1274|   175k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  58.5k|        }
 1276|   109k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
  207|   960k|    {
  208|   960k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   960k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1405|   706k|    {
 1406|   706k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   706k|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEEvT_DpOT0_:
  711|   113k|    {
  712|   113k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1304|   109k|    {
 1305|   109k|        each_i(v, 1, branches<B>, args...);
 1306|   109k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jjDpOT0_:
 1263|   109k|    {
 1264|   109k|        auto p = node_->inner() + i;
 1265|   109k|        auto e = node_->inner() + n;
 1266|   109k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 51.4k, False: 58.5k]
  ------------------
 1267|   205k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 154k, False: 51.4k]
  ------------------
 1268|   154k|                IMMER_PREFETCH(p + 1);
 1269|   154k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   154k|            }
 1271|  58.5k|        } else {
 1272|  58.5k|            auto ss = shift_ - B;
 1273|   234k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 175k, False: 58.5k]
  ------------------
 1274|   175k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  58.5k|        }
 1276|   109k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
  207|   960k|    {
  208|   960k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   960k|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  200|   960k|    size_t size() const { return branches<BL>; }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1405|   706k|    {
 1406|   706k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   706k|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  753|    743|    {
  754|    743|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|    743|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  144|    743|    {
  145|    743|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    743|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1370|    743|    {
 1371|    743|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 743, False: 0]
  ------------------
 1372|    743|        auto child = node_->inner()[0];
 1373|    743|        return make_full_leaf_pos(child).visit(v, args...);
 1374|    743|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  207|  2.46k|    {
  208|  2.46k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  2.46k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  906|   122k|    {
  907|   122k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 113k, False: 9.04k]
  ------------------
  908|   113k|            each_right_sub_(v, 1, args...);
  909|   122k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15each_right_sub_INS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
  879|   113k|    {
  880|   113k|        auto last  = count() - 1;
  881|   113k|        auto lsize = size_ - (last << shift_);
  882|   113k|        auto n     = node()->inner() + i;
  883|   113k|        auto e     = node()->inner() + last;
  884|   113k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 61.6k, False: 51.4k]
  ------------------
  885|   182k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 120k, False: 61.6k]
  ------------------
  886|   120k|                IMMER_PREFETCH(n + 1);
  887|   120k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   120k|            }
  889|  61.6k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  61.6k|        } else {
  891|  51.4k|            auto ss = shift_ - B;
  892|   136k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 85.2k, False: 51.4k]
  ------------------
  893|  85.2k|                make_full_pos(*n, ss).visit(v, args...);
  894|  51.4k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  51.4k|        }
  896|   113k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcT_DpOT0_:
 1036|   620k|    {
 1037|   620k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   620k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  906|   122k|    {
  907|   122k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 113k, False: 9.04k]
  ------------------
  908|   113k|            each_right_sub_(v, 1, args...);
  909|   122k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15each_right_sub_INS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
  879|   113k|    {
  880|   113k|        auto last  = count() - 1;
  881|   113k|        auto lsize = size_ - (last << shift_);
  882|   113k|        auto n     = node()->inner() + i;
  883|   113k|        auto e     = node()->inner() + last;
  884|   113k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 61.6k, False: 51.4k]
  ------------------
  885|   182k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 120k, False: 61.6k]
  ------------------
  886|   120k|                IMMER_PREFETCH(n + 1);
  887|   120k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   120k|            }
  889|  61.6k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  61.6k|        } else {
  891|  51.4k|            auto ss = shift_ - B;
  892|   136k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 85.2k, False: 51.4k]
  ------------------
  893|  85.2k|                make_full_pos(*n, ss).visit(v, args...);
  894|  51.4k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  51.4k|        }
  896|   113k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcT_DpOT0_:
 1036|   620k|    {
 1037|   620k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   620k|    }
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  753|  1.72k|    {
  754|  1.72k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  1.72k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  144|  1.72k|    {
  145|  1.72k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.72k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  986|  1.72k|    {
  987|  1.72k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 1.72k, False: 0]
  ------------------
  988|  1.72k|        auto child   = node_->inner()[0];
  989|  1.72k|        auto is_full = size_ >= branches<BL>;
  990|  1.72k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 1.72k, False: 0]
  ------------------
  991|  1.72k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  1.72k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
  144|  5.11k|    {
  145|  5.11k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.11k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1647|  2.75M|    {
 1648|  2.75M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  2.75M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
 1653|  2.75M|    {
 1654|  2.75M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 2.75M, False: 0]
  ------------------
 1655|  2.75M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 2.75M, False: 0]
  ------------------
 1656|  2.75M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  2.75M|        auto p = node_->inner();
 1658|  2.75M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 375k, False: 2.38M]
  ------------------
 1659|   925k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 550k, False: 375k]
  ------------------
 1660|   550k|                IMMER_PREFETCH(p + i + 1);
 1661|   550k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   550k|                    .visit(v, args...);
 1663|   550k|                s = relaxed_->d.sizes[i];
 1664|   550k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 550k, False: 0]
  ------------------
 1665|   550k|            }
 1666|  2.38M|        } else {
 1667|  2.38M|            auto ss = shift_ - B;
 1668|  8.12M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 5.74M, False: 2.38M]
  ------------------
 1669|  5.74M|                visit_maybe_relaxed_sub(
 1670|  5.74M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  5.74M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 5.74M, False: 0]
  ------------------
 1673|  5.74M|            }
 1674|  2.38M|        }
 1675|  2.75M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEDcPT_jmT0_DpOT1_:
 1838|  12.1M|{
 1839|  12.1M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 12.1M, False: 0]
  ------------------
 1840|  12.1M|    auto relaxed = node->relaxed();
 1841|  12.1M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.5M, False: 568k]
  ------------------
 1842|  11.5M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.5M, False: 0]
  ------------------
 1843|  11.5M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.5M|            .visit(v, std::forward<Args>(args)...);
 1845|  11.5M|    } else {
 1846|   568k|        return make_regular_sub_pos(node, shift, size)
 1847|   568k|            .visit(v, std::forward<Args>(args)...);
 1848|   568k|    }
 1849|  12.1M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14each_right_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1647|  2.75M|    {
 1648|  2.75M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  2.75M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
 1653|  2.75M|    {
 1654|  2.75M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 2.75M, False: 0]
  ------------------
 1655|  2.75M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 2.75M, False: 0]
  ------------------
 1656|  2.75M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  2.75M|        auto p = node_->inner();
 1658|  2.75M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 375k, False: 2.38M]
  ------------------
 1659|   925k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 550k, False: 375k]
  ------------------
 1660|   550k|                IMMER_PREFETCH(p + i + 1);
 1661|   550k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   550k|                    .visit(v, args...);
 1663|   550k|                s = relaxed_->d.sizes[i];
 1664|   550k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 550k, False: 0]
  ------------------
 1665|   550k|            }
 1666|  2.38M|        } else {
 1667|  2.38M|            auto ss = shift_ - B;
 1668|  8.12M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 5.74M, False: 2.38M]
  ------------------
 1669|  5.74M|                visit_maybe_relaxed_sub(
 1670|  5.74M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  5.74M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 5.74M, False: 0]
  ------------------
 1673|  5.74M|            }
 1674|  2.38M|        }
 1675|  2.75M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  12.1M|{
 1839|  12.1M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 12.1M, False: 0]
  ------------------
 1840|  12.1M|    auto relaxed = node->relaxed();
 1841|  12.1M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.5M, False: 568k]
  ------------------
 1842|  11.5M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.5M, False: 0]
  ------------------
 1843|  11.5M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.5M|            .visit(v, std::forward<Args>(args)...);
 1845|  11.5M|    } else {
 1846|   568k|        return make_regular_sub_pos(node, shift, size)
 1847|   568k|            .visit(v, std::forward<Args>(args)...);
 1848|   568k|    }
 1849|  12.1M|}
_ZN5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  753|  5.11k|    {
  754|  5.11k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  5.11k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_14empty_leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  144|  5.11k|    {
  145|  5.11k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.11k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1774|  5.11k|    {
 1775|  5.11k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 5.11k, False: 0]
  ------------------
 1776|  5.11k|        auto child      = node_->inner()[0];
 1777|  5.11k|        auto child_size = relaxed_->d.sizes[0];
 1778|  5.11k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|  5.11k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_25singleton_regular_sub_posISC_EERNS1_14empty_leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  2.12k|    {
 1037|  2.12k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.12k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcPT_jmT0_DpOT1_:
 1838|   490k|{
 1839|   490k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 490k, False: 0]
  ------------------
 1840|   490k|    auto relaxed = node->relaxed();
 1841|   490k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 475k, False: 14.4k]
  ------------------
 1842|   475k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 475k, False: 0]
  ------------------
 1843|   475k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   475k|            .visit(v, std::forward<Args>(args)...);
 1845|   475k|    } else {
 1846|  14.4k|        return make_regular_sub_pos(node, shift, size)
 1847|  14.4k|            .visit(v, std::forward<Args>(args)...);
 1848|  14.4k|    }
 1849|   490k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
 1813|   475k|    {
 1814|   475k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   475k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|   475k|{
 1839|   475k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 475k, False: 0]
  ------------------
 1840|   475k|    auto relaxed = node->relaxed();
 1841|   475k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 459k, False: 16.3k]
  ------------------
 1842|   459k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 459k, False: 0]
  ------------------
 1843|   459k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   459k|            .visit(v, std::forward<Args>(args)...);
 1845|   459k|    } else {
 1846|  16.3k|        return make_regular_sub_pos(node, shift, size)
 1847|  16.3k|            .visit(v, std::forward<Args>(args)...);
 1848|  16.3k|    }
 1849|   475k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|   459k|    {
 1814|   459k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   459k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1750|  2.16M|    {
 1751|  2.16M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.16M|        auto child      = node_->inner()[offset];
 1753|  2.16M|        auto child_size = size(offset);
 1754|  2.16M|        auto is_leaf    = shift_ == BL;
 1755|  2.16M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 2.16M]
  ------------------
 1756|  2.16M|                       : visit_maybe_relaxed_sub(
 1757|  2.16M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.16M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  2.16M|{
 1839|  2.16M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.16M, False: 0]
  ------------------
 1840|  2.16M|    auto relaxed = node->relaxed();
 1841|  2.16M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.16M, False: 1.78k]
  ------------------
 1842|  2.16M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.16M, False: 0]
  ------------------
 1843|  2.16M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.16M|            .visit(v, std::forward<Args>(args)...);
 1845|  2.16M|    } else {
 1846|  1.78k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.78k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.78k|    }
 1849|  2.16M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1813|  2.16M|    {
 1814|  2.16M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.16M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
 1036|  4.94k|    {
 1037|  4.94k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.94k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  958|  3.15k|    {
  959|  3.15k|        auto offset  = count() - 1;
  960|  3.15k|        auto child   = node_->inner()[offset];
  961|  3.15k|        auto is_leaf = shift_ == BL;
  962|  3.15k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|  3.15k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 3.15k]
  ------------------
  964|  3.15k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  3.15k|                             .visit(v, args...);
  966|  3.15k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  913|   865k|    {
  914|   865k|        each_left(v, count() - 1, args...);
  915|   865k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
  873|   865k|    {
  874|   865k|        return each_left_regular(*this, v, last, args...);
  875|   865k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvOT_T0_jDpOT1_:
  575|   865k|{
  576|   865k|    constexpr auto B  = bits<Pos>;
  577|   865k|    constexpr auto BL = bits_leaf<Pos>;
  578|   865k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 865k, False: 0]
  ------------------
  579|   865k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 399k, False: 466k]
  ------------------
  580|   399k|        auto n = p.node()->inner();
  581|   399k|        auto e = n + last;
  582|  1.08M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 685k, False: 399k]
  ------------------
  583|   685k|            IMMER_PREFETCH(n + 1);
  584|   685k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   685k|        }
  586|   466k|    } else {
  587|   466k|        auto n  = p.node()->inner();
  588|   466k|        auto e  = n + last;
  589|   466k|        auto ss = p.shift() - B;
  590|   911k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 445k, False: 466k]
  ------------------
  591|   445k|            make_full_pos(*n, ss).visit(v, args...);
  592|   466k|    }
  593|   865k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
  913|   865k|    {
  914|   865k|        each_left(v, count() - 1, args...);
  915|   865k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
  873|   865k|    {
  874|   865k|        return each_left_regular(*this, v, last, args...);
  875|   865k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21concat_merger_visitorEJRNS1_13concat_mergerISD_EEEEEvOT_T0_jDpOT1_:
  575|   865k|{
  576|   865k|    constexpr auto B  = bits<Pos>;
  577|   865k|    constexpr auto BL = bits_leaf<Pos>;
  578|   865k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 865k, False: 0]
  ------------------
  579|   865k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 399k, False: 466k]
  ------------------
  580|   399k|        auto n = p.node()->inner();
  581|   399k|        auto e = n + last;
  582|  1.08M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 685k, False: 399k]
  ------------------
  583|   685k|            IMMER_PREFETCH(n + 1);
  584|   685k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   685k|        }
  586|   466k|    } else {
  587|   466k|        auto n  = p.node()->inner();
  588|   466k|        auto e  = n + last;
  589|   466k|        auto ss = p.shift() - B;
  590|   911k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 445k, False: 466k]
  ------------------
  591|   445k|            make_full_pos(*n, ss).visit(v, args...);
  592|   466k|    }
  593|   865k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1762|   751k|    {
 1763|   751k|        auto child      = node_->inner()[0];
 1764|   751k|        auto child_size = relaxed_->d.sizes[0];
 1765|   751k|        auto is_leaf    = shift_ == BL;
 1766|   751k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 751k, False: 0]
  ------------------
 1767|   751k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 751k]
  ------------------
 1768|   751k|                       : visit_maybe_relaxed_sub(
 1769|   751k|                             child, shift_ - B, child_size, v, args...);
 1770|   751k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  106|   490k|    shift_t shift() const { return 0; }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|   751k|{
 1839|   751k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 751k, False: 0]
  ------------------
 1840|   751k|    auto relaxed = node->relaxed();
 1841|   751k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 656k, False: 94.9k]
  ------------------
 1842|   656k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 656k, False: 0]
  ------------------
 1843|   656k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   656k|            .visit(v, std::forward<Args>(args)...);
 1845|   656k|    } else {
 1846|  94.9k|        return make_regular_sub_pos(node, shift, size)
 1847|  94.9k|            .visit(v, std::forward<Args>(args)...);
 1848|  94.9k|    }
 1849|   751k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|   656k|    {
 1814|   656k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   656k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  94.9k|    {
 1037|  94.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  94.9k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
  958|    777|    {
  959|    777|        auto offset  = count() - 1;
  960|    777|        auto child   = node_->inner()[offset];
  961|    777|        auto is_leaf = shift_ == BL;
  962|    777|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|    777|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 777]
  ------------------
  964|    777|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|    777|                             .visit(v, args...);
  966|    777|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1036|  1.15k|    {
 1037|  1.15k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.15k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  970|  49.3k|    {
  971|  49.3k|        auto is_leaf = shift_ == BL;
  972|  49.3k|        auto child   = node_->inner()[0];
  973|  49.3k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  49.3k|        return is_full
  ------------------
  |  Branch (974:16): [True: 49.3k, False: 0]
  ------------------
  975|  49.3k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 49.3k]
  ------------------
  976|  49.3k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  49.3k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  49.3k|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|  49.3k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1405|   106k|    {
 1406|   106k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   106k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1361|  57.6k|    {
 1362|  57.6k|        auto is_leaf = shift_ == BL;
 1363|  57.6k|        auto child   = node_->inner()[0];
 1364|  57.6k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 57.6k]
  ------------------
 1365|  57.6k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|  57.6k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  958|   106k|    {
  959|   106k|        auto offset  = count() - 1;
  960|   106k|        auto child   = node_->inner()[offset];
  961|   106k|        auto is_leaf = shift_ == BL;
  962|   106k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   106k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 49.5k, False: 57.1k]
  ------------------
  964|   106k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  57.1k|                             .visit(v, args...);
  966|   106k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
  144|  50.6k|    {
  145|  50.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  50.6k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1370|  50.6k|    {
 1371|  50.6k|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 50.6k, False: 0]
  ------------------
 1372|  50.6k|        auto child = node_->inner()[0];
 1373|  50.6k|        return make_full_leaf_pos(child).visit(v, args...);
 1374|  50.6k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  207|   119k|    {
  208|   119k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   119k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1036|  57.3k|    {
 1037|  57.3k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  57.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
  958|   102k|    {
  959|   102k|        auto offset  = count() - 1;
  960|   102k|        auto child   = node_->inner()[offset];
  961|   102k|        auto is_leaf = shift_ == BL;
  962|   102k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   102k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 64.7k, False: 37.5k]
  ------------------
  964|   102k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  37.5k|                             .visit(v, args...);
  966|   102k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
  144|  68.9k|    {
  145|  68.9k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  68.9k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  986|  68.9k|    {
  987|  68.9k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 68.9k, False: 0]
  ------------------
  988|  68.9k|        auto child   = node_->inner()[0];
  989|  68.9k|        auto is_full = size_ >= branches<BL>;
  990|  68.9k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 68.9k, False: 0]
  ------------------
  991|  68.9k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  68.9k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  144|   370k|    {
  145|   370k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   370k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1036|  48.7k|    {
 1037|  48.7k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  48.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  958|   652k|    {
  959|   652k|        auto offset  = count() - 1;
  960|   652k|        auto child   = node_->inner()[offset];
  961|   652k|        auto is_leaf = shift_ == BL;
  962|   652k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   652k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 285k, False: 367k]
  ------------------
  964|   652k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|   367k|                             .visit(v, args...);
  966|   652k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
  144|   370k|    {
  145|   370k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   370k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14first_sub_leafINS1_20concat_right_visitorISC_EEJRNS1_12leaf_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1774|   370k|    {
 1775|   370k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 370k, False: 0]
  ------------------
 1776|   370k|        auto child      = node_->inner()[0];
 1777|   370k|        auto child_size = relaxed_->d.sizes[0];
 1778|   370k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|   370k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcT_DpOT0_:
 1036|   738k|    {
 1037|   738k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   738k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
 1617|  4.23M|    {
 1618|  4.23M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.23M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_jDpOT0_:
 1623|  4.23M|    {
 1624|  4.23M|        auto p = node_->inner();
 1625|  4.23M|        auto s = size_t{};
 1626|  4.23M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 90.8k, False: 4.14M]
  ------------------
 1627|   273k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 182k, False: 90.8k]
  ------------------
 1628|   182k|                IMMER_PREFETCH(p + i + 1);
 1629|   182k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   182k|                    .visit(v, args...);
 1631|   182k|                s = relaxed_->d.sizes[i];
 1632|   182k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 182k, False: 0]
  ------------------
 1633|   182k|            }
 1634|  4.14M|        } else {
 1635|  4.14M|            auto ss = shift_ - B;
 1636|  10.5M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 6.41M, False: 4.14M]
  ------------------
 1637|  6.41M|                visit_maybe_relaxed_sub(
 1638|  6.41M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  6.41M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 6.41M, False: 0]
  ------------------
 1641|  6.41M|            }
 1642|  4.14M|        }
 1643|  4.23M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_left_subINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_DpOT0_:
 1617|  4.23M|    {
 1618|  4.23M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.23M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_21concat_merger_visitorEJRNS1_13concat_mergerISC_EEEEEvT_jDpOT0_:
 1623|  4.23M|    {
 1624|  4.23M|        auto p = node_->inner();
 1625|  4.23M|        auto s = size_t{};
 1626|  4.23M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 90.8k, False: 4.14M]
  ------------------
 1627|   273k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 182k, False: 90.8k]
  ------------------
 1628|   182k|                IMMER_PREFETCH(p + i + 1);
 1629|   182k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   182k|                    .visit(v, args...);
 1631|   182k|                s = relaxed_->d.sizes[i];
 1632|   182k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 182k, False: 0]
  ------------------
 1633|   182k|            }
 1634|  4.14M|        } else {
 1635|  4.14M|            auto ss = shift_ - B;
 1636|  10.5M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 6.41M, False: 4.14M]
  ------------------
 1637|  6.41M|                visit_maybe_relaxed_sub(
 1638|  6.41M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  6.41M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 6.41M, False: 0]
  ------------------
 1641|  6.41M|            }
 1642|  4.14M|        }
 1643|  4.23M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1762|  1.61M|    {
 1763|  1.61M|        auto child      = node_->inner()[0];
 1764|  1.61M|        auto child_size = relaxed_->d.sizes[0];
 1765|  1.61M|        auto is_leaf    = shift_ == BL;
 1766|  1.61M|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 1.61M, False: 0]
  ------------------
 1767|  1.61M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 1.61M]
  ------------------
 1768|  1.61M|                       : visit_maybe_relaxed_sub(
 1769|  1.61M|                             child, shift_ - B, child_size, v, args...);
 1770|  1.61M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  1.61M|{
 1839|  1.61M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.61M, False: 0]
  ------------------
 1840|  1.61M|    auto relaxed = node->relaxed();
 1841|  1.61M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.61M, False: 782]
  ------------------
 1842|  1.61M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.61M, False: 0]
  ------------------
 1843|  1.61M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.61M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.61M|    } else {
 1846|    782|        return make_regular_sub_pos(node, shift, size)
 1847|    782|            .visit(v, std::forward<Args>(args)...);
 1848|    782|    }
 1849|  1.61M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  1.61M|    {
 1814|  1.61M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.61M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|    782|    {
 1037|    782|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    782|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1750|  64.7k|    {
 1751|  64.7k|        auto offset     = relaxed_->d.count - 1;
 1752|  64.7k|        auto child      = node_->inner()[offset];
 1753|  64.7k|        auto child_size = size(offset);
 1754|  64.7k|        auto is_leaf    = shift_ == BL;
 1755|  64.7k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 64.7k]
  ------------------
 1756|  64.7k|                       : visit_maybe_relaxed_sub(
 1757|  64.7k|                             child, shift_ - B, child_size, v, args...);
 1758|  64.7k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  64.7k|{
 1839|  64.7k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 64.7k, False: 0]
  ------------------
 1840|  64.7k|    auto relaxed = node->relaxed();
 1841|  64.7k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 64.3k, False: 378]
  ------------------
 1842|  64.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 64.3k, False: 0]
  ------------------
 1843|  64.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  64.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  64.3k|    } else {
 1846|    378|        return make_regular_sub_pos(node, shift, size)
 1847|    378|            .visit(v, std::forward<Args>(args)...);
 1848|    378|    }
 1849|  64.7k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_left_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1813|  64.3k|    {
 1814|  64.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  64.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  970|  1.34k|    {
  971|  1.34k|        auto is_leaf = shift_ == BL;
  972|  1.34k|        auto child   = node_->inner()[0];
  973|  1.34k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  1.34k|        return is_full
  ------------------
  |  Branch (974:16): [True: 1.34k, False: 0]
  ------------------
  975|  1.34k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 1.34k]
  ------------------
  976|  1.34k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  1.34k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  1.34k|                   : (is_leaf
  ------------------
  |  Branch (978:23): [True: 0, False: 0]
  ------------------
  979|      0|                          ? make_leaf_sub_pos(child, size_).visit(v, args...)
  980|      0|                          : make_regular_sub_pos(child, shift_ - B, size_)
  981|      0|                                .visit(v, args...));
  982|  1.34k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1405|  1.93k|    {
 1406|  1.93k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.93k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1361|    587|    {
 1362|    587|        auto is_leaf = shift_ == BL;
 1363|    587|        auto child   = node_->inner()[0];
 1364|    587|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 587]
  ------------------
 1365|    587|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    587|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1750|  1.67k|    {
 1751|  1.67k|        auto offset     = relaxed_->d.count - 1;
 1752|  1.67k|        auto child      = node_->inner()[offset];
 1753|  1.67k|        auto child_size = size(offset);
 1754|  1.67k|        auto is_leaf    = shift_ == BL;
 1755|  1.67k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 1.13k, False: 536]
  ------------------
 1756|  1.67k|                       : visit_maybe_relaxed_sub(
 1757|    536|                             child, shift_ - B, child_size, v, args...);
 1758|  1.67k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|    536|{
 1839|    536|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 536, False: 0]
  ------------------
 1840|    536|    auto relaxed = node->relaxed();
 1841|    536|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 327, False: 209]
  ------------------
 1842|    327|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 327, False: 0]
  ------------------
 1843|    327|        return make_relaxed_pos(node, shift, relaxed)
 1844|    327|            .visit(v, std::forward<Args>(args)...);
 1845|    327|    } else {
 1846|    209|        return make_regular_sub_pos(node, shift, size)
 1847|    209|            .visit(v, std::forward<Args>(args)...);
 1848|    209|    }
 1849|    536|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_8full_posISC_EEEEEDcT_DpOT0_:
 1813|    327|    {
 1814|    327|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    327|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1750|  16.0k|    {
 1751|  16.0k|        auto offset     = relaxed_->d.count - 1;
 1752|  16.0k|        auto child      = node_->inner()[offset];
 1753|  16.0k|        auto child_size = size(offset);
 1754|  16.0k|        auto is_leaf    = shift_ == BL;
 1755|  16.0k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 4.24k, False: 11.8k]
  ------------------
 1756|  16.0k|                       : visit_maybe_relaxed_sub(
 1757|  11.8k|                             child, shift_ - B, child_size, v, args...);
 1758|  16.0k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  11.8k|{
 1839|  11.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 11.8k, False: 0]
  ------------------
 1840|  11.8k|    auto relaxed = node->relaxed();
 1841|  11.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 631, False: 11.2k]
  ------------------
 1842|    631|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 631, False: 0]
  ------------------
 1843|    631|        return make_relaxed_pos(node, shift, relaxed)
 1844|    631|            .visit(v, std::forward<Args>(args)...);
 1845|  11.2k|    } else {
 1846|  11.2k|        return make_regular_sub_pos(node, shift, size)
 1847|  11.2k|            .visit(v, std::forward<Args>(args)...);
 1848|  11.2k|    }
 1849|  11.8k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_15regular_sub_posISC_EEEEEDcT_DpOT0_:
 1813|    631|    {
 1814|    631|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    631|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8last_subINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1750|  1.98M|    {
 1751|  1.98M|        auto offset     = relaxed_->d.count - 1;
 1752|  1.98M|        auto child      = node_->inner()[offset];
 1753|  1.98M|        auto child_size = size(offset);
 1754|  1.98M|        auto is_leaf    = shift_ == BL;
 1755|  1.98M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 85.5k, False: 1.90M]
  ------------------
 1756|  1.98M|                       : visit_maybe_relaxed_sub(
 1757|  1.90M|                             child, shift_ - B, child_size, v, args...);
 1758|  1.98M|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERNS1_11relaxed_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  1.90M|{
 1839|  1.90M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.90M, False: 0]
  ------------------
 1840|  1.90M|    auto relaxed = node->relaxed();
 1841|  1.90M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.53M, False: 371k]
  ------------------
 1842|  1.53M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.53M, False: 0]
  ------------------
 1843|  1.53M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.53M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.53M|    } else {
 1846|   371k|        return make_regular_sub_pos(node, shift, size)
 1847|   371k|            .visit(v, std::forward<Args>(args)...);
 1848|   371k|    }
 1849|  1.90M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19concat_both_visitorISC_EEJRNS1_8leaf_posISC_EERSD_EEEDcT_DpOT0_:
 1813|  1.53M|    {
 1814|  1.53M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.53M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_11relaxed_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  16.3k|    {
 1037|  16.3k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  16.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_25concat_trees_left_visitorISC_EEJNS1_8leaf_posISC_EERPSC_RjRmEEEDcT_DpOT0_:
 1036|  14.4k|    {
 1037|  14.4k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  14.4k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_26concat_trees_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcPT_jmT0_DpOT1_:
 1838|  14.4k|{
 1839|  14.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 14.4k, False: 0]
  ------------------
 1840|  14.4k|    auto relaxed = node->relaxed();
 1841|  14.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.93k, False: 7.55k]
  ------------------
 1842|  6.93k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.93k, False: 0]
  ------------------
 1843|  6.93k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.93k|            .visit(v, std::forward<Args>(args)...);
 1845|  7.55k|    } else {
 1846|  7.55k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.55k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.55k|    }
 1849|  14.4k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRNS1_15regular_sub_posISC_EERNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1813|  6.93k|    {
 1814|  6.93k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.93k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_26concat_trees_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
 1036|  7.55k|    {
 1037|  7.55k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.55k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1813|  51.8k|    {
 1814|  51.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  51.8k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_jmDpOT0_:
 1737|  45.9k|    {
 1738|  45.9k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 45.9k, False: 0]
  ------------------
 1739|  45.9k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 45.9k, False: 0]
  ------------------
 1740|  45.9k|        auto child   = node_->inner()[offset_hint];
 1741|  45.9k|        auto is_leaf = shift_ == BL;
 1742|  45.9k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 45.9k]
  ------------------
 1743|  45.9k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  45.9k|                   : visit_maybe_relaxed_sub(
 1745|  45.9k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  45.9k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|  45.9k|{
 1839|  45.9k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 45.9k, False: 0]
  ------------------
 1840|  45.9k|    auto relaxed = node->relaxed();
 1841|  45.9k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.76k, False: 36.1k]
  ------------------
 1842|  9.76k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.76k, False: 0]
  ------------------
 1843|  9.76k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.76k|            .visit(v, std::forward<Args>(args)...);
 1845|  36.1k|    } else {
 1846|  36.1k|        return make_regular_sub_pos(node, shift, size)
 1847|  36.1k|            .visit(v, std::forward<Args>(args)...);
 1848|  36.1k|    }
 1849|  45.9k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1036|  36.1k|    {
 1037|  36.1k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  36.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  952|   165k|    {
  953|   165k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   165k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb1EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|   165k|{
  678|   165k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 165k, False: 0]
  ------------------
  679|   165k|    constexpr auto B  = bits<Pos>;
  680|   165k|    constexpr auto BL = bits_leaf<Pos>;
  681|   165k|    auto child        = p.node()->inner()[offset_hint];
  682|   165k|    auto is_leaf      = p.shift() == BL;
  683|   165k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 165k]
  ------------------
  684|   165k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   165k|                         .visit(v, args...);
  686|   165k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
  336|   766k|    {
  337|   766k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   766k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  330|   600k|    {
  331|   600k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|   600k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb1EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|   600k|{
  678|   600k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 600k, False: 0]
  ------------------
  679|   600k|    constexpr auto B  = bits<Pos>;
  680|   600k|    constexpr auto BL = bits_leaf<Pos>;
  681|   600k|    auto child        = p.node()->inner()[offset_hint];
  682|   600k|    auto is_leaf      = p.shift() == BL;
  683|   600k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 600k]
  ------------------
  684|   600k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   600k|                         .visit(v, args...);
  686|   600k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  330|  1.53k|    {
  331|  1.53k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.53k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb0EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.53k|{
  678|  1.53k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.53k, False: 0]
  ------------------
  679|  1.53k|    constexpr auto B  = bits<Pos>;
  680|  1.53k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.53k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.53k|    auto is_leaf      = p.shift() == BL;
  683|  1.53k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.53k]
  ------------------
  684|  1.53k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.53k|                         .visit(v, args...);
  686|  1.53k|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
  336|  2.90k|    {
  337|  2.90k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.90k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  952|  1.37k|    {
  953|  1.37k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|  1.37k|    }
_ZN5immer6detail4rbts15last_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_21push_tail_mut_visitorISD_Lb0EEEJRNSB_5applyIS8_E4type4editERPSD_EEEDcOT_T0_jDpOT1_:
  677|  1.37k|{
  678|  1.37k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.37k, False: 0]
  ------------------
  679|  1.37k|    constexpr auto B  = bits<Pos>;
  680|  1.37k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.37k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.37k|    auto is_leaf      = p.shift() == BL;
  683|  1.37k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.37k]
  ------------------
  684|  1.37k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.37k|                         .visit(v, args...);
  686|  1.37k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11last_oh_cshINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_jmDpOT0_:
 1737|  7.90k|    {
 1738|  7.90k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 7.90k, False: 0]
  ------------------
 1739|  7.90k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 7.90k, False: 0]
  ------------------
 1740|  7.90k|        auto child   = node_->inner()[offset_hint];
 1741|  7.90k|        auto is_leaf = shift_ == BL;
 1742|  7.90k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 7.90k]
  ------------------
 1743|  7.90k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  7.90k|                   : visit_maybe_relaxed_sub(
 1745|  7.90k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  7.90k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcPT_jmT0_DpOT1_:
 1838|  7.90k|{
 1839|  7.90k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 7.90k, False: 0]
  ------------------
 1840|  7.90k|    auto relaxed = node->relaxed();
 1841|  7.90k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.79k, False: 1.11k]
  ------------------
 1842|  6.79k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.79k, False: 0]
  ------------------
 1843|  6.79k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.79k|            .visit(v, std::forward<Args>(args)...);
 1845|  6.79k|    } else {
 1846|  1.11k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.11k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.11k|    }
 1849|  7.90k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1813|  6.79k|    {
 1814|  6.79k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.79k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb0EEEJRNSA_5applyIS7_E4type4editERPSC_RjEEEDcT_DpOT0_:
 1036|  1.11k|    {
 1037|  1.11k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.11k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_DpOT0_:
 1036|   135k|    {
 1037|   135k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   135k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcPT_jmT0_DpOT1_:
 1838|  24.2k|{
 1839|  24.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 24.2k, False: 0]
  ------------------
 1840|  24.2k|    auto relaxed = node->relaxed();
 1841|  24.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 21.0k, False: 3.25k]
  ------------------
 1842|  21.0k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 21.0k, False: 0]
  ------------------
 1843|  21.0k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  21.0k|            .visit(v, std::forward<Args>(args)...);
 1845|  21.0k|    } else {
 1846|  3.25k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.25k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.25k|    }
 1849|  24.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_DpOT0_:
 1813|  21.0k|    {
 1814|  21.0k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  21.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjDpOT0_:
 1686|  61.7k|    {
 1687|  61.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 61.7k, False: 0]
  ------------------
 1688|  61.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 19.1k, False: 42.6k]
  ------------------
 1689|  61.7k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  61.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjmDpOT0_:
 1698|  61.7k|    {
 1699|  61.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  61.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjmDpOT0_:
 1717|  61.7k|    {
 1718|  61.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 61.7k, False: 0]
  ------------------
 1719|  61.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 19.1k, False: 42.6k]
  |  Branch (1719:9): [True: 61.7k, False: 0]
  ------------------
 1720|  61.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  61.7k|        auto child     = node_->inner()[offset_hint];
 1722|  61.7k|        auto is_leaf   = shift_ == BL;
 1723|  61.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  61.7k|        auto next_idx  = idx - left_size_hint;
 1725|  61.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 17.7k, False: 44.0k]
  ------------------
 1726|  61.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  17.7k|                         .visit(v, next_idx, args...)
 1728|  61.7k|                   : visit_maybe_relaxed_sub(
 1729|  44.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  61.7k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  144|  17.7k|    {
  145|  17.7k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  17.7k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcPT_jmT0_DpOT1_:
 1838|  44.0k|{
 1839|  44.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 44.0k, False: 0]
  ------------------
 1840|  44.0k|    auto relaxed = node->relaxed();
 1841|  44.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 40.7k, False: 3.32k]
  ------------------
 1842|  40.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 40.7k, False: 0]
  ------------------
 1843|  40.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  40.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  40.7k|    } else {
 1846|  3.32k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.32k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.32k|    }
 1849|  44.0k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1813|  40.7k|    {
 1814|  40.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  40.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1036|  3.32k|    {
 1037|  3.32k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.32k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
  938|  6.57k|    {
  939|  6.57k|        return towards_oh_ch_regular(
  940|  6.57k|            *this, v, idx, offset_hint, count(), args...);
  941|  6.57k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15get_mut_visitorISD_EEJRNSB_5applyIS8_E4type4editERPPSD_EEEDcOT_T0_mjjDpOT1_:
  632|  6.57k|{
  633|  6.57k|    constexpr auto B  = bits<Pos>;
  634|  6.57k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.57k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.57k, False: 0]
  ------------------
  636|  6.57k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.57k, False: 0]
  ------------------
  637|  6.57k|    auto is_leaf = p.shift() == BL;
  638|  6.57k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.57k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.57k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.15k, False: 2.42k]
  ------------------
  641|  6.57k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 796, False: 3.36k]
  ------------------
  642|  4.15k|                          : make_full_pos(child, p.shift() - B)
  643|  3.36k|                                .visit(v, idx, args...))
  644|  6.57k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 545, False: 1.87k]
  ------------------
  645|  2.42k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.42k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.87k|                            .visit(v, idx, args...));
  648|  6.57k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  207|  5.17k|    {
  208|  5.17k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.17k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
 1405|  5.46k|    {
 1406|  5.46k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  5.46k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
 1329|  5.46k|    {
 1330|  5.46k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  5.46k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_mjDpOT0_:
 1336|  5.46k|    {
 1337|  5.46k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 5.46k, False: 0]
  ------------------
 1338|  5.46k|        auto is_leaf = shift_ == BL;
 1339|  5.46k|        auto child   = node_->inner()[offset_hint];
 1340|  5.46k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 3.76k, False: 1.70k]
  ------------------
 1341|  5.46k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  5.46k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  5.46k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  112|  1.40k|    {
  113|  1.40k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  1.40k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editERPPSC_EEEDcT_DpOT0_:
  336|  2.41k|    {
  337|  2.41k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.41k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13towards_oh_chINS1_15get_mut_visitorISC_EEJRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_mjjDpOT0_:
  316|  2.41k|    {
  317|  2.41k|        return towards_oh_ch_regular(
  318|  2.41k|            *this, v, idx, offset_hint, count(), args...);
  319|  2.41k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_15get_mut_visitorISD_EEJRNSB_5applyIS8_E4type4editERPPSD_EEEDcOT_T0_mjjDpOT1_:
  632|  2.41k|{
  633|  2.41k|    constexpr auto B  = bits<Pos>;
  634|  2.41k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.41k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.41k, False: 0]
  ------------------
  636|  2.41k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.41k, False: 0]
  ------------------
  637|  2.41k|    auto is_leaf = p.shift() == BL;
  638|  2.41k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.41k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.41k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.01k, False: 1.40k]
  ------------------
  641|  2.41k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 610, False: 406]
  ------------------
  642|  1.01k|                          : make_full_pos(child, p.shift() - B)
  643|    406|                                .visit(v, idx, args...))
  644|  2.41k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 860, False: 541]
  ------------------
  645|  1.40k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.40k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    541|                            .visit(v, idx, args...));
  648|  2.41k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_15get_mut_visitorISC_EEJRmRNSA_5applyIS7_E4type4editEPPSC_EEEDcT_DpOT0_:
 1036|  3.25k|    {
 1037|  3.25k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.25k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  58.3k|{
 1839|  58.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 58.3k, False: 0]
  ------------------
 1840|  58.3k|    auto relaxed = node->relaxed();
 1841|  58.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 46.4k, False: 11.8k]
  ------------------
 1842|  46.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 46.4k, False: 0]
  ------------------
 1843|  46.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  46.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  46.4k|    } else {
 1846|  11.8k|        return make_regular_sub_pos(node, shift, size)
 1847|  11.8k|            .visit(v, std::forward<Args>(args)...);
 1848|  11.8k|    }
 1849|  58.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  46.4k|    {
 1814|  46.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  46.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  25.6k|    {
 1687|  25.6k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 25.6k, False: 0]
  ------------------
 1688|  25.6k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 25.6k]
  ------------------
 1689|  25.6k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  25.6k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  25.6k|    {
 1699|  25.6k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  25.6k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  25.6k|    {
 1718|  25.6k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 25.6k, False: 0]
  ------------------
 1719|  25.6k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 25.6k]
  |  Branch (1719:9): [True: 25.6k, False: 0]
  ------------------
 1720|  25.6k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  25.6k|        auto child     = node_->inner()[offset_hint];
 1722|  25.6k|        auto is_leaf   = shift_ == BL;
 1723|  25.6k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  25.6k|        auto next_idx  = idx - left_size_hint;
 1725|  25.6k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.07k, False: 24.5k]
  ------------------
 1726|  25.6k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.07k|                         .visit(v, next_idx, args...)
 1728|  25.6k|                   : visit_maybe_relaxed_sub(
 1729|  24.5k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  25.6k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  1.07k|    {
  145|  1.07k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.07k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  14.0k|    {
 1687|  14.0k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 14.0k, False: 0]
  ------------------
 1688|  14.0k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 14.0k]
  ------------------
 1689|  14.0k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  14.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  14.0k|    {
 1699|  14.0k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  14.0k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  14.0k|    {
 1718|  14.0k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 14.0k, False: 0]
  ------------------
 1719|  14.0k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 14.0k]
  |  Branch (1719:9): [True: 14.0k, False: 0]
  ------------------
 1720|  14.0k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  14.0k|        auto child     = node_->inner()[offset_hint];
 1722|  14.0k|        auto is_leaf   = shift_ == BL;
 1723|  14.0k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  14.0k|        auto next_idx  = idx - left_size_hint;
 1725|  14.0k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 635, False: 13.4k]
  ------------------
 1726|  14.0k|                   ? make_leaf_sub_pos(child, next_size)
 1727|    635|                         .visit(v, next_idx, args...)
 1728|  14.0k|                   : visit_maybe_relaxed_sub(
 1729|  13.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  14.0k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|    635|    {
  145|    635|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    635|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  13.4k|{
 1839|  13.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.4k, False: 0]
  ------------------
 1840|  13.4k|    auto relaxed = node->relaxed();
 1841|  13.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.7k, False: 1.69k]
  ------------------
 1842|  11.7k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.7k, False: 0]
  ------------------
 1843|  11.7k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.7k|            .visit(v, std::forward<Args>(args)...);
 1845|  11.7k|    } else {
 1846|  1.69k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.69k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.69k|    }
 1849|  13.4k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  11.7k|    {
 1814|  11.7k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  11.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.69k|    {
 1037|  1.69k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.69k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  2.52k|    {
  928|  2.52k|        return towards_oh_ch_regular(
  929|  2.52k|            *this, v, idx, offset_hint, count(), args...);
  930|  2.52k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb1ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  2.52k|{
  633|  2.52k|    constexpr auto B  = bits<Pos>;
  634|  2.52k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.52k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.52k, False: 0]
  ------------------
  636|  2.52k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.52k, False: 0]
  ------------------
  637|  2.52k|    auto is_leaf = p.shift() == BL;
  638|  2.52k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.52k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.52k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.12k, False: 400]
  ------------------
  641|  2.52k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 742, False: 1.38k]
  ------------------
  642|  2.12k|                          : make_full_pos(child, p.shift() - B)
  643|  1.38k|                                .visit(v, idx, args...))
  644|  2.52k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 400, False: 0]
  ------------------
  645|    400|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    400|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  2.52k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  1.50k|    {
  208|  1.50k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.50k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  2.01k|    {
 1406|  2.01k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.01k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  1.39k|    {
 1337|  1.39k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.39k, False: 0]
  ------------------
 1338|  1.39k|        auto is_leaf = shift_ == BL;
 1339|  1.39k|        auto child   = node_->inner()[offset_hint];
 1340|  1.39k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 758, False: 633]
  ------------------
 1341|  1.39k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.39k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.39k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  3.01k|    {
 1337|  3.01k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.01k, False: 0]
  ------------------
 1338|  3.01k|        auto is_leaf = shift_ == BL;
 1339|  3.01k|        auto child   = node_->inner()[offset_hint];
 1340|  3.01k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 1.95k, False: 1.05k]
  ------------------
 1341|  3.01k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.01k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.01k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  5.92k|    {
  208|  5.92k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.92k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  4.31k|    {
 1406|  4.31k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.31k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1405|  3.23k|    {
 1406|  3.23k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.23k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  7.70k|    {
 1337|  7.70k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 7.70k, False: 0]
  ------------------
 1338|  7.70k|        auto is_leaf = shift_ == BL;
 1339|  7.70k|        auto child   = node_->inner()[offset_hint];
 1340|  7.70k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 6.26k, False: 1.44k]
  ------------------
 1341|  7.70k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  7.70k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  7.70k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  9.76k|    {
  208|  9.76k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.76k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  2.84k|    {
 1406|  2.84k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.84k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1310|  4.03k|    {
 1311|  4.03k|        each_i(v, start, branches<B>, args...);
 1312|  4.03k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_11dec_visitorEJEEEvT_jjDpOT0_:
 1263|  6.42k|    {
 1264|  6.42k|        auto p = node_->inner() + i;
 1265|  6.42k|        auto e = node_->inner() + n;
 1266|  6.42k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 3.65k, False: 2.76k]
  ------------------
 1267|  11.3k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 7.74k, False: 3.65k]
  ------------------
 1268|  7.74k|                IMMER_PREFETCH(p + 1);
 1269|  7.74k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|  7.74k|            }
 1271|  3.65k|        } else {
 1272|  2.76k|            auto ss = shift_ - B;
 1273|  8.18k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 5.41k, False: 2.76k]
  ------------------
 1274|  5.41k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  2.76k|        }
 1276|  6.42k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|    400|    {
  113|    400|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    400|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  305|  5.06k|    {
  306|  5.06k|        return towards_oh_ch_regular(
  307|  5.06k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.06k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  5.06k|{
  633|  5.06k|    constexpr auto B  = bits<Pos>;
  634|  5.06k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.06k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.06k, False: 0]
  ------------------
  636|  5.06k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.06k, False: 0]
  ------------------
  637|  5.06k|    auto is_leaf = p.shift() == BL;
  638|  5.06k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.06k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.06k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.72k, False: 2.34k]
  ------------------
  641|  5.06k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.42k, False: 1.29k]
  ------------------
  642|  2.72k|                          : make_full_pos(child, p.shift() - B)
  643|  1.29k|                                .visit(v, idx, args...))
  644|  5.06k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 984, False: 1.36k]
  ------------------
  645|  2.34k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.34k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.36k|                            .visit(v, idx, args...));
  648|  5.06k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|  2.28k|    {
  113|  2.28k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.28k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  336|  5.67k|    {
  337|  5.67k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.67k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
  336|  3.12k|    {
  337|  3.12k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.12k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  305|  3.52k|    {
  306|  3.52k|        return towards_oh_ch_regular(
  307|  3.52k|            *this, v, idx, offset_hint, count(), args...);
  308|  3.52k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  3.52k|{
  633|  3.52k|    constexpr auto B  = bits<Pos>;
  634|  3.52k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.52k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.52k, False: 0]
  ------------------
  636|  3.52k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.52k, False: 0]
  ------------------
  637|  3.52k|    auto is_leaf = p.shift() == BL;
  638|  3.52k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.52k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.52k|    return is_full
  ------------------
  |  Branch (640:12): [True: 958, False: 2.57k]
  ------------------
  641|  3.52k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 695, False: 263]
  ------------------
  642|    958|                          : make_full_pos(child, p.shift() - B)
  643|    263|                                .visit(v, idx, args...))
  644|  3.52k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.66k, False: 909]
  ------------------
  645|  2.57k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.57k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    909|                            .visit(v, idx, args...));
  648|  3.52k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|  2.49k|    {
  113|  2.49k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.49k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  336|  2.91k|    {
  337|  2.91k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.91k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  285|  5.06k|    {
  286|  5.06k|        return each_right_regular(*this, v, start, args...);
  287|  5.06k|    }
_ZN5immer6detail4rbts18each_right_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  597|  5.06k|{
  598|  5.06k|    constexpr auto B  = bits<Pos>;
  599|  5.06k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  5.06k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 2.41k, False: 2.65k]
  ------------------
  602|  2.41k|        auto n    = p.node()->inner() + start;
  603|  2.41k|        auto last = p.count() - 1;
  604|  2.41k|        auto e    = p.node()->inner() + last;
  605|  2.41k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 1.42k, False: 984]
  ------------------
  606|  2.40k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 974, False: 1.42k]
  ------------------
  607|    974|                IMMER_PREFETCH(n + 1);
  608|    974|                make_full_leaf_pos(*n).visit(v, args...);
  609|    974|            }
  610|  1.42k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  1.42k|        }
  612|  2.65k|    } else {
  613|  2.65k|        auto n    = p.node()->inner() + start;
  614|  2.65k|        auto last = p.count() - 1;
  615|  2.65k|        auto e    = p.node()->inner() + last;
  616|  2.65k|        auto ss   = p.shift() - B;
  617|  2.65k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 1.29k, False: 1.36k]
  ------------------
  618|  2.45k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 1.16k, False: 1.29k]
  ------------------
  619|  1.16k|                make_full_pos(*n, ss).visit(v, args...);
  620|  1.29k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  1.29k|        }
  622|  2.65k|    }
  623|  5.06k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  10.1k|    {
  928|  10.1k|        return towards_oh_ch_regular(
  929|  10.1k|            *this, v, idx, offset_hint, count(), args...);
  930|  10.1k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  10.1k|{
  633|  10.1k|    constexpr auto B  = bits<Pos>;
  634|  10.1k|    constexpr auto BL = bits_leaf<Pos>;
  635|  10.1k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 10.1k, False: 0]
  ------------------
  636|  10.1k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 10.1k, False: 0]
  ------------------
  637|  10.1k|    auto is_leaf = p.shift() == BL;
  638|  10.1k|    auto child   = p.node()->inner()[offset_hint];
  639|  10.1k|    auto is_full = offset_hint + 1 != count_hint;
  640|  10.1k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.50k, False: 5.61k]
  ------------------
  641|  10.1k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.54k, False: 1.96k]
  ------------------
  642|  4.50k|                          : make_full_pos(child, p.shift() - B)
  643|  1.96k|                                .visit(v, idx, args...))
  644|  10.1k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.29k, False: 4.31k]
  ------------------
  645|  5.61k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  5.61k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  4.31k|                            .visit(v, idx, args...));
  648|  10.1k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  6.78k|    {
  928|  6.78k|        return towards_oh_ch_regular(
  929|  6.78k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.78k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  6.78k|{
  633|  6.78k|    constexpr auto B  = bits<Pos>;
  634|  6.78k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.78k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.78k, False: 0]
  ------------------
  636|  6.78k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.78k, False: 0]
  ------------------
  637|  6.78k|    auto is_leaf = p.shift() == BL;
  638|  6.78k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.78k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.78k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.95k, False: 2.83k]
  ------------------
  641|  6.78k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.81k, False: 1.13k]
  ------------------
  642|  3.95k|                          : make_full_pos(child, p.shift() - B)
  643|  1.13k|                                .visit(v, idx, args...))
  644|  6.78k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 830, False: 2.00k]
  ------------------
  645|  2.83k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.83k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  2.00k|                            .visit(v, idx, args...));
  648|  6.78k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  867|  15.0k|    {
  868|  15.0k|        return each_right_regular(*this, v, start, args...);
  869|  15.0k|    }
_ZN5immer6detail4rbts18each_right_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  597|  15.0k|{
  598|  15.0k|    constexpr auto B  = bits<Pos>;
  599|  15.0k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  15.0k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 5.36k, False: 9.71k]
  ------------------
  602|  5.36k|        auto n    = p.node()->inner() + start;
  603|  5.36k|        auto last = p.count() - 1;
  604|  5.36k|        auto e    = p.node()->inner() + last;
  605|  5.36k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 3.41k, False: 1.95k]
  ------------------
  606|  6.02k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 2.61k, False: 3.41k]
  ------------------
  607|  2.61k|                IMMER_PREFETCH(n + 1);
  608|  2.61k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  2.61k|            }
  610|  3.41k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  3.41k|        }
  612|  9.71k|    } else {
  613|  9.71k|        auto n    = p.node()->inner() + start;
  614|  9.71k|        auto last = p.count() - 1;
  615|  9.71k|        auto e    = p.node()->inner() + last;
  616|  9.71k|        auto ss   = p.shift() - B;
  617|  9.71k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 5.39k, False: 4.31k]
  ------------------
  618|  7.41k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 2.02k, False: 5.39k]
  ------------------
  619|  2.02k|                make_full_pos(*n, ss).visit(v, args...);
  620|  5.39k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  5.39k|        }
  622|  9.71k|    }
  623|  15.0k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1813|  34.3k|    {
 1814|  34.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  34.3k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  24.7k|    {
 1687|  24.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 24.7k, False: 0]
  ------------------
 1688|  24.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 16.9k, False: 7.80k]
  ------------------
 1689|  24.7k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  24.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  24.7k|    {
 1699|  24.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  24.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  24.7k|    {
 1718|  24.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 24.7k, False: 0]
  ------------------
 1719|  24.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 16.9k, False: 7.80k]
  |  Branch (1719:9): [True: 24.7k, False: 0]
  ------------------
 1720|  24.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  24.7k|        auto child     = node_->inner()[offset_hint];
 1722|  24.7k|        auto is_leaf   = shift_ == BL;
 1723|  24.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  24.7k|        auto next_idx  = idx - left_size_hint;
 1725|  24.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 2.91k, False: 21.8k]
  ------------------
 1726|  24.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  2.91k|                         .visit(v, next_idx, args...)
 1728|  24.7k|                   : visit_maybe_relaxed_sub(
 1729|  21.8k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  24.7k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  2.91k|    {
  145|  2.91k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.91k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  21.8k|{
 1839|  21.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 21.8k, False: 0]
  ------------------
 1840|  21.8k|    auto relaxed = node->relaxed();
 1841|  21.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 14.1k, False: 7.62k]
  ------------------
 1842|  14.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 14.1k, False: 0]
  ------------------
 1843|  14.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  14.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  14.1k|    } else {
 1846|  7.62k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.62k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.62k|    }
 1849|  21.8k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  14.1k|    {
 1814|  14.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  14.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  7.62k|    {
 1037|  7.62k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.62k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1036|  9.99k|    {
 1037|  9.99k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  9.99k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1686|  13.4k|    {
 1687|  13.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 13.4k, False: 0]
  ------------------
 1688|  13.4k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 8.05k, False: 5.42k]
  ------------------
 1689|  13.4k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  13.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1698|  13.4k|    {
 1699|  13.4k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  13.4k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  13.4k|    {
 1718|  13.4k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 13.4k, False: 0]
  ------------------
 1719|  13.4k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 8.05k, False: 5.42k]
  |  Branch (1719:9): [True: 13.4k, False: 0]
  ------------------
 1720|  13.4k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  13.4k|        auto child     = node_->inner()[offset_hint];
 1722|  13.4k|        auto is_leaf   = shift_ == BL;
 1723|  13.4k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  13.4k|        auto next_idx  = idx - left_size_hint;
 1725|  13.4k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 4.73k, False: 8.74k]
  ------------------
 1726|  13.4k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  4.73k|                         .visit(v, next_idx, args...)
 1728|  13.4k|                   : visit_maybe_relaxed_sub(
 1729|  8.74k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  13.4k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  4.73k|    {
  145|  4.73k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  4.73k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  8.74k|{
 1839|  8.74k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 8.74k, False: 0]
  ------------------
 1840|  8.74k|    auto relaxed = node->relaxed();
 1841|  8.74k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 5.56k, False: 3.17k]
  ------------------
 1842|  5.56k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 5.56k, False: 0]
  ------------------
 1843|  5.56k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  5.56k|            .visit(v, std::forward<Args>(args)...);
 1845|  5.56k|    } else {
 1846|  3.17k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.17k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.17k|    }
 1849|  8.74k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  5.56k|    {
 1814|  5.56k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.56k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  3.17k|    {
 1037|  3.17k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.17k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1653|  50.3k|    {
 1654|  50.3k|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 50.3k, False: 0]
  ------------------
 1655|  50.3k|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 50.3k, False: 0]
  ------------------
 1656|  50.3k|        auto s = relaxed_->d.sizes[start - 1];
 1657|  50.3k|        auto p = node_->inner();
 1658|  50.3k|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 3.99k, False: 46.3k]
  ------------------
 1659|  10.7k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 6.73k, False: 3.99k]
  ------------------
 1660|  6.73k|                IMMER_PREFETCH(p + i + 1);
 1661|  6.73k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|  6.73k|                    .visit(v, args...);
 1663|  6.73k|                s = relaxed_->d.sizes[i];
 1664|  6.73k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 6.73k, False: 0]
  ------------------
 1665|  6.73k|            }
 1666|  46.3k|        } else {
 1667|  46.3k|            auto ss = shift_ - B;
 1668|   134k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 87.6k, False: 46.3k]
  ------------------
 1669|  87.6k|                visit_maybe_relaxed_sub(
 1670|  87.6k|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  87.6k|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 87.6k, False: 0]
  ------------------
 1673|  87.6k|            }
 1674|  46.3k|        }
 1675|  50.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  11.8k|    {
 1037|  11.8k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  11.8k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  927|  4.95k|    {
  928|  4.95k|        return towards_oh_ch_regular(
  929|  4.95k|            *this, v, idx, offset_hint, count(), args...);
  930|  4.95k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_23slice_right_mut_visitorISD_Lb1ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjjDpOT1_:
  632|  4.95k|{
  633|  4.95k|    constexpr auto B  = bits<Pos>;
  634|  4.95k|    constexpr auto BL = bits_leaf<Pos>;
  635|  4.95k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 4.95k, False: 0]
  ------------------
  636|  4.95k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 4.95k, False: 0]
  ------------------
  637|  4.95k|    auto is_leaf = p.shift() == BL;
  638|  4.95k|    auto child   = p.node()->inner()[offset_hint];
  639|  4.95k|    auto is_full = offset_hint + 1 != count_hint;
  640|  4.95k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.30k, False: 654]
  ------------------
  641|  4.95k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 869, False: 3.43k]
  ------------------
  642|  4.30k|                          : make_full_pos(child, p.shift() - B)
  643|  3.43k|                                .visit(v, idx, args...))
  644|  4.95k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 654, False: 0]
  ------------------
  645|    654|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    654|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  4.95k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  1.36k|    {
  208|  1.36k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.36k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.95k|    {
 1406|  3.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.95k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1336|  1.02k|    {
 1337|  1.02k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.02k, False: 0]
  ------------------
 1338|  1.02k|        auto is_leaf = shift_ == BL;
 1339|  1.02k|        auto child   = node_->inner()[offset_hint];
 1340|  1.02k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 494, False: 526]
  ------------------
 1341|  1.02k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.02k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.02k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_23slice_right_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  112|    654|    {
  113|    654|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    654|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|    728|    {
  145|    728|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    728|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  38.5k|{
 1839|  38.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 38.5k, False: 0]
  ------------------
 1840|  38.5k|    auto relaxed = node->relaxed();
 1841|  38.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 30.6k, False: 7.95k]
  ------------------
 1842|  30.6k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 30.6k, False: 0]
  ------------------
 1843|  30.6k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  30.6k|            .visit(v, std::forward<Args>(args)...);
 1845|  30.6k|    } else {
 1846|  7.95k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.95k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.95k|    }
 1849|  38.5k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  30.6k|    {
 1814|  30.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  30.6k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  4.94k|    {
 1706|  4.94k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.94k, False: 0]
  ------------------
 1707|  4.94k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 4.17k, False: 767]
  ------------------
 1708|  4.94k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.94k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  4.94k|    {
 1718|  4.94k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.94k, False: 0]
  ------------------
 1719|  4.94k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 4.17k, False: 767]
  |  Branch (1719:9): [True: 4.94k, False: 0]
  ------------------
 1720|  4.94k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.94k|        auto child     = node_->inner()[offset_hint];
 1722|  4.94k|        auto is_leaf   = shift_ == BL;
 1723|  4.94k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.94k|        auto next_idx  = idx - left_size_hint;
 1725|  4.94k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.94k]
  ------------------
 1726|  4.94k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.94k|                   : visit_maybe_relaxed_sub(
 1729|  4.94k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.94k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  4.27k|    {
 1706|  4.27k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.27k, False: 0]
  ------------------
 1707|  4.27k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.61k, False: 655]
  ------------------
 1708|  4.27k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.27k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  4.27k|    {
 1718|  4.27k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.27k, False: 0]
  ------------------
 1719|  4.27k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.61k, False: 655]
  |  Branch (1719:9): [True: 4.27k, False: 0]
  ------------------
 1720|  4.27k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.27k|        auto child     = node_->inner()[offset_hint];
 1722|  4.27k|        auto is_leaf   = shift_ == BL;
 1723|  4.27k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.27k|        auto next_idx  = idx - left_size_hint;
 1725|  4.27k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.27k]
  ------------------
 1726|  4.27k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.27k|                   : visit_maybe_relaxed_sub(
 1729|  4.27k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.27k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  4.27k|{
 1839|  4.27k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 4.27k, False: 0]
  ------------------
 1840|  4.27k|    auto relaxed = node->relaxed();
 1841|  4.27k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.68k, False: 1.58k]
  ------------------
 1842|  2.68k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.68k, False: 0]
  ------------------
 1843|  2.68k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.68k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.68k|    } else {
 1846|  1.58k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.58k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.58k|    }
 1849|  4.27k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  2.68k|    {
 1814|  2.68k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.68k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.58k|    {
 1037|  1.58k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.58k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  2.40k|    {
  947|  2.40k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  2.40k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb1ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  2.40k|{
  654|  2.40k|    constexpr auto B  = bits<Pos>;
  655|  2.40k|    constexpr auto BL = bits_leaf<Pos>;
  656|  2.40k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 2.40k, False: 0]
  ------------------
  657|  2.40k|    auto is_leaf = p.shift() == BL;
  658|  2.40k|    auto child   = p.node()->inner()[offset_hint];
  659|  2.40k|    auto lsize   = offset_hint << p.shift();
  660|  2.40k|    auto size    = p.this_size();
  661|  2.40k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  2.40k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.17k, False: 1.23k]
  ------------------
  663|  2.40k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.17k]
  ------------------
  664|  1.17k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.17k|                      : make_full_pos(child, p.shift() - B)
  666|  1.17k|                            .visit(v, idx - lsize, args...))
  667|  2.40k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.23k]
  ------------------
  668|  1.23k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.23k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.23k|                            .visit(v, idx - lsize, args...));
  672|  2.40k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  2.68k|    {
 1406|  2.68k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.68k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  1.51k|    {
 1349|  1.51k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 1.51k, False: 0]
  ------------------
 1350|  1.51k|        auto is_leaf = shift_ == BL;
 1351|  1.51k|        auto child   = node_->inner()[offset_hint];
 1352|  1.51k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  1.51k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 1.51k]
  ------------------
 1354|  1.51k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  1.51k|                   : make_full_pos(child, shift_ - B)
 1356|  1.51k|                         .visit(v, idx - lsize, args...);
 1357|  1.51k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1405|    308|    {
 1406|    308|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|    308|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  2.07k|    {
 1349|  2.07k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 2.07k, False: 0]
  ------------------
 1350|  2.07k|        auto is_leaf = shift_ == BL;
 1351|  2.07k|        auto child   = node_->inner()[offset_hint];
 1352|  2.07k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  2.07k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 1.20k, False: 876]
  ------------------
 1354|  2.07k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  2.07k|                   : make_full_pos(child, shift_ - B)
 1356|    876|                         .visit(v, idx - lsize, args...);
 1357|  2.07k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  3.09k|    {
  208|  3.09k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  3.09k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  2.15k|    {
 1406|  2.15k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.15k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  7.39k|    {
 1349|  7.39k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 7.39k, False: 0]
  ------------------
 1350|  7.39k|        auto is_leaf = shift_ == BL;
 1351|  7.39k|        auto child   = node_->inner()[offset_hint];
 1352|  7.39k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  7.39k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 5.79k, False: 1.60k]
  ------------------
 1354|  7.39k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  7.39k|                   : make_full_pos(child, shift_ - B)
 1356|  1.60k|                         .visit(v, idx - lsize, args...);
 1357|  7.39k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  207|  9.50k|    {
  208|  9.50k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.50k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.29k|    {
 1406|  3.29k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.29k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1316|  2.38k|    {
 1317|  2.38k|        each_i(v, 0, last, args...);
 1318|  2.38k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.23k|    {
 1037|  1.23k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.23k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1036|  3.98k|    {
 1037|  3.98k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.98k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  3.17k|    {
  947|  3.17k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.17k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb0ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  3.17k|{
  654|  3.17k|    constexpr auto B  = bits<Pos>;
  655|  3.17k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.17k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.17k, False: 0]
  ------------------
  657|  3.17k|    auto is_leaf = p.shift() == BL;
  658|  3.17k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.17k|    auto lsize   = offset_hint << p.shift();
  660|  3.17k|    auto size    = p.this_size();
  661|  3.17k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.17k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.17k, False: 0]
  ------------------
  663|  3.17k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 1.89k, False: 1.27k]
  ------------------
  664|  3.17k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.17k|                      : make_full_pos(child, p.shift() - B)
  666|  1.27k|                            .visit(v, idx - lsize, args...))
  667|  3.17k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  3.17k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  5.40k|    {
  947|  5.40k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  5.40k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb0ELb0EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  5.40k|{
  654|  5.40k|    constexpr auto B  = bits<Pos>;
  655|  5.40k|    constexpr auto BL = bits_leaf<Pos>;
  656|  5.40k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 5.40k, False: 0]
  ------------------
  657|  5.40k|    auto is_leaf = p.shift() == BL;
  658|  5.40k|    auto child   = p.node()->inner()[offset_hint];
  659|  5.40k|    auto lsize   = offset_hint << p.shift();
  660|  5.40k|    auto size    = p.this_size();
  661|  5.40k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  5.40k|    return is_full
  ------------------
  |  Branch (662:12): [True: 5.40k, False: 0]
  ------------------
  663|  5.40k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 3.71k, False: 1.68k]
  ------------------
  664|  5.40k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  5.40k|                      : make_full_pos(child, p.shift() - B)
  666|  1.68k|                            .visit(v, idx - lsize, args...))
  667|  5.40k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 0]
  ------------------
  668|      0|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|      0|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|      0|                            .visit(v, idx - lsize, args...));
  672|  5.40k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
  873|  7.15k|    {
  874|  7.15k|        return each_left_regular(*this, v, last, args...);
  875|  7.15k|    }
_ZN5immer6detail4rbts17each_left_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_11dec_visitorEJEEEvOT_T0_jDpOT1_:
  575|  7.15k|{
  576|  7.15k|    constexpr auto B  = bits<Pos>;
  577|  7.15k|    constexpr auto BL = bits_leaf<Pos>;
  578|  7.15k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 7.15k, False: 0]
  ------------------
  579|  7.15k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 1.89k, False: 5.26k]
  ------------------
  580|  1.89k|        auto n = p.node()->inner();
  581|  1.89k|        auto e = n + last;
  582|  4.27k|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 2.38k, False: 1.89k]
  ------------------
  583|  2.38k|            IMMER_PREFETCH(n + 1);
  584|  2.38k|            make_full_leaf_pos(*n).visit(v, args...);
  585|  2.38k|        }
  586|  5.26k|    } else {
  587|  5.26k|        auto n  = p.node()->inner();
  588|  5.26k|        auto e  = n + last;
  589|  5.26k|        auto ss = p.shift() - B;
  590|  7.29k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 2.03k, False: 5.26k]
  ------------------
  591|  2.03k|            make_full_pos(*n, ss).visit(v, args...);
  592|  5.26k|    }
  593|  7.15k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1813|  4.94k|    {
 1814|  4.94k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  4.94k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|   127k|    {
 1706|   127k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 127k, False: 0]
  ------------------
 1707|   127k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 7.99k, False: 119k]
  ------------------
 1708|   127k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|   127k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|   127k|    {
 1718|   127k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 127k, False: 0]
  ------------------
 1719|   127k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 7.99k, False: 119k]
  |  Branch (1719:9): [True: 127k, False: 0]
  ------------------
 1720|   127k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   127k|        auto child     = node_->inner()[offset_hint];
 1722|   127k|        auto is_leaf   = shift_ == BL;
 1723|   127k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   127k|        auto next_idx  = idx - left_size_hint;
 1725|   127k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 7.64k, False: 119k]
  ------------------
 1726|   127k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  7.64k|                         .visit(v, next_idx, args...)
 1728|   127k|                   : visit_maybe_relaxed_sub(
 1729|   119k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   127k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  7.64k|    {
  145|  7.64k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  7.64k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|   119k|{
 1839|   119k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 119k, False: 0]
  ------------------
 1840|   119k|    auto relaxed = node->relaxed();
 1841|   119k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 118k, False: 1.53k]
  ------------------
 1842|   118k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 118k, False: 0]
  ------------------
 1843|   118k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   118k|            .visit(v, std::forward<Args>(args)...);
 1845|   118k|    } else {
 1846|  1.53k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.53k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.53k|    }
 1849|   119k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|   118k|    {
 1814|   118k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   118k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.53k|    {
 1037|  1.53k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.53k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1705|  62.7k|    {
 1706|  62.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 62.7k, False: 0]
  ------------------
 1707|  62.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 21.2k, False: 41.5k]
  ------------------
 1708|  62.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  62.7k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjmDpOT0_:
 1717|  62.7k|    {
 1718|  62.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 62.7k, False: 0]
  ------------------
 1719|  62.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 21.2k, False: 41.5k]
  |  Branch (1719:9): [True: 62.7k, False: 0]
  ------------------
 1720|  62.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  62.7k|        auto child     = node_->inner()[offset_hint];
 1722|  62.7k|        auto is_leaf   = shift_ == BL;
 1723|  62.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  62.7k|        auto next_idx  = idx - left_size_hint;
 1725|  62.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 13.3k, False: 49.3k]
  ------------------
 1726|  62.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  13.3k|                         .visit(v, next_idx, args...)
 1728|  62.7k|                   : visit_maybe_relaxed_sub(
 1729|  49.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  62.7k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
  144|  13.3k|    {
  145|  13.3k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  13.3k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcPT_jmT0_DpOT1_:
 1838|  49.3k|{
 1839|  49.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 49.3k, False: 0]
  ------------------
 1840|  49.3k|    auto relaxed = node->relaxed();
 1841|  49.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 47.8k, False: 1.52k]
  ------------------
 1842|  47.8k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 47.8k, False: 0]
  ------------------
 1843|  47.8k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  47.8k|            .visit(v, std::forward<Args>(args)...);
 1845|  47.8k|    } else {
 1846|  1.52k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.52k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.52k|    }
 1849|  49.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1813|  47.8k|    {
 1814|  47.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  47.8k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.52k|    {
 1037|  1.52k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.52k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  7.95k|    {
 1037|  7.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.95k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  3.98k|    {
  947|  3.98k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.98k|    }
_ZN5immer6detail4rbts22towards_sub_oh_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_22slice_left_mut_visitorISD_Lb1ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  3.98k|{
  654|  3.98k|    constexpr auto B  = bits<Pos>;
  655|  3.98k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.98k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.98k, False: 0]
  ------------------
  657|  3.98k|    auto is_leaf = p.shift() == BL;
  658|  3.98k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.98k|    auto lsize   = offset_hint << p.shift();
  660|  3.98k|    auto size    = p.this_size();
  661|  3.98k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.98k|    return is_full
  ------------------
  |  Branch (662:12): [True: 2.86k, False: 1.12k]
  ------------------
  663|  3.98k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 2.86k]
  ------------------
  664|  2.86k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  2.86k|                      : make_full_pos(child, p.shift() - B)
  666|  2.86k|                            .visit(v, idx - lsize, args...))
  667|  3.98k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.12k]
  ------------------
  668|  1.12k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.12k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.12k|                            .visit(v, idx - lsize, args...));
  672|  3.98k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1405|  3.16k|    {
 1406|  3.16k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.16k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|    308|    {
 1349|    308|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 308, False: 0]
  ------------------
 1350|    308|        auto is_leaf = shift_ == BL;
 1351|    308|        auto child   = node_->inner()[offset_hint];
 1352|    308|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    308|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 308]
  ------------------
 1354|    308|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    308|                   : make_full_pos(child, shift_ - B)
 1356|    308|                         .visit(v, idx - lsize, args...);
 1357|    308|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_22slice_left_mut_visitorISC_Lb1ELb1EEEJmRNSA_5applyIS7_E4type4editEEEEDcT_DpOT0_:
 1036|  1.12k|    {
 1037|  1.12k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.12k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcPT_jmT0_DpOT1_:
 1838|  22.5k|{
 1839|  22.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.5k, False: 0]
  ------------------
 1840|  22.5k|    auto relaxed = node->relaxed();
 1841|  22.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 15.6k, False: 6.90k]
  ------------------
 1842|  15.6k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 15.6k, False: 0]
  ------------------
 1843|  15.6k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  15.6k|            .visit(v, std::forward<Args>(args)...);
 1845|  15.6k|    } else {
 1846|  6.90k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.90k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.90k|    }
 1849|  22.5k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcT_DpOT0_:
 1813|  15.6k|    {
 1814|  15.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  15.6k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcPT_jmT0_DpOT1_:
 1838|  15.6k|{
 1839|  15.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 15.6k, False: 0]
  ------------------
 1840|  15.6k|    auto relaxed = node->relaxed();
 1841|  15.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.1k, False: 3.53k]
  ------------------
 1842|  12.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.1k, False: 0]
  ------------------
 1843|  12.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.1k|    } else {
 1846|  3.53k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.53k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.53k|    }
 1849|  15.6k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1813|  12.1k|    {
 1814|  12.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  12.1k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  39.6k|    {
 1794|  39.6k|        auto child      = node_->inner()[offset];
 1795|  39.6k|        auto child_size = size(offset);
 1796|  39.6k|        auto is_leaf    = shift_ == BL;
 1797|  39.6k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 13.9k, False: 25.7k]
  ------------------
 1798|  39.6k|                       : visit_maybe_relaxed_sub(
 1799|  25.7k|                             child, shift_ - B, child_size, v, args...);
 1800|  39.6k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  14.2k|    {
  145|  14.2k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  14.2k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1804|  14.2k|    {
 1805|  14.2k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 14.2k, False: 0]
  ------------------
 1806|  14.2k|        auto child      = node_->inner()[offset];
 1807|  14.2k|        auto child_size = size(offset);
 1808|  14.2k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  14.2k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  14.7k|    {
  145|  14.7k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  14.7k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  25.7k|{
 1839|  25.7k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 25.7k, False: 0]
  ------------------
 1840|  25.7k|    auto relaxed = node->relaxed();
 1841|  25.7k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 23.2k, False: 2.53k]
  ------------------
 1842|  23.2k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 23.2k, False: 0]
  ------------------
 1843|  23.2k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  23.2k|            .visit(v, std::forward<Args>(args)...);
 1845|  23.2k|    } else {
 1846|  2.53k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.53k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.53k|    }
 1849|  25.7k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  23.2k|    {
 1814|  23.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  23.2k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  23.2k|    {
 1794|  23.2k|        auto child      = node_->inner()[offset];
 1795|  23.2k|        auto child_size = size(offset);
 1796|  23.2k|        auto is_leaf    = shift_ == BL;
 1797|  23.2k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 23.2k]
  ------------------
 1798|  23.2k|                       : visit_maybe_relaxed_sub(
 1799|  23.2k|                             child, shift_ - B, child_size, v, args...);
 1800|  23.2k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  23.2k|{
 1839|  23.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 23.2k, False: 0]
  ------------------
 1840|  23.2k|    auto relaxed = node->relaxed();
 1841|  23.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 22.1k, False: 1.06k]
  ------------------
 1842|  22.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 22.1k, False: 0]
  ------------------
 1843|  22.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  22.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  22.1k|    } else {
 1846|  1.06k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.06k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.06k|    }
 1849|  23.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  22.1k|    {
 1814|  22.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  22.1k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.43k|    {
 1037|  1.43k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.43k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  7.19k|    {
 1794|  7.19k|        auto child      = node_->inner()[offset];
 1795|  7.19k|        auto child_size = size(offset);
 1796|  7.19k|        auto is_leaf    = shift_ == BL;
 1797|  7.19k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 4.10k, False: 3.09k]
  ------------------
 1798|  7.19k|                       : visit_maybe_relaxed_sub(
 1799|  3.09k|                             child, shift_ - B, child_size, v, args...);
 1800|  7.19k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  4.10k|    {
  145|  4.10k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  4.10k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1025|  4.10k|    {
 1026|  4.10k|        assert(shift_ == BL);
  ------------------
  |  Branch (1026:9): [True: 4.10k, False: 0]
  ------------------
 1027|  4.10k|        auto child   = node_->inner()[idx];
 1028|  4.10k|        auto lsize   = size(idx);
 1029|  4.10k|        auto is_full = idx + 1 < count();
 1030|  4.10k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1030:16): [True: 3.53k, False: 562]
  ------------------
 1031|  4.10k|                       : make_leaf_sub_pos(child, lsize).visit(v, args...);
 1032|  4.10k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  207|  7.42k|    {
  208|  7.42k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  7.42k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  3.09k|{
 1839|  3.09k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 3.09k, False: 0]
  ------------------
 1840|  3.09k|    auto relaxed = node->relaxed();
 1841|  3.09k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.36k, False: 728]
  ------------------
 1842|  2.36k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.36k, False: 0]
  ------------------
 1843|  2.36k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.36k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.36k|    } else {
 1846|    728|        return make_regular_sub_pos(node, shift, size)
 1847|    728|            .visit(v, std::forward<Args>(args)...);
 1848|    728|    }
 1849|  3.09k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  2.36k|    {
 1814|  2.36k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.36k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1007|  2.36k|    {
 1008|  2.36k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 2.36k, False: 0]
  ------------------
 1009|  2.36k|        auto is_leaf = shift_ == BL;
 1010|  2.36k|        auto child   = node_->inner()[idx];
 1011|  2.36k|        auto lsize   = size(idx);
 1012|  2.36k|        auto is_full = idx + 1 < count();
 1013|  2.36k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.99k, False: 369]
  ------------------
 1014|  2.36k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 1.99k]
  ------------------
 1015|  1.99k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.99k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  2.36k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 0, False: 369]
  ------------------
 1018|    369|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    369|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|    369|                                .visit(v, args...));
 1021|  2.36k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  2.88k|    {
 1406|  2.88k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.88k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1793|  5.75k|    {
 1794|  5.75k|        auto child      = node_->inner()[offset];
 1795|  5.75k|        auto child_size = size(offset);
 1796|  5.75k|        auto is_leaf    = shift_ == BL;
 1797|  5.75k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.88k, False: 1.86k]
  ------------------
 1798|  5.75k|                       : visit_maybe_relaxed_sub(
 1799|  1.86k|                             child, shift_ - B, child_size, v, args...);
 1800|  5.75k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  3.88k|    {
  145|  3.88k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.88k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_12leaf_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1396|  3.88k|    {
 1397|  3.88k|        assert(shift_ == BL);
  ------------------
  |  Branch (1397:9): [True: 3.88k, False: 0]
  ------------------
 1398|  3.88k|        assert(idx < count());
  ------------------
  |  Branch (1398:9): [True: 3.88k, False: 0]
  ------------------
 1399|  3.88k|        auto child = node_->inner()[idx];
 1400|  3.88k|        return make_full_leaf_pos(child).visit(v, args...);
 1401|  3.88k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  1.86k|{
 1839|  1.86k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.86k, False: 0]
  ------------------
 1840|  1.86k|    auto relaxed = node->relaxed();
 1841|  1.86k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 882, False: 985]
  ------------------
 1842|    882|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 882, False: 0]
  ------------------
 1843|    882|        return make_relaxed_pos(node, shift, relaxed)
 1844|    882|            .visit(v, std::forward<Args>(args)...);
 1845|    985|    } else {
 1846|    985|        return make_regular_sub_pos(node, shift, size)
 1847|    985|            .visit(v, std::forward<Args>(args)...);
 1848|    985|    }
 1849|  1.86k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|    882|    {
 1814|    882|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    882|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1386|    882|    {
 1387|    882|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 882, False: 0]
  ------------------
 1388|    882|        auto is_leaf = shift_ == BL;
 1389|    882|        auto child   = node_->inner()[idx];
 1390|    882|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 882]
  ------------------
 1391|    882|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|    882|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|    985|    {
 1037|    985|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    985|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1386|    985|    {
 1387|    985|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 985, False: 0]
  ------------------
 1388|    985|        auto is_leaf = shift_ == BL;
 1389|    985|        auto child   = node_->inner()[idx];
 1390|    985|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 985]
  ------------------
 1391|    985|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|    985|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  1.71k|    {
 1406|  1.71k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.71k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
 1222|  3.25k|    {
 1223|  3.25k|        auto p  = node_->inner();
 1224|  3.25k|        auto p2 = other->inner();
 1225|  3.25k|        auto e  = p + branches<B>;
 1226|  3.25k|        if (shift_ == BL) {
  ------------------
  |  Branch (1226:13): [True: 2.61k, False: 641]
  ------------------
 1227|  10.3k|            for (; p != e; ++p, ++p2) {
  ------------------
  |  Branch (1227:20): [True: 8.86k, False: 1.50k]
  ------------------
 1228|  8.86k|                IMMER_PREFETCH(p + 1);
 1229|  8.86k|                if (!make_full_leaf_pos(*p).visit(v, *p2, args...))
  ------------------
  |  Branch (1229:21): [True: 1.11k, False: 7.75k]
  ------------------
 1230|  1.11k|                    return false;
 1231|  8.86k|            }
 1232|  2.61k|        } else {
 1233|    641|            auto ss = shift_ - B;
 1234|  2.24k|            for (; p != e; ++p, ++p2)
  ------------------
  |  Branch (1234:20): [True: 1.93k, False: 304]
  ------------------
 1235|  1.93k|                if (!make_full_pos(*p, ss).visit(v, *p2, args...))
  ------------------
  |  Branch (1235:21): [True: 337, False: 1.59k]
  ------------------
 1236|    337|                    return false;
 1237|    641|        }
 1238|  1.80k|        return true;
 1239|  3.25k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  207|  12.9k|    {
  208|  12.9k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  12.9k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
 1405|  7.46k|    {
 1406|  7.46k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  7.46k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
  837|  4.94k|    {
  838|  4.94k|        return each_pred_zip_regular(*this, v, other, args...);
  839|  4.94k|    }
_ZN5immer6detail4rbts21each_pred_zip_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14equals_visitorEJEEEbOT_T0_PNSt3__15decayISH_E4type6node_tEDpOT1_:
  392|  4.94k|{
  393|  4.94k|    constexpr auto B  = bits<Pos>;
  394|  4.94k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  4.94k|    auto n    = p.node()->inner();
  397|  4.94k|    auto n2   = other->inner();
  398|  4.94k|    auto last = p.count() - 1;
  399|  4.94k|    auto e    = n + last;
  400|  4.94k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.53k, False: 3.41k]
  ------------------
  401|  3.80k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 2.69k, False: 1.10k]
  ------------------
  402|  2.69k|            IMMER_PREFETCH(n + 1);
  403|  2.69k|            IMMER_PREFETCH(n2 + 1);
  404|  2.69k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 424, False: 2.27k]
  ------------------
  405|    424|                return false;
  406|  2.69k|        }
  407|  1.10k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  3.41k|    } else {
  409|  3.41k|        auto ss = p.shift() - B;
  410|  6.94k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 4.19k, False: 2.74k]
  ------------------
  411|  4.19k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 668, False: 3.52k]
  ------------------
  412|    668|                return false;
  413|  2.74k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  3.41k|    }
  415|  4.94k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  112|  2.83k|    {
  113|  2.83k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.83k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  336|  3.86k|    {
  337|  3.86k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.86k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE13each_pred_zipINS1_14equals_visitorEJEEEbT_PSC_DpOT0_:
  255|  3.26k|    {
  256|  3.26k|        return each_pred_zip_regular(*this, v, other, args...);
  257|  3.26k|    }
_ZN5immer6detail4rbts21each_pred_zip_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_14equals_visitorEJEEEbOT_T0_PNSt3__15decayISH_E4type6node_tEDpOT1_:
  392|  3.26k|{
  393|  3.26k|    constexpr auto B  = bits<Pos>;
  394|  3.26k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  3.26k|    auto n    = p.node()->inner();
  397|  3.26k|    auto n2   = other->inner();
  398|  3.26k|    auto last = p.count() - 1;
  399|  3.26k|    auto e    = n + last;
  400|  3.26k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.94k, False: 1.31k]
  ------------------
  401|  3.10k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 1.38k, False: 1.72k]
  ------------------
  402|  1.38k|            IMMER_PREFETCH(n + 1);
  403|  1.38k|            IMMER_PREFETCH(n2 + 1);
  404|  1.38k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 225, False: 1.15k]
  ------------------
  405|    225|                return false;
  406|  1.38k|        }
  407|  1.72k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  1.94k|    } else {
  409|  1.31k|        auto ss = p.shift() - B;
  410|  2.44k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 1.33k, False: 1.11k]
  ------------------
  411|  1.33k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 200, False: 1.13k]
  ------------------
  412|    200|                return false;
  413|  1.11k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  1.31k|    }
  415|  3.26k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1386|  5.13k|    {
 1387|  5.13k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 5.13k, False: 0]
  ------------------
 1388|  5.13k|        auto is_leaf = shift_ == BL;
 1389|  5.13k|        auto child   = node_->inner()[idx];
 1390|  5.13k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.75k, False: 1.37k]
  ------------------
 1391|  5.13k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  5.13k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  207|   375k|    {
  208|   375k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   375k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_18region_for_visitorIiEEJRmEEEDcPT_jmT0_DpOT1_:
 1838|  10.6M|{
 1839|  10.6M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 10.6M, False: 0]
  ------------------
 1840|  10.6M|    auto relaxed = node->relaxed();
 1841|  10.6M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 10.2M, False: 416k]
  ------------------
 1842|  10.2M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 10.2M, False: 0]
  ------------------
 1843|  10.2M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  10.2M|            .visit(v, std::forward<Args>(args)...);
 1845|  10.2M|    } else {
 1846|   416k|        return make_regular_sub_pos(node, shift, size)
 1847|   416k|            .visit(v, std::forward<Args>(args)...);
 1848|   416k|    }
 1849|  10.6M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1813|  10.2M|    {
 1814|  10.2M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  10.2M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1679|  10.2M|    {
 1680|  10.2M|        return towards_oh(v, idx, subindex(idx), args...);
 1681|  10.2M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1686|  10.2M|    {
 1687|  10.2M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 10.2M, False: 0]
  ------------------
 1688|  10.2M|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 5.36M, False: 4.88M]
  ------------------
 1689|  10.2M|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  10.2M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE14towards_oh_sbhINS1_18region_for_visitorIiEEJEEEDcT_mjmDpOT0_:
 1698|  10.2M|    {
 1699|  10.2M|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  10.2M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE18towards_sub_oh_sbhINS1_18region_for_visitorIiEEJEEEDcT_mjmDpOT0_:
 1717|  10.2M|    {
 1718|  10.2M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 10.2M, False: 0]
  ------------------
 1719|  10.2M|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 5.36M, False: 4.88M]
  |  Branch (1719:9): [True: 10.2M, False: 0]
  ------------------
 1720|  10.2M|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  10.2M|        auto child     = node_->inner()[offset_hint];
 1722|  10.2M|        auto is_leaf   = shift_ == BL;
 1723|  10.2M|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  10.2M|        auto next_idx  = idx - left_size_hint;
 1725|  10.2M|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.06M, False: 9.18M]
  ------------------
 1726|  10.2M|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.06M|                         .visit(v, next_idx, args...)
 1728|  10.2M|                   : visit_maybe_relaxed_sub(
 1729|  9.18M|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  10.2M|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  144|  1.06M|    {
  145|  1.06M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.06M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1036|   416k|    {
 1037|   416k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   416k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  919|   416k|    {
  920|   416k|        return towards_oh_ch_regular(
  921|   416k|            *this, v, idx, index(idx), count(), args...);
  922|   416k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18region_for_visitorIiEEJEEEDcOT_T0_mjjDpOT1_:
  632|   416k|{
  633|   416k|    constexpr auto B  = bits<Pos>;
  634|   416k|    constexpr auto BL = bits_leaf<Pos>;
  635|   416k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 416k, False: 0]
  ------------------
  636|   416k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 416k, False: 0]
  ------------------
  637|   416k|    auto is_leaf = p.shift() == BL;
  638|   416k|    auto child   = p.node()->inner()[offset_hint];
  639|   416k|    auto is_full = offset_hint + 1 != count_hint;
  640|   416k|    return is_full
  ------------------
  |  Branch (640:12): [True: 298k, False: 118k]
  ------------------
  641|   416k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 51.1k, False: 246k]
  ------------------
  642|   298k|                          : make_full_pos(child, p.shift() - B)
  643|   246k|                                .visit(v, idx, args...))
  644|   416k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 23.3k, False: 94.9k]
  ------------------
  645|   118k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|   118k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  94.9k|                            .visit(v, idx, args...));
  648|   416k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  207|   383k|    {
  208|   383k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   383k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1405|  1.03M|    {
 1406|  1.03M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.03M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1322|  1.03M|    {
 1323|  1.03M|        return towards_oh(v, idx, index(idx), args...);
 1324|  1.03M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1336|  1.03M|    {
 1337|  1.03M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.03M, False: 0]
  ------------------
 1338|  1.03M|        auto is_leaf = shift_ == BL;
 1339|  1.03M|        auto child   = node_->inner()[offset_hint];
 1340|  1.03M|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 316k, False: 715k]
  ------------------
 1341|  1.03M|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.03M|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.03M|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  112|  32.8k|    {
  113|  32.8k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  32.8k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  336|   123k|    {
  337|   123k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   123k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  297|   123k|    {
  298|   123k|        return towards_oh_ch_regular(
  299|   123k|            *this, v, idx, index(idx), count(), args...);
  300|   123k|    }
_ZN5immer6detail4rbts21towards_oh_ch_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_18region_for_visitorIiEEJEEEDcOT_T0_mjjDpOT1_:
  632|   123k|{
  633|   123k|    constexpr auto B  = bits<Pos>;
  634|   123k|    constexpr auto BL = bits_leaf<Pos>;
  635|   123k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 123k, False: 0]
  ------------------
  636|   123k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 123k, False: 0]
  ------------------
  637|   123k|    auto is_leaf = p.shift() == BL;
  638|   123k|    auto child   = p.node()->inner()[offset_hint];
  639|   123k|    auto is_full = offset_hint + 1 != count_hint;
  640|   123k|    return is_full
  ------------------
  |  Branch (640:12): [True: 85.4k, False: 37.6k]
  ------------------
  641|   123k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 15.4k, False: 69.9k]
  ------------------
  642|  85.4k|                          : make_full_pos(child, p.shift() - B)
  643|  69.9k|                                .visit(v, idx, args...))
  644|   123k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 9.50k, False: 28.1k]
  ------------------
  645|  37.6k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  37.6k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  28.1k|                            .visit(v, idx, args...));
  648|   123k|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1405|  97.7k|    {
 1406|  97.7k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  97.7k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
 1202|  97.7k|    {
 1203|  97.7k|        auto p = node_->inner();
 1204|  97.7k|        auto e = p + branches<B>;
 1205|  97.7k|        if (shift_ == BL) {
  ------------------
  |  Branch (1205:13): [True: 77.8k, False: 19.8k]
  ------------------
 1206|   387k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1206:20): [True: 310k, False: 77.0k]
  ------------------
 1207|   310k|                IMMER_PREFETCH(p + 1);
 1208|   310k|                if (!make_full_leaf_pos(*p).visit(v, args...))
  ------------------
  |  Branch (1208:21): [True: 795, False: 309k]
  ------------------
 1209|    795|                    return false;
 1210|   310k|            }
 1211|  77.8k|        } else {
 1212|  19.8k|            auto ss = shift_ - B;
 1213|  98.2k|            for (; p != e; ++p)
  ------------------
  |  Branch (1213:20): [True: 78.7k, False: 19.4k]
  ------------------
 1214|  78.7k|                if (!make_full_pos(*p, ss).visit(v, args...))
  ------------------
  |  Branch (1214:21): [True: 366, False: 78.3k]
  ------------------
 1215|    366|                    return false;
 1216|  19.8k|        }
 1217|  96.5k|        return true;
 1218|  97.7k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|    728|    {
 1037|    728|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    728|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1007|    728|    {
 1008|    728|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 728, False: 0]
  ------------------
 1009|    728|        auto is_leaf = shift_ == BL;
 1010|    728|        auto child   = node_->inner()[idx];
 1011|    728|        auto lsize   = size(idx);
 1012|    728|        auto is_full = idx + 1 < count();
 1013|    728|        return is_full
  ------------------
  |  Branch (1013:16): [True: 728, False: 0]
  ------------------
 1014|    728|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 728]
  ------------------
 1015|    728|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|    728|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|    728|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 0, False: 0]
  ------------------
 1018|      0|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|      0|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|    728|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.83k|    {
 1037|  1.83k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.83k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1007|  4.85k|    {
 1008|  4.85k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.85k, False: 0]
  ------------------
 1009|  4.85k|        auto is_leaf = shift_ == BL;
 1010|  4.85k|        auto child   = node_->inner()[idx];
 1011|  4.85k|        auto lsize   = size(idx);
 1012|  4.85k|        auto is_full = idx + 1 < count();
 1013|  4.85k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.61k, False: 3.23k]
  ------------------
 1014|  4.85k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 1.25k, False: 365]
  ------------------
 1015|  1.61k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.61k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.85k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 1.79k, False: 1.44k]
  ------------------
 1018|  3.23k|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|  3.23k|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|  1.44k|                                .visit(v, args...));
 1021|  4.85k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  144|  1.04M|    {
  145|  1.04M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.04M|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1036|  26.3k|    {
 1037|  26.3k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  26.3k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
  831|  26.3k|    {
  832|  26.3k|        return each_pred_regular(*this, v, args...);
  833|  26.3k|    }
_ZN5immer6detail4rbts17each_pred_regularIRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSC_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEEbSM_SN_DpOT1_:
  365|  26.3k|{
  366|  26.3k|    constexpr auto B  = bits<Pos>;
  367|  26.3k|    constexpr auto BL = bits_leaf<Pos>;
  368|  26.3k|    auto n            = p.node()->inner();
  369|  26.3k|    auto last         = p.count() - 1;
  370|  26.3k|    auto e            = n + last;
  371|  26.3k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 19.3k, False: 7.06k]
  ------------------
  372|  65.0k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 45.9k, False: 19.0k]
  ------------------
  373|  45.9k|            IMMER_PREFETCH(n + 1);
  374|  45.9k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 232, False: 45.6k]
  ------------------
  375|    232|                return false;
  376|  45.9k|        }
  377|  19.0k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  19.3k|    } else {
  379|  7.06k|        auto ss = p.shift() - B;
  380|  20.5k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 13.9k, False: 6.53k]
  ------------------
  381|  13.9k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 524, False: 13.4k]
  ------------------
  382|    524|                return false;
  383|  6.53k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  7.06k|    }
  385|  26.3k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  112|  25.0k|    {
  113|  25.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  25.0k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
  336|  8.67k|    {
  337|  8.67k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  8.67k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
  249|  8.67k|    {
  250|  8.67k|        return each_pred_regular(*this, v, args...);
  251|  8.67k|    }
_ZN5immer6detail4rbts17each_pred_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSC_Lj2ELj2EEEEEDaOT_EUlSL_T0_E_EEEbSM_SN_DpOT1_:
  365|  8.67k|{
  366|  8.67k|    constexpr auto B  = bits<Pos>;
  367|  8.67k|    constexpr auto BL = bits_leaf<Pos>;
  368|  8.67k|    auto n            = p.node()->inner();
  369|  8.67k|    auto last         = p.count() - 1;
  370|  8.67k|    auto e            = n + last;
  371|  8.67k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 6.28k, False: 2.38k]
  ------------------
  372|  20.0k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 14.0k, False: 6.01k]
  ------------------
  373|  14.0k|            IMMER_PREFETCH(n + 1);
  374|  14.0k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 271, False: 13.7k]
  ------------------
  375|    271|                return false;
  376|  14.0k|        }
  377|  6.01k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  6.28k|    } else {
  379|  2.38k|        auto ss = p.shift() - B;
  380|  5.37k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 3.24k, False: 2.13k]
  ------------------
  381|  3.24k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 252, False: 2.99k]
  ------------------
  382|    252|                return false;
  383|  2.13k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  2.38k|    }
  385|  8.67k|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  2.53k|    {
 1037|  2.53k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.53k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  2.53k|    {
 1794|  2.53k|        auto child      = node_->inner()[offset];
 1795|  2.53k|        auto child_size = size(offset);
 1796|  2.53k|        auto is_leaf    = shift_ == BL;
 1797|  2.53k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.53k]
  ------------------
 1798|  2.53k|                       : visit_maybe_relaxed_sub(
 1799|  2.53k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.53k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  2.53k|{
 1839|  2.53k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.53k, False: 0]
  ------------------
 1840|  2.53k|    auto relaxed = node->relaxed();
 1841|  2.53k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 697, False: 1.83k]
  ------------------
 1842|    697|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 697, False: 0]
  ------------------
 1843|    697|        return make_relaxed_pos(node, shift, relaxed)
 1844|    697|            .visit(v, std::forward<Args>(args)...);
 1845|  1.83k|    } else {
 1846|  1.83k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.83k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.83k|    }
 1849|  2.53k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|    697|    {
 1814|    697|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    697|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1007|  4.54k|    {
 1008|  4.54k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.54k, False: 0]
  ------------------
 1009|  4.54k|        auto is_leaf = shift_ == BL;
 1010|  4.54k|        auto child   = node_->inner()[idx];
 1011|  4.54k|        auto lsize   = size(idx);
 1012|  4.54k|        auto is_full = idx + 1 < count();
 1013|  4.54k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 4.22k, False: 317]
  ------------------
 1014|  4.54k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 2.05k, False: 2.17k]
  ------------------
 1015|  4.22k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  4.22k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.54k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 317, False: 0]
  ------------------
 1018|    317|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    317|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|  4.54k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  207|  5.26k|    {
  208|  5.26k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.26k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE12nth_sub_leafINS1_14equals_visitorEJRNS1_13full_leaf_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1804|  5.26k|    {
 1805|  5.26k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 5.26k, False: 0]
  ------------------
 1806|  5.26k|        auto child      = node_->inner()[offset];
 1807|  5.26k|        auto child_size = size(offset);
 1808|  5.26k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  5.26k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_13full_leaf_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
  144|  5.26k|    {
  145|  5.26k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.26k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1405|  3.37k|    {
 1406|  3.37k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.37k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcjT_DpOT0_:
 1793|  3.37k|    {
 1794|  3.37k|        auto child      = node_->inner()[offset];
 1795|  3.37k|        auto child_size = size(offset);
 1796|  3.37k|        auto is_leaf    = shift_ == BL;
 1797|  3.37k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 3.37k]
  ------------------
 1798|  3.37k|                       : visit_maybe_relaxed_sub(
 1799|  3.37k|                             child, shift_ - B, child_size, v, args...);
 1800|  3.37k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  3.37k|{
 1839|  3.37k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 3.37k, False: 0]
  ------------------
 1840|  3.37k|    auto relaxed = node->relaxed();
 1841|  3.37k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.35k, False: 1.01k]
  ------------------
 1842|  2.35k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.35k, False: 0]
  ------------------
 1843|  2.35k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.35k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.35k|    } else {
 1846|  1.01k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.01k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.01k|    }
 1849|  3.37k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1813|  2.35k|    {
 1814|  2.35k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.35k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_14equals_visitor10this_aux_tEJRjRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcjT_DpOT0_:
 1386|  4.41k|    {
 1387|  4.41k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 4.41k, False: 0]
  ------------------
 1388|  4.41k|        auto is_leaf = shift_ == BL;
 1389|  4.41k|        auto child   = node_->inner()[idx];
 1390|  4.41k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.20k, False: 1.20k]
  ------------------
 1391|  4.41k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  4.41k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_8full_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcT_DpOT0_:
 1036|  1.01k|    {
 1037|  1.01k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.01k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7nth_subINS1_24for_each_chunk_p_visitorEJZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcjSK_DpOT0_:
 1793|  35.9k|    {
 1794|  35.9k|        auto child      = node_->inner()[offset];
 1795|  35.9k|        auto child_size = size(offset);
 1796|  35.9k|        auto is_leaf    = shift_ == BL;
 1797|  35.9k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 15.5k, False: 20.4k]
  ------------------
 1798|  35.9k|                       : visit_maybe_relaxed_sub(
 1799|  20.4k|                             child, shift_ - B, child_size, v, args...);
 1800|  35.9k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSI_T0_E_EEEDcPSI_jmSK_DpOT1_:
 1838|   695k|{
 1839|   695k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 695k, False: 0]
  ------------------
 1840|   695k|    auto relaxed = node->relaxed();
 1841|   695k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 670k, False: 24.9k]
  ------------------
 1842|   670k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 670k, False: 0]
  ------------------
 1843|   670k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   670k|            .visit(v, std::forward<Args>(args)...);
 1845|   670k|    } else {
 1846|  24.9k|        return make_regular_sub_pos(node, shift, size)
 1847|  24.9k|            .visit(v, std::forward<Args>(args)...);
 1848|  24.9k|    }
 1849|   695k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEDcSK_DpOT0_:
 1813|   670k|    {
 1814|   670k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   670k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_predINS1_24for_each_chunk_p_visitorEJRZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEEEDaOT_EUlSK_T0_E_EEEbSK_DpOT0_:
 1482|   670k|    {
 1483|   670k|        auto p = node_->inner();
 1484|   670k|        auto s = size_t{};
 1485|   670k|        auto n = count();
 1486|   670k|        if (shift_ == BL) {
  ------------------
  |  Branch (1486:13): [True: 303k, False: 366k]
  ------------------
 1487|  1.32M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1487:39): [True: 1.02M, False: 303k]
  ------------------
 1488|  1.02M|                IMMER_PREFETCH(p + i + 1);
 1489|  1.02M|                if (!make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
  ------------------
  |  Branch (1489:21): [True: 456, False: 1.02M]
  ------------------
 1490|  1.02M|                         .visit(v, args...))
 1491|    456|                    return false;
 1492|  1.02M|                s = relaxed_->d.sizes[i];
 1493|  1.02M|            }
 1494|   366k|        } else {
 1495|   366k|            auto ss = shift_ - B;
 1496|  1.04M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1496:39): [True: 675k, False: 366k]
  ------------------
 1497|   675k|                if (!visit_maybe_relaxed_sub(
  ------------------
  |  Branch (1497:21): [True: 545, False: 674k]
  ------------------
 1498|   675k|                        p[i], ss, relaxed_->d.sizes[i] - s, v, args...))
 1499|    545|                    return false;
 1500|   674k|                s = relaxed_->d.sizes[i];
 1501|   674k|            }
 1502|   366k|        }
 1503|   669k|        return true;
 1504|   670k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1036|  3.53k|    {
 1037|  3.53k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.53k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE15first_sub_innerINS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcT_DpOT0_:
 1783|  1.60k|    {
 1784|  1.60k|        assert(shift_ > BL);
  ------------------
  |  Branch (1784:9): [True: 1.60k, False: 0]
  ------------------
 1785|  1.60k|        auto child      = node_->inner()[0];
 1786|  1.60k|        auto child_size = relaxed_->d.sizes[0];
 1787|  1.60k|        return visit_maybe_relaxed_sub(
 1788|  1.60k|            child, shift_ - B, child_size, v, args...);
 1789|  1.60k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcPT_jmT0_DpOT1_:
 1838|  1.60k|{
 1839|  1.60k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.60k, False: 0]
  ------------------
 1840|  1.60k|    auto relaxed = node->relaxed();
 1841|  1.60k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.60k, False: 0]
  ------------------
 1842|  1.60k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.60k, False: 0]
  ------------------
 1843|  1.60k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.60k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.60k|    } else {
 1846|      0|        return make_regular_sub_pos(node, shift, size)
 1847|      0|            .visit(v, std::forward<Args>(args)...);
 1848|      0|    }
 1849|  1.60k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJRNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERPSC_RjRmEEEDcT_DpOT0_:
 1813|  1.60k|    {
 1814|  1.60k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.60k|    }
_ZN5immer6detail4rbts23visit_maybe_relaxed_subINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcPT_jmT0_DpOT1_:
 1838|  6.90k|{
 1839|  6.90k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 6.90k, False: 0]
  ------------------
 1840|  6.90k|    auto relaxed = node->relaxed();
 1841|  6.90k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.28k, False: 4.62k]
  ------------------
 1842|  2.28k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.28k, False: 0]
  ------------------
 1843|  2.28k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.28k|            .visit(v, std::forward<Args>(args)...);
 1845|  4.62k|    } else {
 1846|  4.62k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.62k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.62k|    }
 1849|  6.90k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRNS1_15regular_sub_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1813|  2.28k|    {
 1814|  2.28k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.28k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRSD_RNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEEmEEEDcT_DpOT0_:
 1036|  4.62k|    {
 1037|  4.62k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.62k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitor3rrbEJNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERKPSC_RKjRmEEEDcT_DpOT0_:
 1036|  6.90k|    {
 1037|  6.90k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.90k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRKPSC_EEEDcT_DpOT0_:
  144|  7.36k|    {
  145|  7.36k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  7.36k|    }

_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
  112|  1.58M|        : size{0}
  113|  1.58M|        , shift{BL}
  114|  1.58M|        , root{empty_root()}
  115|  1.58M|        , tail{empty_tail()}
  116|  1.58M|    {
  117|       |        assert(check_tree());
  ------------------
  |  Branch (117:9): [True: 1.58M, False: 0]
  ------------------
  118|  1.58M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEv:
   61|  1.59M|    {
   62|  1.59M|        static const auto empty_ = [] {
   63|  1.59M|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|  1.59M|            static aligned_storage_t<size, alignof(std::max_align_t)> storage;
   65|  1.59M|            return node_t::make_inner_n_into(&storage, size, 0u);
   66|  1.59M|        }();
   67|  1.59M|        return empty_->inc();
   68|  1.59M|    }
_ZZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEvENKUlvE_clEv:
   62|      1|        static const auto empty_ = [] {
   63|      1|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|      1|            static aligned_storage_t<size, alignof(std::max_align_t)> storage;
   65|      1|            return node_t::make_inner_n_into(&storage, size, 0u);
   66|      1|        }();
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEv:
   71|  1.58M|    {
   72|  1.58M|        static const auto empty_ = [] {
   73|  1.58M|            constexpr auto size = node_t::sizeof_leaf_n(0);
   74|  1.58M|            static aligned_storage_t<size, alignof(std::max_align_t)> storage;
   75|  1.58M|            return node_t::make_leaf_n_into(&storage, size, 0u);
   76|  1.58M|        }();
   77|  1.58M|        return empty_->inc();
   78|  1.58M|    }
_ZZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEvENKUlvE_clEv:
   72|      1|        static const auto empty_ = [] {
   73|      1|            constexpr auto size = node_t::sizeof_leaf_n(0);
   74|      1|            static aligned_storage_t<size, alignof(std::max_align_t)> storage;
   75|      1|            return node_t::make_leaf_n_into(&storage, size, 0u);
   76|      1|        }();
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10check_treeEv:
 1370|  3.11M|    {
 1371|  3.11M|        IMMER_INVALID_STATE_ASSERT(shift <= sizeof(size_t) * 8 - BL);
  ------------------
  |  |   32|  3.11M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.11M]
  |  |  ------------------
  |  |   33|  3.11M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1372|  3.11M|        IMMER_INVALID_STATE_ASSERT(shift >= BL);
  ------------------
  |  |   32|  3.11M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.11M]
  |  |  ------------------
  |  |   33|  3.11M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1373|  3.11M|        IMMER_INVALID_STATE_ASSERT(tail_offset() <= size);
  ------------------
  |  |   32|  3.11M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.11M]
  |  |  ------------------
  |  |   33|  3.11M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1374|  3.11M|        IMMER_INVALID_STATE_ASSERT(tail_size() <= branches<BL>);
  ------------------
  |  |   32|  3.11M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.11M]
  |  |  ------------------
  |  |   33|  3.11M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1375|       |#if IMMER_DEBUG_DEEP_CHECK
 1376|       |        IMMER_INVALID_STATE_ASSERT(check_root());
 1377|       |        IMMER_INVALID_STATE_ASSERT(check_tail());
 1378|       |#endif
 1379|  3.11M|        return true;
 1380|  3.11M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11tail_offsetEv:
  195|  15.4M|    {
  196|  15.4M|        auto r = root->relaxed();
  197|  15.4M|        assert(r == nullptr || r->d.count);
  ------------------
  |  Branch (197:9): [True: 7.85M, False: 7.61M]
  |  Branch (197:9): [True: 7.61M, False: 0]
  |  Branch (197:9): [True: 15.4M, False: 0]
  ------------------
  198|  15.4M|        return r      ? r->d.sizes[r->d.count - 1]
  ------------------
  |  Branch (198:16): [True: 7.61M, False: 7.85M]
  ------------------
  199|  15.4M|               : size ? (size - 1) & ~mask<BL>
  ------------------
  |  Branch (199:18): [True: 3.08M, False: 4.76M]
  ------------------
  200|       |                      /* otherwise */
  201|  7.85M|                      : 0;
  202|  15.4M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9tail_sizeEv:
  192|  3.56M|    auto tail_size() const { return size - tail_offset(); }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EED2Ev:
  182|  3.11M|    ~rrbtree() { dec(); }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3decEv:
  190|  3.11M|    void dec() const { traverse(dec_visitor()); }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8traverseINS1_11dec_visitorEJEEEvT_DpOT0_:
  206|  3.11M|    {
  207|  3.11M|        auto tail_off  = tail_offset();
  208|  3.11M|        auto tail_size = size - tail_off;
  209|       |
  210|  3.11M|        if (tail_off)
  ------------------
  |  Branch (210:13): [True: 1.45M, False: 1.66M]
  ------------------
  211|  1.45M|            visit_maybe_relaxed_sub(root, shift, tail_off, v, args...);
  212|  1.66M|        else
  213|  1.66M|            make_empty_regular_pos(root).visit(v, args...);
  214|       |
  215|  3.11M|        if (tail_size)
  ------------------
  |  Branch (215:13): [True: 1.53M, False: 1.58M]
  ------------------
  216|  1.53M|            make_leaf_sub_pos(tail, tail_size).visit(v, args...);
  217|  1.58M|        else
  218|  1.58M|            make_empty_leaf_pos(tail).visit(v, args...);
  219|  3.11M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  498|   406k|    {
  499|   406k|        auto ts = tail_size();
  500|   406k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (500:13): [True: 296k, False: 110k]
  ------------------
  501|   296k|            auto new_tail =
  502|   296k|                node_t::copy_leaf_emplace(tail, ts, std::move(value));
  503|   296k|            return {size + 1, shift, root->inc(), new_tail};
  504|   296k|        } else {
  505|   110k|            using std::get;
  506|   110k|            auto new_tail = node_t::make_leaf_n(1u, std::move(value));
  507|   110k|            auto tail_off = tail_offset();
  508|   110k|            IMMER_TRY {
  ------------------
  |  |   49|   110k|#define IMMER_TRY try
  ------------------
  509|   110k|                auto new_root =
  510|   110k|                    push_tail(root, shift, tail_off, tail, size - tail_off);
  511|   110k|                tail->inc();
  512|   110k|                return {size + 1, get<0>(new_root), get<1>(new_root), new_tail};
  513|   110k|            }
  514|   110k|            IMMER_CATCH (...) {
  515|      0|                node_t::delete_leaf(new_tail, 1u);
  516|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  517|      0|            }
  518|   110k|        }
  519|   406k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EmjPNS1_4nodeIiSA_Lj2ELj2EEESE_:
  125|  1.53M|        : size{sz}
  126|  1.53M|        , shift{sh}
  127|  1.53M|        , root{r}
  128|  1.53M|        , tail{t}
  129|  1.53M|    {
  130|  1.53M|#if IMMER_THROW_ON_INVALID_STATE
  131|       |        // assert only happens in the Debug build, but when
  132|       |        // IMMER_THROW_ON_INVALID_STATE is activated, we want to just check_tree
  133|       |        // even in Release.
  134|  1.53M|        try {
  135|  1.53M|            check_tree();
  136|  1.53M|        } catch (...) {
  137|       |            // This not fully constructed rrbtree owns the nodes already, have
  138|       |            // to dec them.
  139|      0|            if (r && t)
  ------------------
  |  Branch (139:17): [True: 0, False: 0]
  |  Branch (139:22): [True: 0, False: 0]
  ------------------
  140|      0|                dec();
  141|      0|            throw;
  142|      0|        }
  143|       |#else
  144|       |        assert(check_tree());
  145|       |#endif
  146|  1.53M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_tailEPNS1_4nodeIiSA_Lj2ELj2EEEjmSE_j:
  367|   554k|    {
  368|   554k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (368:18): [True: 194k, False: 359k]
  ------------------
  369|   194k|            auto new_root =
  370|   194k|                make_relaxed_pos(root, shift, r)
  371|   194k|                    .visit(push_tail_visitor<node_t>{}, tail, tail_size);
  372|   194k|            if (new_root)
  ------------------
  |  Branch (372:17): [True: 192k, False: 2.48k]
  ------------------
  373|   192k|                return std::make_tuple(shift, new_root);
  374|  2.48k|            else {
  375|  2.48k|                auto new_root = node_t::make_inner_r_n(2);
  376|  2.48k|                IMMER_TRY {
  ------------------
  |  |   49|  2.48k|#define IMMER_TRY try
  ------------------
  377|  2.48k|                    auto new_path        = node_t::make_path(shift, tail);
  378|  2.48k|                    new_root->inner()[0] = root->inc();
  379|  2.48k|                    new_root->inner()[1] = new_path;
  380|  2.48k|                    new_root->relaxed()->d.sizes[0] = size;
  381|  2.48k|                    new_root->relaxed()->d.sizes[1] = size + tail_size;
  382|  2.48k|                    assert(size);
  ------------------
  |  Branch (382:21): [True: 2.48k, False: 0]
  ------------------
  383|  2.48k|                    assert(tail_size);
  ------------------
  |  Branch (383:21): [True: 2.48k, False: 0]
  ------------------
  384|  2.48k|                    new_root->relaxed()->d.count = 2u;
  385|  2.48k|                }
  386|  2.48k|                IMMER_CATCH (...) {
  387|      0|                    node_t::delete_inner_r(new_root, 2);
  388|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  389|      0|                }
  390|  2.48k|                return std::make_tuple(shift + B, new_root);
  391|  2.48k|            }
  392|   359k|        } else if (size == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (392:20): [True: 5.23k, False: 354k]
  ------------------
  393|  5.23k|            auto new_root = node_t::make_inner_n(2);
  394|  5.23k|            IMMER_TRY {
  ------------------
  |  |   49|  5.23k|#define IMMER_TRY try
  ------------------
  395|  5.23k|                auto new_path        = node_t::make_path(shift, tail);
  396|  5.23k|                new_root->inner()[0] = root->inc();
  397|  5.23k|                new_root->inner()[1] = new_path;
  398|  5.23k|            }
  399|  5.23k|            IMMER_CATCH (...) {
  400|      0|                node_t::delete_inner(new_root, 2);
  401|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  402|      0|            }
  403|  5.23k|            return std::make_tuple(shift + B, new_root);
  404|   354k|        } else if (size) {
  ------------------
  |  Branch (404:20): [True: 343k, False: 10.7k]
  ------------------
  405|   343k|            auto new_root = make_regular_sub_pos(root, shift, size)
  406|   343k|                                .visit(push_tail_visitor<node_t>{}, tail);
  407|   343k|            return std::make_tuple(shift, new_root);
  408|   343k|        } else {
  409|  10.7k|            return std::make_tuple(shift, node_t::make_path(shift, tail));
  410|  10.7k|        }
  411|   554k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EOSB_:
  155|  1.50M|        : rrbtree{}
  156|  1.50M|    {
  157|  1.50M|        swap(*this, other);
  158|  1.50M|    }
_ZN5immer6detail4rbts4swapERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESC_:
  174|  3.40M|    {
  175|  3.40M|        using std::swap;
  176|  3.40M|        swap(x.size, y.size);
  177|  3.40M|        swap(x.shift, y.shift);
  178|  3.40M|        swap(x.root, y.root);
  179|  3.40M|        swap(x.tail, y.tail);
  180|  3.40M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSEOSB_:
  168|  1.90M|    {
  169|  1.90M|        swap(*this, other);
  170|  1.90M|        return *this;
  171|  1.90M|    }
flex-vector.cpp:_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSG_E_EESB_mOSG_:
  578|   126k|    {
  579|   126k|        auto tail_off = tail_offset();
  580|   126k|        if (idx >= tail_off) {
  ------------------
  |  Branch (580:13): [True: 29.1k, False: 97.0k]
  ------------------
  581|  29.1k|            auto tail_size = size - tail_off;
  582|  29.1k|            auto new_tail =
  583|  29.1k|                make_leaf_sub_pos(tail, tail_size)
  584|  29.1k|                    .visit(update_visitor<node_t>{}, idx - tail_off, fn);
  585|  29.1k|            return {size, shift, root->inc(), new_tail};
  586|  97.0k|        } else {
  587|  97.0k|            auto new_root = visit_maybe_relaxed_sub(
  588|  97.0k|                root, shift, tail_off, update_visitor<node_t>{}, idx, fn);
  589|  97.0k|            return {size, shift, new_root, tail->inc()};
  590|  97.0k|        }
  591|   126k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  645|  25.4k|    {
  646|  25.4k|        auto tail_off = tail_offset();
  647|  25.4k|        if (new_size == 0) {
  ------------------
  |  Branch (647:13): [True: 3.40k, False: 21.9k]
  ------------------
  648|  3.40k|            return {};
  649|  21.9k|        } else if (new_size >= size) {
  ------------------
  |  Branch (649:20): [True: 1.54k, False: 20.4k]
  ------------------
  650|  1.54k|            return *this;
  651|  20.4k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (651:20): [True: 2.02k, False: 18.4k]
  ------------------
  652|  2.02k|            auto new_tail = node_t::copy_leaf(tail, new_size - tail_off);
  653|  2.02k|            return {new_size, shift, root->inc(), new_tail};
  654|  18.4k|        } else {
  655|  18.4k|            using std::get;
  656|  18.4k|            auto l = new_size - 1;
  657|  18.4k|            auto v = slice_right_visitor<node_t>();
  658|  18.4k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l);
  659|  18.4k|            auto new_shift = get<0>(r);
  660|  18.4k|            auto new_root  = get<1>(r);
  661|  18.4k|            auto new_tail  = get<3>(r);
  662|  18.4k|            if (new_root) {
  ------------------
  |  Branch (662:17): [True: 14.1k, False: 4.27k]
  ------------------
  663|  14.1k|                IMMER_ASSERT_TAGGED(new_root->compute_shift() == get<0>(r));
  ------------------
  |  |   68|  14.1k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (663:17): [True: 14.1k, False: 0]
  ------------------
  664|  14.1k|                assert(new_root->check(new_shift, new_size - get<2>(r)));
  ------------------
  |  Branch (664:17): [True: 14.1k, False: 0]
  ------------------
  665|  14.1k|                return {new_size, new_shift, new_root, new_tail};
  666|  14.1k|            } else {
  667|  4.27k|                return {new_size, BL, empty_root(), new_tail};
  668|  4.27k|            }
  669|  18.4k|        }
  670|  25.4k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKSB_:
  149|  9.42k|        : rrbtree{other.size, other.shift, other.root, other.tail}
  150|  9.42k|    {
  151|  9.42k|        inc();
  152|  9.42k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  185|  9.42k|    {
  186|  9.42k|        root->inc();
  187|  9.42k|        tail->inc();
  188|  9.42k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  709|  26.8k|    {
  710|  26.8k|        if (elems == 0) {
  ------------------
  |  Branch (710:13): [True: 2.14k, False: 24.7k]
  ------------------
  711|  2.14k|            return *this;
  712|  24.7k|        } else if (elems >= size) {
  ------------------
  |  Branch (712:20): [True: 2.23k, False: 22.4k]
  ------------------
  713|  2.23k|            return {};
  714|  22.4k|        } else if (elems == tail_offset()) {
  ------------------
  |  Branch (714:20): [True: 2.31k, False: 20.1k]
  ------------------
  715|  2.31k|            return {size - elems, BL, empty_root(), tail->inc()};
  716|  20.1k|        } else if (elems > tail_offset()) {
  ------------------
  |  Branch (716:20): [True: 2.12k, False: 18.0k]
  ------------------
  717|  2.12k|            auto tail_off = tail_offset();
  718|  2.12k|            auto new_tail =
  719|  2.12k|                node_t::copy_leaf(tail, elems - tail_off, size - tail_off);
  720|  2.12k|            return {size - elems, BL, empty_root(), new_tail};
  721|  18.0k|        } else {
  722|  18.0k|            using std::get;
  723|  18.0k|            auto v = slice_left_visitor<node_t>();
  724|  18.0k|            auto r =
  725|  18.0k|                visit_maybe_relaxed_sub(root, shift, tail_offset(), v, elems);
  726|  18.0k|            auto new_root  = get<1>(r);
  727|  18.0k|            auto new_shift = get<0>(r);
  728|  18.0k|            return {size - elems, new_shift, new_root, tail->inc()};
  729|  18.0k|        }
  730|  26.8k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   54|  2.03M|    {
   55|  2.03M|        auto S = sizeof(size_t) * 8;
   56|  2.03M|        return ((size_t{1} << BL) - std::min(size_t{BL}, size_t{2})) *
   57|  2.03M|               ipow((size_t{1} << B) - 2, (S - BL) / B);
   58|  2.03M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6concatERKSB_:
  733|   881k|    {
  734|   881k|        assert(r.size + size <= max_size());
  ------------------
  |  Branch (734:9): [True: 881k, False: 0]
  ------------------
  735|   881k|        using std::get;
  736|   881k|        if (size == 0)
  ------------------
  |  Branch (736:13): [True: 2.29k, False: 879k]
  ------------------
  737|  2.29k|            return r;
  738|   879k|        else if (r.size == 0)
  ------------------
  |  Branch (738:18): [True: 1.56k, False: 878k]
  ------------------
  739|  1.56k|            return *this;
  740|   878k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (740:18): [True: 452k, False: 425k]
  ------------------
  741|       |            // just concat the tail, similar to push_back
  742|   452k|            auto tail_offst = tail_offset();
  743|   452k|            auto tail_size  = size - tail_offst;
  744|   452k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (744:17): [True: 123k, False: 328k]
  ------------------
  745|   123k|                auto new_root =
  746|   123k|                    push_tail(root, shift, tail_offst, tail, tail_size);
  747|   123k|                tail->inc();
  748|   123k|                return {size + r.size,
  749|   123k|                        get<0>(new_root),
  750|   123k|                        get<1>(new_root),
  751|   123k|                        r.tail->inc()};
  752|   328k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (752:24): [True: 8.81k, False: 320k]
  ------------------
  753|  8.81k|                auto new_tail =
  754|  8.81k|                    node_t::copy_leaf(tail, tail_size, r.tail, r.size);
  755|  8.81k|                return {size + r.size, shift, root->inc(), new_tail};
  756|   320k|            } else {
  757|   320k|                auto remaining = branches<BL> - tail_size;
  758|   320k|                auto add_tail =
  759|   320k|                    node_t::copy_leaf(tail, tail_size, r.tail, remaining);
  760|   320k|                IMMER_TRY {
  ------------------
  |  |   49|   320k|#define IMMER_TRY try
  ------------------
  761|   320k|                    auto new_tail =
  762|   320k|                        node_t::copy_leaf(r.tail, remaining, r.size);
  763|   320k|                    IMMER_TRY {
  ------------------
  |  |   49|   320k|#define IMMER_TRY try
  ------------------
  764|   320k|                        auto new_root = push_tail(
  765|   320k|                            root, shift, tail_offst, add_tail, branches<BL>);
  766|   320k|                        return {size + r.size,
  767|   320k|                                get<0>(new_root),
  768|   320k|                                get<1>(new_root),
  769|   320k|                                new_tail};
  770|   320k|                    }
  771|   320k|                    IMMER_CATCH (...) {
  772|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  773|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  774|      0|                    }
  775|   320k|                }
  776|   320k|                IMMER_CATCH (...) {
  777|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
  778|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  779|      0|                }
  780|   320k|            }
  781|   452k|        } else if (tail_offset() == 0) {
  ------------------
  |  Branch (781:20): [True: 3.24k, False: 422k]
  ------------------
  782|  3.24k|            auto tail_offst = tail_offset();
  783|  3.24k|            auto tail_size  = size - tail_offst;
  784|  3.24k|            auto concated =
  785|  3.24k|                concat_trees(tail, tail_size, r.root, r.shift, r.tail_offset());
  786|  3.24k|            auto new_shift = concated.shift();
  787|  3.24k|            auto new_root  = concated.node();
  788|  3.24k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|  3.24k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (788:13): [True: 3.24k, False: 0]
  ------------------
  789|  3.24k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (789:13): [True: 3.24k, False: 0]
  ------------------
  790|  3.24k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  791|   422k|        } else {
  792|   422k|            auto tail_offst = tail_offset();
  793|   422k|            auto tail_size  = size - tail_offst;
  794|   422k|            auto concated   = concat_trees(root,
  795|   422k|                                         shift,
  796|   422k|                                         tail_offst,
  797|   422k|                                         tail,
  798|   422k|                                         tail_size,
  799|   422k|                                         r.root,
  800|   422k|                                         r.shift,
  801|   422k|                                         r.tail_offset());
  802|   422k|            auto new_shift  = concated.shift();
  803|   422k|            auto new_root   = concated.node();
  804|   422k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|   422k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (804:13): [True: 422k, False: 0]
  ------------------
  805|   422k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (805:13): [True: 422k, False: 0]
  ------------------
  806|   422k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  807|   422k|        }
  808|   881k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_back_mutENS9_5applyIS6_E4type4editEi:
  476|  32.3k|    {
  477|  32.3k|        auto ts = tail_size();
  478|  32.3k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (478:13): [True: 18.4k, False: 13.9k]
  ------------------
  479|  18.4k|            ensure_mutable_tail(e, ts);
  480|  18.4k|            new (&tail->leaf()[ts]) T(std::move(value));
  481|  18.4k|        } else {
  482|  13.9k|            using std::get;
  483|  13.9k|            auto new_tail = node_t::make_leaf_e(e, std::move(value));
  484|  13.9k|            auto tail_off = tail_offset();
  485|  13.9k|            IMMER_TRY {
  ------------------
  |  |   49|  13.9k|#define IMMER_TRY try
  ------------------
  486|  13.9k|                push_tail_mut(e, tail_off, tail, ts);
  487|  13.9k|                tail = new_tail;
  488|  13.9k|            }
  489|  13.9k|            IMMER_CATCH (...) {
  490|      0|                node_t::delete_leaf(new_tail, 1u);
  491|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  492|      0|            }
  493|  13.9k|        }
  494|  32.3k|        ++size;
  495|  32.3k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE19ensure_mutable_tailENS9_5applyIS6_E4type4editEj:
  467|   172k|    {
  468|   172k|        if (!tail->can_mutate(e)) {
  ------------------
  |  Branch (468:13): [True: 4.01k, False: 168k]
  ------------------
  469|  4.01k|            auto new_tail = node_t::copy_leaf_e(e, tail, n);
  470|  4.01k|            dec_leaf(tail, n);
  471|  4.01k|            tail = new_tail;
  472|  4.01k|        }
  473|   172k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_tail_mutENS9_5applyIS6_E4type4editEmPNS1_4nodeIiSA_Lj2ELj2EEEj:
  415|   182k|    {
  416|   182k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (416:18): [True: 42.1k, False: 140k]
  ------------------
  417|  42.1k|            auto new_root =
  418|  42.1k|                make_relaxed_pos(root, shift, r)
  419|  42.1k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail, tail_size);
  420|  42.1k|            if (new_root) {
  ------------------
  |  Branch (420:17): [True: 41.2k, False: 886]
  ------------------
  421|  41.2k|                root = new_root;
  422|  41.2k|            } else {
  423|    886|                auto new_root = node_t::make_inner_r_e(e);
  424|    886|                IMMER_TRY {
  ------------------
  |  |   49|    886|#define IMMER_TRY try
  ------------------
  425|    886|                    auto new_path        = node_t::make_path_e(e, shift, tail);
  426|    886|                    new_root->inner()[0] = root;
  427|    886|                    new_root->inner()[1] = new_path;
  428|    886|                    new_root->relaxed()->d.sizes[0] = tail_off;
  429|    886|                    new_root->relaxed()->d.sizes[1] = tail_off + tail_size;
  430|    886|                    assert(tail_off);
  ------------------
  |  Branch (430:21): [True: 886, False: 0]
  ------------------
  431|    886|                    assert(tail_size);
  ------------------
  |  Branch (431:21): [True: 886, False: 0]
  ------------------
  432|    886|                    new_root->relaxed()->d.count = 2u;
  433|    886|                    root                         = new_root;
  434|    886|                    shift += B;
  435|    886|                }
  436|    886|                IMMER_CATCH (...) {
  437|      0|                    node_t::delete_inner_r_e(new_root);
  438|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  439|      0|                }
  440|    886|            }
  441|   140k|        } else if (tail_off == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (441:20): [True: 2.64k, False: 137k]
  ------------------
  442|  2.64k|            auto new_root = node_t::make_inner_e(e);
  443|  2.64k|            IMMER_TRY {
  ------------------
  |  |   49|  2.64k|#define IMMER_TRY try
  ------------------
  444|  2.64k|                auto new_path        = node_t::make_path_e(e, shift, tail);
  445|  2.64k|                new_root->inner()[0] = root;
  446|  2.64k|                new_root->inner()[1] = new_path;
  447|  2.64k|                root                 = new_root;
  448|  2.64k|                shift += B;
  449|  2.64k|            }
  450|  2.64k|            IMMER_CATCH (...) {
  451|      0|                node_t::delete_inner_e(new_root);
  452|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  453|      0|            }
  454|   137k|        } else if (tail_off) {
  ------------------
  |  Branch (454:20): [True: 135k, False: 2.20k]
  ------------------
  455|   135k|            auto new_root =
  456|   135k|                make_regular_sub_pos(root, shift, tail_off)
  457|   135k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail);
  458|   135k|            root = new_root;
  459|   135k|        } else {
  460|  2.20k|            auto new_root = node_t::make_path_e(e, shift, tail);
  461|  2.20k|            dec_empty_regular(root);
  462|  2.20k|            root = new_root;
  463|  2.20k|        }
  464|   182k|    }
flex-vector.cpp:_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10update_mutIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSG_E0_EEvNS9_5applyIS6_E4type4editEmOSG_:
  571|  49.9k|    {
  572|  49.9k|        auto& elem = get_mut(e, idx);
  573|  49.9k|        elem       = std::forward<FnT>(fn)(std::move(elem));
  574|  49.9k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7get_mutENS9_5applyIS6_E4type4editEm:
  537|  49.9k|    {
  538|  49.9k|        auto tail_off = tail_offset();
  539|  49.9k|        if (idx >= tail_off) {
  ------------------
  |  Branch (539:13): [True: 25.6k, False: 24.2k]
  ------------------
  540|  25.6k|            ensure_mutable_tail(e, size - tail_off);
  541|  25.6k|            return tail->leaf()[(idx - tail_off) & mask<BL>];
  542|  25.6k|        } else {
  543|  24.2k|            return visit_maybe_relaxed_sub(root,
  544|  24.2k|                                           shift,
  545|  24.2k|                                           tail_off,
  546|  24.2k|                                           get_mut_visitor<node_t>{},
  547|  24.2k|                                           idx,
  548|  24.2k|                                           e,
  549|  24.2k|                                           &root);
  550|  24.2k|        }
  551|  49.9k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8take_mutENS9_5applyIS6_E4type4editEm:
  604|  36.2k|    {
  605|  36.2k|        auto tail_off = tail_offset();
  606|  36.2k|        if (new_size == 0) {
  ------------------
  |  Branch (606:13): [True: 607, False: 35.6k]
  ------------------
  607|    607|            *this = {};
  608|  35.6k|        } else if (new_size >= size) {
  ------------------
  |  Branch (608:20): [True: 1.15k, False: 34.5k]
  ------------------
  609|  1.15k|            return;
  610|  34.5k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (610:20): [True: 766, False: 33.7k]
  ------------------
  611|    766|            auto ts    = size - tail_off;
  612|    766|            auto newts = new_size - tail_off;
  613|    766|            if (tail->can_mutate(e)) {
  ------------------
  |  Branch (613:17): [True: 508, False: 258]
  ------------------
  614|    508|                detail::destroy_n(tail->leaf() + newts, ts - newts);
  615|    508|            } else {
  616|    258|                auto new_tail = node_t::copy_leaf_e(e, tail, newts);
  617|    258|                dec_leaf(tail, ts);
  618|    258|                tail = new_tail;
  619|    258|            }
  620|    766|            size = new_size;
  621|    766|            return;
  622|  33.7k|        } else {
  623|  33.7k|            using std::get;
  624|  33.7k|            auto l = new_size - 1;
  625|  33.7k|            auto v = slice_right_mut_visitor<node_t>();
  626|  33.7k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l, e);
  627|  33.7k|            auto new_shift = get<0>(r);
  628|  33.7k|            auto new_root  = get<1>(r);
  629|  33.7k|            auto new_tail  = get<3>(r);
  630|  33.7k|            if (new_root) {
  ------------------
  |  Branch (630:17): [True: 28.1k, False: 5.63k]
  ------------------
  631|  28.1k|                root  = new_root;
  632|  28.1k|                shift = new_shift;
  633|  28.1k|            } else {
  634|  5.63k|                root  = empty_root();
  635|  5.63k|                shift = BL;
  636|  5.63k|            }
  637|  33.7k|            dec_leaf(tail, size - tail_off);
  638|  33.7k|            size = new_size;
  639|  33.7k|            tail = new_tail;
  640|  33.7k|            return;
  641|  33.7k|        }
  642|  36.2k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8drop_mutENS9_5applyIS6_E4type4editEm:
  673|  36.7k|    {
  674|  36.7k|        using std::get;
  675|  36.7k|        auto tail_off = tail_offset();
  676|  36.7k|        if (elems == 0) {
  ------------------
  |  Branch (676:13): [True: 1.91k, False: 34.8k]
  ------------------
  677|  1.91k|            return;
  678|  34.8k|        } else if (elems >= size) {
  ------------------
  |  Branch (678:20): [True: 264, False: 34.5k]
  ------------------
  679|    264|            *this = {};
  680|  34.5k|        } else if (elems == tail_off) {
  ------------------
  |  Branch (680:20): [True: 221, False: 34.3k]
  ------------------
  681|    221|            dec_inner(root, shift, tail_off);
  682|    221|            shift = BL;
  683|    221|            root  = empty_root();
  684|    221|            size -= elems;
  685|    221|            return;
  686|  34.3k|        } else if (elems > tail_off) {
  ------------------
  |  Branch (686:20): [True: 728, False: 33.6k]
  ------------------
  687|    728|            auto v = slice_left_mut_visitor<node_t>();
  688|    728|            tail   = get<1>(make_leaf_sub_pos(tail, size - tail_off)
  689|    728|                              .visit(v, elems - tail_off, e));
  690|    728|            if (tail_off) {
  ------------------
  |  Branch (690:17): [True: 319, False: 409]
  ------------------
  691|    319|                dec_inner(root, shift, tail_off);
  692|    319|                shift = BL;
  693|    319|                root  = empty_root();
  694|    319|            }
  695|    728|            size -= elems;
  696|    728|            return;
  697|  33.6k|        } else {
  698|  33.6k|            auto v = slice_left_mut_visitor<node_t>();
  699|  33.6k|            auto r =
  700|  33.6k|                visit_maybe_relaxed_sub(root, shift, tail_off, v, elems, e);
  701|  33.6k|            shift = get<0>(r);
  702|  33.6k|            root  = get<1>(r);
  703|  33.6k|            size -= elems;
  704|  33.6k|            return;
  705|  33.6k|        }
  706|  36.7k|    }
_ZN5immer6detail4rbts12concat_mut_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editERKSB_:
  814|   219k|    {
  815|   219k|        assert(&l != &r);
  ------------------
  |  Branch (815:9): [True: 219k, False: 0]
  ------------------
  816|   219k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (816:9): [True: 219k, False: 0]
  ------------------
  817|   219k|        using std::get;
  818|   219k|        if (l.size == 0)
  ------------------
  |  Branch (818:13): [True: 263, False: 219k]
  ------------------
  819|    263|            l = r;
  820|   219k|        else if (r.size == 0)
  ------------------
  |  Branch (820:18): [True: 309, False: 219k]
  ------------------
  821|    309|            return;
  822|   219k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (822:18): [True: 166k, False: 52.9k]
  ------------------
  823|       |            // just concat the tail, similar to push_back
  824|   166k|            auto tail_offst = l.tail_offset();
  825|   166k|            auto tail_size  = l.size - tail_offst;
  826|   166k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (826:17): [True: 42.3k, False: 123k]
  ------------------
  827|  42.3k|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
  828|  42.3k|                l.tail = r.tail->inc();
  829|  42.3k|                l.size += r.size;
  830|  42.3k|                return;
  831|   123k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (831:24): [True: 536, False: 123k]
  ------------------
  832|    536|                l.ensure_mutable_tail(el, tail_size);
  833|    536|                detail::uninitialized_copy(r.tail->leaf(),
  834|    536|                                           r.tail->leaf() + r.size,
  835|    536|                                           l.tail->leaf() + tail_size);
  836|    536|                l.size += r.size;
  837|    536|                return;
  838|   123k|            } else {
  839|   123k|                auto remaining = branches<BL> - tail_size;
  840|   123k|                l.ensure_mutable_tail(el, tail_size);
  841|   123k|                detail::uninitialized_copy(r.tail->leaf(),
  842|   123k|                                           r.tail->leaf() + remaining,
  843|   123k|                                           l.tail->leaf() + tail_size);
  844|   123k|                IMMER_TRY {
  ------------------
  |  |   49|   123k|#define IMMER_TRY try
  ------------------
  845|   123k|                    auto new_tail =
  846|   123k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
  847|   123k|                    IMMER_TRY {
  ------------------
  |  |   49|   123k|#define IMMER_TRY try
  ------------------
  848|   123k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
  849|   123k|                        l.tail = new_tail;
  850|   123k|                        l.size += r.size;
  851|   123k|                        return;
  852|   123k|                    }
  853|   123k|                    IMMER_CATCH (...) {
  854|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  855|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  856|      0|                    }
  857|   123k|                }
  858|   123k|                IMMER_CATCH (...) {
  859|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
  860|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  861|      0|                }
  862|   123k|            }
  863|   166k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (863:20): [True: 482, False: 52.4k]
  ------------------
  864|    482|            if (supports_transient_concat) {
  ------------------
  |  Branch (864:17): [Folded, False: 482]
  ------------------
  865|      0|                auto tail_offst = l.tail_offset();
  866|      0|                auto tail_size  = l.size - tail_offst;
  867|      0|                auto concated =
  868|      0|                    concat_trees_mut(el,
  869|      0|                                     el,
  870|      0|                                     l.tail,
  871|      0|                                     tail_size,
  872|      0|                                     MemoryPolicy::transience_t::noone,
  873|      0|                                     r.root,
  874|      0|                                     r.shift,
  875|      0|                                     r.tail_offset());
  876|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (876:17): [True: 0, False: 0]
  ------------------
  877|      0|                                    concated.node()->compute_shift());
  878|      0|                l.size += r.size;
  879|      0|                l.shift = concated.shift();
  880|      0|                l.root  = concated.node();
  881|      0|                l.tail  = r.tail;
  882|      0|                assert(l.check_tree());
  ------------------
  |  Branch (882:17): [True: 0, False: 0]
  ------------------
  883|    482|            } else {
  884|    482|                auto tail_offst = l.tail_offset();
  885|    482|                auto tail_size  = l.size - tail_offst;
  886|    482|                auto concated   = concat_trees(
  887|    482|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
  888|    482|                l = {l.size + r.size,
  889|    482|                     concated.shift(),
  890|    482|                     concated.node(),
  891|    482|                     r.tail->inc()};
  892|    482|                assert(l.check_tree());
  ------------------
  |  Branch (892:17): [True: 482, False: 0]
  ------------------
  893|    482|                return;
  894|    482|            }
  895|  52.4k|        } else {
  896|  52.4k|            if (supports_transient_concat) {
  ------------------
  |  Branch (896:17): [Folded, False: 52.4k]
  ------------------
  897|      0|                auto tail_offst = l.tail_offset();
  898|      0|                auto tail_size  = l.size - tail_offst;
  899|      0|                assert(l.check_tree());
  ------------------
  |  Branch (899:17): [True: 0, False: 0]
  ------------------
  900|      0|                assert(r.check_tree());
  ------------------
  |  Branch (900:17): [True: 0, False: 0]
  ------------------
  901|      0|                auto concated =
  902|      0|                    concat_trees_mut(el,
  903|      0|                                     el,
  904|      0|                                     l.root,
  905|      0|                                     l.shift,
  906|      0|                                     tail_offst,
  907|      0|                                     l.tail,
  908|      0|                                     tail_size,
  909|      0|                                     MemoryPolicy::transience_t::noone,
  910|      0|                                     r.root,
  911|      0|                                     r.shift,
  912|      0|                                     r.tail_offset());
  913|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (913:17): [True: 0, False: 0]
  ------------------
  914|      0|                                    concated.node()->compute_shift());
  915|      0|                l.size += r.size;
  916|      0|                l.shift = concated.shift();
  917|      0|                l.root  = concated.node();
  918|      0|                l.tail  = r.tail;
  919|      0|                assert(l.check_tree());
  ------------------
  |  Branch (919:17): [True: 0, False: 0]
  ------------------
  920|  52.4k|            } else {
  921|  52.4k|                auto tail_offst = l.tail_offset();
  922|  52.4k|                auto tail_size  = l.size - tail_offst;
  923|  52.4k|                auto concated   = concat_trees(l.root,
  924|  52.4k|                                             l.shift,
  925|  52.4k|                                             tail_offst,
  926|  52.4k|                                             l.tail,
  927|  52.4k|                                             tail_size,
  928|  52.4k|                                             r.root,
  929|  52.4k|                                             r.shift,
  930|  52.4k|                                             r.tail_offset());
  931|  52.4k|                l               = {l.size + r.size,
  932|  52.4k|                                   concated.shift(),
  933|  52.4k|                                   concated.node(),
  934|  52.4k|                                   r.tail->inc()};
  935|  52.4k|            }
  936|  52.4k|        }
  937|   219k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSERKSB_:
  161|  1.87k|    {
  162|  1.87k|        auto next{other};
  163|  1.87k|        swap(*this, next);
  164|  1.87k|        return *this;
  165|  1.87k|    }
_ZN5immer6detail4rbts12concat_mut_rERKNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERSB_NS9_5applyIS6_E4type4editE:
  940|  3.90k|    {
  941|  3.90k|        assert(&l != &r);
  ------------------
  |  Branch (941:9): [True: 3.90k, False: 0]
  ------------------
  942|  3.90k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (942:9): [True: 3.90k, False: 0]
  ------------------
  943|  3.90k|        using std::get;
  944|  3.90k|        if (r.size == 0)
  ------------------
  |  Branch (944:13): [True: 316, False: 3.58k]
  ------------------
  945|    316|            r = std::move(l);
  946|  3.58k|        else if (l.size == 0)
  ------------------
  |  Branch (946:18): [True: 249, False: 3.33k]
  ------------------
  947|    249|            return;
  948|  3.33k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (948:18): [True: 1.15k, False: 2.18k]
  ------------------
  949|       |            // just concat the tail, similar to push_back
  950|  1.15k|            auto tail_offst = l.tail_offset();
  951|  1.15k|            auto tail_size  = l.size - tail_offst;
  952|  1.15k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (952:17): [True: 234, False: 923]
  ------------------
  953|       |                // this could be improved by making sure that the
  954|       |                // newly created nodes as part of the `push_tail()`
  955|       |                // are tagged with `er`
  956|    234|                auto res =
  957|    234|                    l.push_tail(l.root, l.shift, tail_offst, l.tail, tail_size);
  958|    234|                l.tail->inc(); // note: leak if mutably concatenated
  959|       |                               // with itself, but this is forbidden
  960|       |                               // by the interface
  961|    234|                r = {l.size + r.size, get<0>(res), get<1>(res), r.tail->inc()};
  962|    234|                return;
  963|    923|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (963:24): [True: 503, False: 420]
  ------------------
  964|       |                // doing this in a exception way mutating way is very
  965|       |                // tricky while potential performance gains are
  966|       |                // minimal (we need to move every element of the right
  967|       |                // tail anyways to make space for the left tail)
  968|       |                //
  969|       |                // we could however improve this by at least moving the
  970|       |                // elements of the right tail...
  971|    503|                auto new_tail =
  972|    503|                    node_t::copy_leaf(l.tail, tail_size, r.tail, r.size);
  973|    503|                r = {l.size + r.size, l.shift, l.root->inc(), new_tail};
  974|    503|                return;
  975|    503|            } else {
  976|       |                // like the immutable version
  977|    420|                auto remaining = branches<BL> - tail_size;
  978|    420|                auto add_tail  = node_t::copy_leaf_e(
  979|    420|                    er, l.tail, tail_size, r.tail, remaining);
  980|    420|                IMMER_TRY {
  ------------------
  |  |   49|    420|#define IMMER_TRY try
  ------------------
  981|    420|                    auto new_tail =
  982|    420|                        node_t::copy_leaf_e(er, r.tail, remaining, r.size);
  983|    420|                    IMMER_TRY {
  ------------------
  |  |   49|    420|#define IMMER_TRY try
  ------------------
  984|       |                        // this could be improved by making sure that the
  985|       |                        // newly created nodes as part of the `push_tail()`
  986|       |                        // are tagged with `er`
  987|    420|                        auto new_root = l.push_tail(l.root,
  988|    420|                                                    l.shift,
  989|    420|                                                    tail_offst,
  990|    420|                                                    add_tail,
  991|    420|                                                    branches<BL>);
  992|    420|                        r             = {l.size + r.size,
  993|    420|                                         get<0>(new_root),
  994|    420|                                         get<1>(new_root),
  995|    420|                                         new_tail};
  996|    420|                        return;
  997|    420|                    }
  998|    420|                    IMMER_CATCH (...) {
  999|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1000|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1001|      0|                    }
 1002|    420|                }
 1003|    420|                IMMER_CATCH (...) {
 1004|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
 1005|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1006|      0|                }
 1007|    420|            }
 1008|  2.18k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1008:20): [True: 518, False: 1.66k]
  ------------------
 1009|    518|            if (supports_transient_concat) {
  ------------------
  |  Branch (1009:17): [Folded, False: 518]
  ------------------
 1010|      0|                auto tail_offst = l.tail_offset();
 1011|      0|                auto tail_size  = l.size - tail_offst;
 1012|      0|                auto concated =
 1013|      0|                    concat_trees_mut(er,
 1014|      0|                                     MemoryPolicy::transience_t::noone,
 1015|      0|                                     l.tail,
 1016|      0|                                     tail_size,
 1017|      0|                                     er,
 1018|      0|                                     r.root,
 1019|      0|                                     r.shift,
 1020|      0|                                     r.tail_offset());
 1021|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1021:17): [True: 0, False: 0]
  ------------------
 1022|      0|                                    concated.node()->compute_shift());
 1023|      0|                r.size += l.size;
 1024|      0|                r.shift = concated.shift();
 1025|      0|                r.root  = concated.node();
 1026|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1026:17): [True: 0, False: 0]
  ------------------
 1027|    518|            } else {
 1028|    518|                auto tail_offst = l.tail_offset();
 1029|    518|                auto tail_size  = l.size - tail_offst;
 1030|    518|                auto concated   = concat_trees(
 1031|    518|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1032|    518|                r = {l.size + r.size,
 1033|    518|                     concated.shift(),
 1034|    518|                     concated.node(),
 1035|    518|                     r.tail->inc()};
 1036|    518|                return;
 1037|    518|            }
 1038|  1.66k|        } else {
 1039|  1.66k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1039:17): [Folded, False: 1.66k]
  ------------------
 1040|      0|                auto tail_offst = l.tail_offset();
 1041|      0|                auto tail_size  = l.size - tail_offst;
 1042|      0|                auto concated =
 1043|      0|                    concat_trees_mut(er,
 1044|      0|                                     MemoryPolicy::transience_t::noone,
 1045|      0|                                     l.root,
 1046|      0|                                     l.shift,
 1047|      0|                                     tail_offst,
 1048|      0|                                     l.tail,
 1049|      0|                                     tail_size,
 1050|      0|                                     er,
 1051|      0|                                     r.root,
 1052|      0|                                     r.shift,
 1053|      0|                                     r.tail_offset());
 1054|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1054:17): [True: 0, False: 0]
  ------------------
 1055|      0|                                    concated.node()->compute_shift());
 1056|      0|                r.size += l.size;
 1057|      0|                r.shift = concated.shift();
 1058|      0|                r.root  = concated.node();
 1059|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1059:17): [True: 0, False: 0]
  ------------------
 1060|      0|                return;
 1061|  1.66k|            } else {
 1062|  1.66k|                auto tail_offst = l.tail_offset();
 1063|  1.66k|                auto tail_size  = l.size - tail_offst;
 1064|  1.66k|                auto concated   = concat_trees(l.root,
 1065|  1.66k|                                             l.shift,
 1066|  1.66k|                                             tail_offst,
 1067|  1.66k|                                             l.tail,
 1068|  1.66k|                                             tail_size,
 1069|  1.66k|                                             r.root,
 1070|  1.66k|                                             r.shift,
 1071|  1.66k|                                             r.tail_offset());
 1072|  1.66k|                r               = {l.size + r.size,
 1073|  1.66k|                                   concated.shift(),
 1074|  1.66k|                                   concated.node(),
 1075|  1.66k|                                   r.tail->inc()};
 1076|  1.66k|                return;
 1077|  1.66k|            }
 1078|  1.66k|        }
 1079|  3.90k|    }
_ZN5immer6detail4rbts15concat_mut_lr_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editESC_SG_:
 1082|  25.3k|    {
 1083|  25.3k|        assert(&l != &r);
  ------------------
  |  Branch (1083:9): [True: 25.3k, False: 0]
  ------------------
 1084|  25.3k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (1084:9): [True: 25.3k, False: 0]
  ------------------
 1085|  25.3k|        using std::get;
 1086|  25.3k|        if (l.size == 0)
  ------------------
  |  Branch (1086:13): [True: 1.29k, False: 24.0k]
  ------------------
 1087|  1.29k|            l = r;
 1088|  24.0k|        else if (r.size == 0)
  ------------------
  |  Branch (1088:18): [True: 1.73k, False: 22.3k]
  ------------------
 1089|  1.73k|            return;
 1090|  22.3k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (1090:18): [True: 5.45k, False: 16.8k]
  ------------------
 1091|       |            // just concat the tail, similar to push_back
 1092|  5.45k|            auto tail_offst = l.tail_offset();
 1093|  5.45k|            auto tail_size  = l.size - tail_offst;
 1094|  5.45k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (1094:17): [True: 891, False: 4.56k]
  ------------------
 1095|    891|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
 1096|    891|                l.tail = r.tail->inc();
 1097|    891|                l.size += r.size;
 1098|    891|                return;
 1099|  4.56k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (1099:24): [True: 2.39k, False: 2.17k]
  ------------------
 1100|  2.39k|                l.ensure_mutable_tail(el, tail_size);
 1101|  2.39k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1101:21): [True: 909, False: 1.48k]
  ------------------
 1102|    909|                    detail::uninitialized_move(r.tail->leaf(),
 1103|    909|                                               r.tail->leaf() + r.size,
 1104|    909|                                               l.tail->leaf() + tail_size);
 1105|  1.48k|                else
 1106|  1.48k|                    detail::uninitialized_copy(r.tail->leaf(),
 1107|  1.48k|                                               r.tail->leaf() + r.size,
 1108|  1.48k|                                               l.tail->leaf() + tail_size);
 1109|  2.39k|                l.size += r.size;
 1110|  2.39k|                return;
 1111|  2.39k|            } else {
 1112|  2.17k|                auto remaining = branches<BL> - tail_size;
 1113|  2.17k|                l.ensure_mutable_tail(el, tail_size);
 1114|  2.17k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1114:21): [True: 876, False: 1.29k]
  ------------------
 1115|    876|                    detail::uninitialized_move(r.tail->leaf(),
 1116|    876|                                               r.tail->leaf() + remaining,
 1117|    876|                                               l.tail->leaf() + tail_size);
 1118|  1.29k|                else
 1119|  1.29k|                    detail::uninitialized_copy(r.tail->leaf(),
 1120|  1.29k|                                               r.tail->leaf() + remaining,
 1121|  1.29k|                                               l.tail->leaf() + tail_size);
 1122|  2.17k|                IMMER_TRY {
  ------------------
  |  |   49|  2.17k|#define IMMER_TRY try
  ------------------
 1123|  2.17k|                    auto new_tail =
 1124|  2.17k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
 1125|  2.17k|                    IMMER_TRY {
  ------------------
  |  |   49|  2.17k|#define IMMER_TRY try
  ------------------
 1126|  2.17k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
 1127|  2.17k|                        l.tail = new_tail;
 1128|  2.17k|                        l.size += r.size;
 1129|  2.17k|                        return;
 1130|  2.17k|                    }
 1131|  2.17k|                    IMMER_CATCH (...) {
 1132|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1133|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1134|      0|                    }
 1135|  2.17k|                }
 1136|  2.17k|                IMMER_CATCH (...) {
 1137|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
 1138|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1139|      0|                }
 1140|  2.17k|            }
 1141|  16.8k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1141:20): [True: 3.33k, False: 13.5k]
  ------------------
 1142|  3.33k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1142:17): [Folded, False: 3.33k]
  ------------------
 1143|      0|                auto tail_offst = l.tail_offset();
 1144|      0|                auto tail_size  = l.size - tail_offst;
 1145|      0|                auto concated   = concat_trees_mut(el,
 1146|      0|                                                 el,
 1147|      0|                                                 l.tail,
 1148|      0|                                                 tail_size,
 1149|      0|                                                 er,
 1150|      0|                                                 r.root,
 1151|      0|                                                 r.shift,
 1152|      0|                                                 r.tail_offset());
 1153|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1153:17): [True: 0, False: 0]
  ------------------
 1154|      0|                                    concated.node()->compute_shift());
 1155|      0|                l.size += r.size;
 1156|      0|                l.shift = concated.shift();
 1157|      0|                l.root  = concated.node();
 1158|      0|                l.tail  = r.tail;
 1159|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1159:17): [True: 0, False: 0]
  ------------------
 1160|      0|                r.hard_reset();
 1161|      0|                return;
 1162|  3.33k|            } else {
 1163|  3.33k|                auto tail_offst = l.tail_offset();
 1164|  3.33k|                auto tail_size  = l.size - tail_offst;
 1165|  3.33k|                auto concated   = concat_trees(
 1166|  3.33k|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1167|  3.33k|                l = {l.size + r.size,
 1168|  3.33k|                     concated.shift(),
 1169|  3.33k|                     concated.node(),
 1170|  3.33k|                     r.tail->inc()};
 1171|  3.33k|                return;
 1172|  3.33k|            }
 1173|  13.5k|        } else {
 1174|  13.5k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1174:17): [Folded, False: 13.5k]
  ------------------
 1175|      0|                auto tail_offst = l.tail_offset();
 1176|      0|                auto tail_size  = l.size - tail_offst;
 1177|      0|                auto concated   = concat_trees_mut(el,
 1178|      0|                                                 el,
 1179|      0|                                                 l.root,
 1180|      0|                                                 l.shift,
 1181|      0|                                                 tail_offst,
 1182|      0|                                                 l.tail,
 1183|      0|                                                 tail_size,
 1184|      0|                                                 er,
 1185|      0|                                                 r.root,
 1186|      0|                                                 r.shift,
 1187|      0|                                                 r.tail_offset());
 1188|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1188:17): [True: 0, False: 0]
  ------------------
 1189|      0|                                    concated.node()->compute_shift());
 1190|      0|                l.size += r.size;
 1191|      0|                l.shift = concated.shift();
 1192|      0|                l.root  = concated.node();
 1193|      0|                l.tail  = r.tail;
 1194|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1194:17): [True: 0, False: 0]
  ------------------
 1195|      0|                r.hard_reset();
 1196|      0|                return;
 1197|  13.5k|            } else {
 1198|  13.5k|                auto tail_offst = l.tail_offset();
 1199|  13.5k|                auto tail_size  = l.size - tail_offst;
 1200|  13.5k|                auto concated   = concat_trees(l.root,
 1201|  13.5k|                                             l.shift,
 1202|  13.5k|                                             tail_offst,
 1203|  13.5k|                                             l.tail,
 1204|  13.5k|                                             tail_size,
 1205|  13.5k|                                             r.root,
 1206|  13.5k|                                             r.shift,
 1207|  13.5k|                                             r.tail_offset());
 1208|  13.5k|                l               = {l.size + r.size,
 1209|  13.5k|                                   concated.shift(),
 1210|  13.5k|                                   concated.node(),
 1211|  13.5k|                                   r.tail->inc()};
 1212|  13.5k|                return;
 1213|  13.5k|            }
 1214|  13.5k|        }
 1215|  25.3k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6equalsERKSB_:
  313|  40.9k|    {
  314|  40.9k|        using iter_t = rrbtree_iterator<T, MemoryPolicy, B, BL>;
  315|  40.9k|        if (size != other.size)
  ------------------
  |  Branch (315:13): [True: 17.0k, False: 23.9k]
  ------------------
  316|  17.0k|            return false;
  317|  23.9k|        if (size == 0)
  ------------------
  |  Branch (317:13): [True: 214, False: 23.7k]
  ------------------
  318|    214|            return true;
  319|  23.7k|        auto tail_off       = tail_offset();
  320|  23.7k|        auto tail_off_other = other.tail_offset();
  321|       |        // compare trees
  322|  23.7k|        if (tail_off > 0 && tail_off_other > 0) {
  ------------------
  |  Branch (322:13): [True: 22.7k, False: 929]
  |  Branch (322:29): [True: 22.5k, False: 197]
  ------------------
  323|       |            // other.shift != shift is a theoretical possibility for
  324|       |            // relaxed trees that sadly we haven't managed to exercise
  325|       |            // in tests yet...
  326|  22.5k|            if (other.shift >= shift) {
  ------------------
  |  Branch (326:17): [True: 21.8k, False: 706]
  ------------------
  327|  21.8k|                if (!visit_maybe_relaxed_sub(other.root,
  ------------------
  |  Branch (327:21): [True: 8.01k, False: 13.8k]
  ------------------
  328|  21.8k|                                             other.shift,
  329|  21.8k|                                             tail_off_other,
  330|  21.8k|                                             equals_visitor::rrb{},
  331|  21.8k|                                             iter_t{other},
  332|  21.8k|                                             root,
  333|  21.8k|                                             shift,
  334|  21.8k|                                             tail_off))
  335|  8.01k|                    return false;
  336|  21.8k|            } else {
  337|    706|                if (!visit_maybe_relaxed_sub(root,
  ------------------
  |  Branch (337:21): [True: 295, False: 411]
  ------------------
  338|    706|                                             shift,
  339|    706|                                             tail_off,
  340|    706|                                             equals_visitor::rrb{},
  341|    706|                                             iter_t{*this},
  342|    706|                                             other.root,
  343|    706|                                             other.shift,
  344|    706|                                             tail_off_other))
  345|    295|                    return false;
  346|    706|            }
  347|  22.5k|        }
  348|  15.4k|        return tail_off == tail_off_other
  ------------------
  |  Branch (348:16): [True: 7.36k, False: 8.03k]
  ------------------
  349|  15.4k|                   ? make_leaf_sub_pos(tail, tail_size())
  350|  7.36k|                         .visit(equals_visitor{}, other.tail)
  351|  15.4k|               : tail_off > tail_off_other
  ------------------
  |  Branch (351:18): [True: 3.24k, False: 4.79k]
  ------------------
  352|  8.03k|                   ? std::equal(tail->leaf(),
  353|  3.24k|                                tail->leaf() + (size - tail_off),
  354|  3.24k|                                other.tail->leaf() +
  355|  3.24k|                                    (tail_off - tail_off_other))
  356|       |                   /* otherwise */
  357|  8.03k|                   : std::equal(tail->leaf(),
  358|  4.79k|                                tail->leaf() + (size - tail_off),
  359|  4.79k|                                iter_t{other} + tail_off);
  360|  23.7k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10region_forEm:
  522|  1.48M|    {
  523|  1.48M|        using std::get;
  524|  1.48M|        auto tail_off = tail_offset();
  525|  1.48M|        if (idx >= tail_off) {
  ------------------
  |  Branch (525:13): [True: 8.17k, False: 1.48M]
  ------------------
  526|  8.17k|            return std::make_tuple(tail->leaf(), tail_off, size);
  527|  1.48M|        } else {
  528|  1.48M|            auto subs = visit_maybe_relaxed_sub(
  529|  1.48M|                root, shift, tail_off, region_for_visitor<T>(), idx);
  530|  1.48M|            auto first = idx - get<1>(subs);
  531|  1.48M|            auto end   = first + get<2>(subs);
  532|  1.48M|            return std::make_tuple(get<0>(subs), first, end);
  533|  1.48M|        }
  534|  1.48M|    }

_ZNK5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11dereferenceEv:
   90|  5.85M|    {
   91|  5.85M|        using std::get;
   92|  5.85M|        if (i_ < get<1>(curr_) || i_ >= get<2>(curr_))
  ------------------
  |  Branch (92:13): [True: 56.4k, False: 5.79M]
  |  Branch (92:35): [True: 1.43M, False: 4.36M]
  ------------------
   93|  1.48M|            curr_ = v_->region_for(i_);
   94|  5.85M|        return get<0>(curr_)[i_ - get<1>(curr_)];
   95|  5.85M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7advanceEl:
   74|   271k|    {
   75|   271k|        using std::get;
   76|   271k|        assert(n <= 0 || i_ + static_cast<size_t>(n) <= v_->size);
  ------------------
  |  Branch (76:9): [True: 426, False: 271k]
  |  Branch (76:9): [True: 271k, False: 0]
  |  Branch (76:9): [True: 271k, False: 0]
  ------------------
   77|   271k|        assert(n >= 0 || static_cast<size_t>(-n) <= i_);
  ------------------
  |  Branch (77:9): [True: 271k, False: 0]
  |  Branch (77:9): [True: 0, False: 0]
  |  Branch (77:9): [True: 271k, False: 0]
  ------------------
   78|   271k|        i_ += n;
   79|   271k|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9incrementEv:
   60|  4.40M|    {
   61|  4.40M|        using std::get;
   62|  4.40M|        assert(i_ < v_->size);
  ------------------
  |  Branch (62:9): [True: 4.40M, False: 0]
  ------------------
   63|  4.40M|        ++i_;
   64|  4.40M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKNS1_7rrbtreeIiSA_Lj2ELj2EEE:
   39|  27.3k|        : v_{&v}
   40|  27.3k|        , i_{0}
   41|  27.3k|        , curr_{nullptr, ~size_t{}, ~size_t{}}
   42|  27.3k|    {
   43|  27.3k|    }

_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERmEEEDcDpOT_:
   31|  15.6k|    {
   32|  15.6k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  15.6k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERmEEEDcDpOT_:
   31|  51.1k|    {
   32|  51.1k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  51.1k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_regularIJRNS1_15regular_sub_posISD_EERmEEEDcDpOT_:
   37|  1.95k|    {
   38|  1.95k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.95k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb0EEEE13visit_regularIJRNS1_8full_posISD_EEmEEEDcDpOT_:
   37|  5.24k|    {
   38|  5.24k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  5.24k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_15regular_sub_posISD_EERmEEEDcDpOT_:
   37|  6.77k|    {
   38|  6.77k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.77k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_8full_posISD_EEmEEEDcDpOT_:
   37|  1.47k|    {
   38|  1.47k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.47k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18slice_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEELb1EEEE13visit_regularIJRNS1_15regular_sub_posISD_EEmEEEDcDpOT_:
   37|  2.27k|    {
   38|  2.27k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.27k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_25singleton_regular_sub_posISD_EENS1_14empty_leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   37|  7.58k|    {
   38|  7.58k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.58k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_25singleton_regular_sub_posISD_EENS1_14empty_leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|  7.58k|    {
   44|  7.58k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.58k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   31|  5.46k|    {
   32|  5.46k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  5.46k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   43|  5.46k|    {
   44|  5.46k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  5.46k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE10visit_leafIJRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   49|  2.28M|    {
   50|  2.28M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  2.28M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   31|  18.7M|    {
   32|  18.7M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  18.7M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|  18.7M|    {
   44|  18.7M|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  18.7M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   31|  18.7M|    {
   32|  18.7M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  18.7M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   31|  15.9k|    {
   32|  15.9k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  15.9k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|    348|    {
   38|    348|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    348|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|  1.07k|    {
   38|  1.07k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.07k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE10visit_leafIJRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   49|   960k|    {
   50|   960k|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|   960k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   37|   706k|    {
   38|   706k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   706k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|   706k|    {
   44|   706k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   706k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   37|   706k|    {
   38|   706k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   706k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   37|   620k|    {
   38|   620k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   620k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_34concat_rebalance_plan_fill_visitorEE11visit_innerIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_21concat_rebalance_planILj2ELj2EEEEEEDcDpOT_:
   43|   620k|    {
   44|   620k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   620k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_21concat_merger_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_13concat_mergerISG_EEEEEDcDpOT_:
   37|   620k|    {
   38|   620k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   620k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   37|  2.12k|    {
   38|  2.12k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.12k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EERNS1_25singleton_regular_sub_posISD_EERNS1_14empty_leaf_posISD_EEEEEDcDpOT_:
   43|  2.12k|    {
   44|  2.12k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  2.12k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   31|   475k|    {
   32|   475k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   475k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|   475k|    {
   44|   475k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   475k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|   459k|    {
   32|   459k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   459k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|   459k|    {
   44|   459k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   459k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   31|  2.16M|    {
   32|  2.16M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.16M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_11relaxed_posISD_EEEEEDcDpOT_:
   37|  4.94k|    {
   38|  4.94k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  4.94k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|   656k|    {
   32|   656k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   656k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  94.9k|    {
   38|  94.9k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  94.9k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   37|  1.15k|    {
   38|  1.15k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.15k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|   106k|    {
   38|   106k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   106k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_8full_posISD_EEEEEDcDpOT_:
   37|  57.3k|    {
   38|  57.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  57.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   37|  48.7k|    {
   38|  48.7k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  48.7k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EERNS1_11relaxed_posISD_EEEEEDcDpOT_:
   37|   738k|    {
   38|   738k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   738k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|  1.61M|    {
   32|  1.61M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.61M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|    782|    {
   38|    782|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    782|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_15regular_sub_posISD_EEEEEDcDpOT_:
   31|  64.3k|    {
   32|  64.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  64.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_20concat_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_8full_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  1.93k|    {
   38|  1.93k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.93k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_8full_posISD_EEEEEDcDpOT_:
   31|    327|    {
   32|    327|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    327|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EERNS1_15regular_sub_posISD_EEEEEDcDpOT_:
   31|    631|    {
   32|    631|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    631|    }
_ZN5immer6detail4rbts12visitor_baseINS1_19concat_both_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EESJ_EEEDcDpOT_:
   31|  1.53M|    {
   32|  1.53M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.53M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  16.3k|    {
   38|  16.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  16.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EERNS1_11relaxed_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  16.3k|    {
   44|  16.3k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  16.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   37|  14.4k|    {
   38|  14.4k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  14.4k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_25concat_trees_left_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EENS1_8leaf_posISD_EERPSD_RjRmEEEDcDpOT_:
   43|  14.4k|    {
   44|  14.4k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  14.4k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_relaxedIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   31|  6.93k|    {
   32|  6.93k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  6.93k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_11relaxed_posISD_EERNS1_15regular_sub_posISD_EERNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  6.93k|    {
   44|  6.93k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.93k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE13visit_regularIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   37|  7.55k|    {
   38|  7.55k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.55k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_26concat_trees_right_visitorINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEE11visit_innerIJRNS1_15regular_sub_posISD_EESJ_RNS1_8leaf_posISD_EEEEEDcDpOT_:
   43|  7.55k|    {
   44|  7.55k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.55k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   31|  15.6k|    {
   32|  15.6k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  15.6k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   43|  15.6k|    {
   44|  15.6k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  15.6k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjSJ_RNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|  23.2k|    {
   32|  23.2k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  23.2k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_15regular_sub_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|  2.36k|    {
   32|  2.36k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.36k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_8full_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   31|    882|    {
   32|    882|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    882|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_8full_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|    985|    {
   38|    985|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    985|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   31|  10.2M|    {
   32|  10.2M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  10.2M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|   416k|    {
   38|   416k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   416k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|  1.03M|    {
   38|  1.03M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.03M|    }
_ZN5immer6detail4rbts12visitor_baseINS1_18region_for_visitorIiEEE13visit_regularIJRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERmEEEDcDpOT_:
   37|   123k|    {
   38|   123k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   123k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  97.7k|    {
   38|  97.7k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  97.7k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjSJ_RNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|    728|    {
   38|    728|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    728|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  26.3k|    {
   38|  26.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  26.3k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_regularIJRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   37|  8.67k|    {
   38|  8.67k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  8.67k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_11relaxed_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|  2.53k|    {
   38|  2.53k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.53k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor10this_aux_tEE13visit_regularIJRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERjRNS1_11relaxed_posISH_EERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERmEEEDcDpOT_:
   37|  3.37k|    {
   38|  3.37k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  3.37k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_24for_each_chunk_p_visitorEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERZNS1_14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiSF_Lj2ELj2EEEEEDaOT_EUlSN_T0_E_EEEDcDpOT_:
   31|   670k|    {
   32|   670k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   670k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_relaxedIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERPSH_RjRmEEEDcDpOT_:
   31|  1.60k|    {
   32|  1.60k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.60k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEERNS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERPSH_RjRmEEEDcDpOT_:
   43|  1.60k|    {
   44|  1.60k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  1.60k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE13visit_regularIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   37|  6.90k|    {
   38|  6.90k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.90k|    }
_ZN5immer6detail4rbts12visitor_baseINS1_14equals_visitor3rrbEE11visit_innerIJRNS1_15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEENS1_16rrbtree_iteratorIiSG_Lj2ELj2EEERKPSH_RKjRmEEEDcDpOT_:
   43|  6.90k|    {
   44|  6.90k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.90k|    }

_ZN5immer6detail15auto_const_castINS_15refcount_policyEEERT_RKS3_:
  143|   107M|{
  144|   107M|    return const_cast<T&>(x);
  145|   107M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE15get_storage_ptrEv:
  113|   104M|    {
  114|   104M|        check_base();
  115|   104M|        auto* base = static_cast<Derived*>(this);
  116|   104M|        return reinterpret_cast<T*>(base + 1);
  117|   104M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE10check_baseEv:
  134|   104M|    {
  135|   104M|        static_assert(std::is_standard_layout<Derived>::value &&
  136|   104M|                          !std::is_empty<Derived>::value,
  137|   104M|                      "Please add 'true' if the derived class is emtpy");
  138|   104M|    }
_ZN5immer6detail9static_ifILb1EZNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSC_jEUlT_E_EENSt3__19enable_ifIXT_EvE4typeEOT0_:
  329|  10.6M|{
  330|  10.6M|    std::forward<F>(f)(empty_t{});
  331|  10.6M|}
_ZN5immer6detail9destroy_nIPijEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|  1.45M|{
  189|  1.45M|    return first + n;
  190|  1.45M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE15get_storage_ptrEv:
   75|  10.5M|    {
   76|  10.5M|        check_base();
   77|  10.5M|        return reinterpret_cast<T*>(this);
   78|  10.5M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE10check_baseEv:
   94|  10.5M|    {
   95|       |        // is_standard_layout requires that only one class in the hierarchy
   96|       |        // contains non-static data members. Since this class contains one
   97|       |        // member, the static_assert will only hold when the derived class is
   98|       |        // empty.
   99|  10.5M|        static_assert(std::is_standard_layout<Derived>::value,
  100|  10.5M|                      "Please remove 'true' if the derived class is non emtpy");
  101|  10.5M|    }
_ZN5immer6detail18uninitialized_copyIPiS2_S2_EENSt3__19enable_ifIX18can_trivially_copyIT_T1_EES6_E4typeES5_T0_S6_:
  236|  1.81M|{
  237|  1.81M|    return std::copy(first, last, out);
  238|  1.81M|}
_ZN5immer6detail9static_ifILb0EPNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEZNSC_15make_inner_sr_nEjPNS0_3csl10member_twoINSC_14relaxed_data_tENSE_6memberIS8_NSE_7inheritINSA_5applyIS7_E4type5owneeEvE4typeEE4typeEE4typeEEUlT_E_ZNSC_15make_inner_sr_nEjST_EUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|   233k|{
  345|   233k|    return std::forward<F2>(f2)(empty_t{});
  346|   233k|}
_ZN5immer6detail4ipowImEET_S2_j:
  323|  65.1M|{
  324|  65.1M|    return pow == 0 ? 1 : num * ipow(num, pow - 1);
  ------------------
  |  Branch (324:12): [True: 2.03M, False: 63.1M]
  ------------------
  325|  65.1M|}
_ZN5immer6detail9static_ifILb0EPNS0_3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS2_6memberISA_NS2_7inheritINSC_5applyIS9_E4type5owneeEvE4typeEE4typeEE4typeEZNSE_24ensure_mutable_relaxed_nENSK_4editEjEUlT_E_ZNSE_24ensure_mutable_relaxed_nEST_jEUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|  69.5k|{
  345|  69.5k|    return std::forward<F2>(f2)(empty_t{});
  346|  69.5k|}
_ZN5immer6detail9static_ifILb1EZNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENSA_5applyIS7_E4type4editEEUlT_E_EENSt3__19enable_ifIXT_EvE4typeEOT0_:
  329|  93.9k|{
  330|  93.9k|    std::forward<F>(f)(empty_t{});
  331|  93.9k|}
_ZN5immer6detail9static_ifILb0EPNS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEZNSC_15make_inner_sr_eENSA_5applyIS7_E4type4editEPNS0_3csl10member_twoINSC_14relaxed_data_tENSI_6memberIS8_NSI_7inheritINSG_5owneeEvE4typeEE4typeEE4typeEEUlT_E_ZNSC_15make_inner_sr_eESH_SU_EUlSV_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|  8.60k|{
  345|  8.60k|    return std::forward<F2>(f2)(empty_t{});
  346|  8.60k|}
_ZN5immer6detail9destroy_nIPimEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|    508|{
  189|    508|    return first + n;
  190|    508|}
_ZN5immer6detail9static_ifILb0EPNS0_3csl10member_twoINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14relaxed_data_tENS2_6memberISA_NS2_7inheritINSC_5applyIS9_E4type5owneeEvE4typeEE4typeEE4typeEZNSE_22ensure_mutable_relaxedENSK_4editEEUlT_E_ZNSE_22ensure_mutable_relaxedEST_EUlSU_E0_EENSt3__19enable_ifIXntT_ET0_E4typeEOT1_OT2_:
  344|   127k|{
  345|   127k|    return std::forward<F2>(f2)(empty_t{});
  346|   127k|}
_ZN5immer6detail18uninitialized_moveIPiS2_EENSt3__19enable_ifIX18can_trivially_copyIT_T0_EES6_E4typeES5_S5_S6_:
  210|  1.78k|{
  211|  1.78k|    return std::copy(first, last, out);
  212|  1.78k|}
_ZN5immer6detail8as_constIiEEPKT_PS2_:
   29|  1.44M|{
   30|  1.44M|    return x;
   31|  1.44M|}
_ZN5immer6detail4makeINS_15debug_size_heapINS_8cpp_heapEEENS_3boxIiNS_13memory_policyINS_21free_list_heap_policyIS3_Lm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderEJiEEEPT0_DpOT1_:
  260|  20.1k|{
  261|  20.1k|    auto ptr = Heap::allocate(sizeof(T));
  262|  20.1k|    IMMER_TRY {
  ------------------
  |  |   49|  20.1k|#define IMMER_TRY try
  ------------------
  263|  20.1k|        return new (ptr) T(std::forward<Args>(args)...);
  264|  20.1k|    }
  265|  20.1k|    IMMER_CATCH (...) {
  266|      0|        Heap::deallocate(sizeof(T), ptr);
  267|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  268|      0|    }
  269|  20.1k|}

_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
   96|  72.7k|    flex_vector() = default;
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  246|   406k|    {
  247|   406k|        return impl_.push_back(std::move(value));
  248|   406k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ENS_6detail4rbts7rrbtreeIiS8_Lj2ELj2EEE:
  536|  1.46M|        : impl_(std::move(impl))
  537|  1.46M|    {
  538|       |#if IMMER_DEBUG_PRINT
  539|       |        // force the compiler to generate debug_print, so we can call
  540|       |        // it from a debugger
  541|       |        [](volatile auto) {}(&flex_vector::debug_print);
  542|       |#endif
  543|  1.46M|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4sizeEv:
  181|  2.68M|    IMMER_NODISCARD size_type size() const { return impl_.size; }
flex-vector.cpp:_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E_EES9_mOSE_:
  323|   126k|    {
  324|   126k|        return impl_.update(index, std::forward<FnT>(fn));
  325|   126k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  350|  25.4k|    {
  351|  25.4k|        return impl_.take(elems);
  352|  25.4k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  376|  26.8k|    {
  377|  26.8k|        return impl_.drop(elems);
  378|  26.8k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   90|  1.15M|    constexpr static size_type max_size() { return impl_t::max_size(); }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESB_:
  403|   881k|    {
  404|   881k|        return l.impl_.concat(r.impl_);
  405|   881k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  251|  32.3k|    {
  252|  32.3k|        return push_back_move(move_t{}, std::move(value));
  253|  32.3k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14push_back_moveENSt3__117integral_constantIbLb1EEEi:
  547|  32.3k|    {
  548|  32.3k|        impl_.push_back_mut({}, std::move(value));
  549|  32.3k|        return std::move(*this);
  550|  32.3k|    }
flex-vector.cpp:_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6updateIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E0_EEDcmOSE_:
  329|  49.9k|    {
  330|  49.9k|        return update_move(move_t{}, index, std::forward<FnT>(fn));
  331|  49.9k|    }
flex-vector.cpp:_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11update_moveIZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_EUlSE_E0_EEOS9_NSt3__117integral_constantIbLb1EEEmOSE_:
  568|  49.9k|    {
  569|  49.9k|        impl_.update_mut({}, index, std::forward<Fn>(fn));
  570|  49.9k|        return std::move(*this);
  571|  49.9k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  355|  36.2k|    {
  356|  36.2k|        return take_move(move_t{}, elems);
  357|  36.2k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9take_moveENSt3__117integral_constantIbLb1EEEm:
  579|  36.2k|    {
  580|  36.2k|        impl_.take_mut({}, elems);
  581|  36.2k|        return std::move(*this);
  582|  36.2k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  381|  36.7k|    {
  382|  36.7k|        return drop_move(move_t{}, elems);
  383|  36.7k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9drop_moveENSt3__117integral_constantIbLb1EEEm:
  589|  36.7k|    {
  590|  36.7k|        impl_.drop_mut({}, elems);
  591|  36.7k|        return std::move(*this);
  592|  36.7k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERKS9_:
  409|   219k|    {
  410|   219k|        return concat_move(move_t{}, std::move(l), r);
  411|   219k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_RKS9_:
  600|   219k|    {
  601|   219k|        concat_mut_l(l.impl_, {}, r.impl_);
  602|   219k|        return std::move(l);
  603|   219k|    }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEOS9_:
  415|  3.90k|    {
  416|  3.90k|        return concat_move(move_t{}, l, std::move(r));
  417|  3.90k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEERKS9_OS9_:
  606|  3.90k|    {
  607|  3.90k|        concat_mut_r(l.impl_, r.impl_, {});
  608|  3.90k|        return std::move(r);
  609|  3.90k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESA_:
  421|  25.3k|    {
  422|  25.3k|        return concat_move(move_t{}, std::move(l), std::move(r));
  423|  25.3k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_SD_:
  612|  25.3k|    {
  613|  25.3k|        concat_mut_lr_l(l.impl_, {}, r.impl_, {});
  614|  25.3k|        return std::move(l);
  615|  25.3k|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEeqERKS9_:
  222|  40.9k|    {
  223|  40.9k|        return impl_.equals(other.impl_);
  224|  40.9k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5eraseEm:
  480|  3.56k|    {
  481|  3.56k|        return take(pos) + drop(pos + 1);
  482|  3.56k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6insertEmi:
  442|  20.1k|    {
  443|  20.1k|        return take(pos).push_back(std::move(value)) + drop(pos);
  444|  20.1k|    }

_ZN5immer8cpp_heap10deallocateEmPv:
   36|  9.25M|    static void deallocate(std::size_t, void* data) { ::operator delete(data); }
_ZN5immer8cpp_heap8allocateIJEEEPvmDpT_:
   27|  9.25M|    {
   28|  9.25M|        return ::operator new(size);
   29|  9.25M|    }

_ZN5immer15debug_size_heapINS_8cpp_heapEE10deallocateIJEEEvmPvDpT_:
   57|  9.25M|    {
   58|  9.25M|        auto p = (std::size_t*) (((char*) data) - extra_size);
   59|  9.25M|        assert(*p == size);
  ------------------
  |  Branch (59:9): [True: 9.25M, False: 0]
  ------------------
   60|  9.25M|        Base::deallocate(size + extra_size, p, tags...);
   61|  9.25M|    }
_ZN5immer15debug_size_heapINS_8cpp_heapEE8allocateIJEEEPvmDpT_:
   49|  9.25M|    {
   50|  9.25M|        auto p = (std::size_t*) Base::allocate(size + extra_size, tags...);
   51|  9.25M|        new (p) std::size_t{size};
   52|  9.25M|        return ((char*) p) + extra_size;
   53|  9.25M|    }

_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE10deallocateIJEEEvmPvDpT_:
   56|  9.79M|    {
   57|  9.79M|        assert(size <= Size);
  ------------------
  |  Branch (57:9): [True: 9.79M, False: 0]
  ------------------
   58|       |
   59|       |        // we use relaxed, because we are fine with temporarily having
   60|       |        // a few more/less buffers in free list
   61|  9.79M|        if (head().count.load(std::memory_order_relaxed) >= Limit) {
  ------------------
  |  Branch (61:13): [True: 9.23M, False: 557k]
  ------------------
   62|  9.23M|            base_t::deallocate(Size, data);
   63|  9.23M|        } else {
   64|   557k|            auto n = static_cast<node_t*>(data);
   65|   557k|            do {
   66|   557k|                n->next = head().data;
   67|   557k|            } while (!head().data.compare_exchange_weak(n->next, n));
  ------------------
  |  Branch (67:22): [True: 0, False: 557k]
  ------------------
   68|   557k|            head().count.fetch_add(1u, std::memory_order_relaxed);
   69|   557k|        }
   70|  9.79M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE4headEv:
   80|  22.3M|    {
   81|  22.3M|        static head_t head_{{nullptr}, {0}};
   82|  22.3M|        return head_;
   83|  22.3M|    }
_ZN5immer14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEE8allocateIJEEEPvmDpT_:
   39|  9.79M|    {
   40|  9.79M|        assert(size <= Size);
  ------------------
  |  Branch (40:9): [True: 9.79M, False: 0]
  ------------------
   41|       |
   42|  9.79M|        node_t* n;
   43|  9.79M|        do {
   44|  9.79M|            n = head().data;
   45|  9.79M|            if (!n) {
  ------------------
  |  Branch (45:17): [True: 9.23M, False: 556k]
  ------------------
   46|  9.23M|                auto p = base_t::allocate(Size);
   47|  9.23M|                return p;
   48|  9.23M|            }
   49|  9.79M|        } while (!head().data.compare_exchange_weak(n, n->next));
  ------------------
  |  Branch (49:18): [True: 0, False: 556k]
  ------------------
   50|   556k|        head().count.fetch_sub(1u, std::memory_order_relaxed);
   51|   556k|        return n;
   52|  9.79M|    }

_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E10deallocateIJEEEvmPvDpT_:
   33|  25.6M|    {
   34|  25.6M|        if (size <= Size)
  ------------------
  |  Branch (34:13): [True: 25.6M, False: 0]
  ------------------
   35|  25.6M|            SmallHeap::deallocate(size, data, tags...);
   36|      0|        else
   37|      0|            BigHeap::deallocate(size, data, tags...);
   38|  25.6M|    }
_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E8allocateIJEEEPvmDpT_:
   26|  15.2M|    {
   27|  15.2M|        return size <= Size ? SmallHeap::allocate(size, tags...)
  ------------------
  |  Branch (27:16): [True: 15.2M, False: 0]
  ------------------
   28|  15.2M|                            : BigHeap::allocate(size, tags...);
   29|  15.2M|    }
_ZN5immer10split_heapILm56ENS_27thread_local_free_list_heapILm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEES5_E8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   26|  10.4M|    {
   27|  10.4M|        return size <= Size ? SmallHeap::allocate(size, tags...)
  ------------------
  |  Branch (27:16): [True: 10.4M, False: 0]
  ------------------
   28|  10.4M|                            : BigHeap::allocate(size, tags...);
   29|  10.4M|    }

_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE4headEv:
   35|   130M|    {
   36|   130M|        thread_local static head_t head_{nullptr, 0};
   37|   130M|        return head_;
   38|   130M|    }
_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE6head_tD2Ev:
   31|      1|        ~head_t() { Heap::clear(); }

_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE10deallocateIJEEEvmPvDpT_:
   72|  25.6M|    {
   73|  25.6M|        assert(size <= Size);
  ------------------
  |  Branch (73:9): [True: 25.6M, False: 0]
  ------------------
   74|       |
   75|  25.6M|        if (storage::head().count >= Limit)
  ------------------
  |  Branch (75:13): [True: 9.78M, False: 15.8M]
  ------------------
   76|  9.78M|            base_t::deallocate(Size, data);
   77|  15.8M|        else {
   78|  15.8M|            auto n               = static_cast<node_t*>(data);
   79|  15.8M|            n->next              = storage::head().data;
   80|  15.8M|            storage::head().data = n;
   81|  15.8M|            ++storage::head().count;
   82|  15.8M|        }
   83|  25.6M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE5clearEv:
   86|      1|    {
   87|  1.02k|        while (storage::head().data) {
  ------------------
  |  Branch (87:16): [True: 1.02k, False: 1]
  ------------------
   88|  1.02k|            auto n = storage::head().data->next;
   89|  1.02k|            base_t::deallocate(Size, storage::head().data);
   90|  1.02k|            storage::head().data = n;
   91|  1.02k|            --storage::head().count;
   92|  1.02k|        }
   93|      1|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJEEEPvmDpT_:
   57|  15.2M|    {
   58|  15.2M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 15.2M, False: 0]
  ------------------
   59|       |
   60|  15.2M|        auto n = storage::head().data;
   61|  15.2M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.04M, False: 10.1M]
  ------------------
   62|  5.04M|            auto p = base_t::allocate(Size);
   63|  5.04M|            return p;
   64|  5.04M|        }
   65|  10.1M|        --storage::head().count;
   66|  10.1M|        storage::head().data = n->next;
   67|  10.1M|        return n;
   68|  15.2M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   57|  10.4M|    {
   58|  10.4M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 10.4M, False: 0]
  ------------------
   59|       |
   60|  10.4M|        auto n = storage::head().data;
   61|  10.4M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 4.74M, False: 5.68M]
  ------------------
   62|  4.74M|            auto p = base_t::allocate(Size);
   63|  4.74M|            return p;
   64|  4.74M|        }
   65|  5.68M|        --storage::head().count;
   66|  5.68M|        storage::head().data = n->next;
   67|  5.68M|        return n;
   68|  10.4M|    }

_ZN5immer15refcount_policyC2Ev:
   28|  25.6M|        : refcount{1} {};
_ZN5immer15refcount_policy3incEv:
   34|  40.2M|    void inc() { refcount.fetch_add(1, std::memory_order_relaxed); }
_ZN5immer15refcount_policy3decEv:
   36|  65.8M|    bool dec() { return 1 == refcount.fetch_sub(1, std::memory_order_acq_rel); }
_ZN5immer15refcount_policy6uniqueEv:
   38|  1.74M|    bool unique() { return refcount == 1; }

_ZNK5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5ownee5ownedEv:
   36|  25.6M|                bool owned() const { return false; }
_ZNK5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5ownee10can_mutateENS6_4editE:
   35|   114k|                bool can_mutate(edit) const { return false; }
_ZN5immer20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeaSENS6_4editE:
   34|   506k|                ownee& operator=(edit) { return *this; };

