LLVMFuzzerTestOneInput:
   18|  8.93k|{
   19|  8.93k|    constexpr auto var_count = 8;
   20|  8.93k|    constexpr auto bits      = 2;
   21|       |
   22|  8.93k|    using vector_t =
   23|  8.93k|        immer::flex_vector<int, immer::default_memory_policy, bits, bits>;
   24|  8.93k|    using size_t = std::uint8_t;
   25|       |
   26|  8.93k|    auto vars = std::array<vector_t, var_count>{};
   27|       |
   28|  8.93k|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
   29|  8.93k|    auto is_valid_var_neq = [](auto other) {
   30|  8.93k|        return [=](auto idx) {
   31|  8.93k|            return idx >= 0 && idx < var_count && idx != other;
   32|  8.93k|        };
   33|  8.93k|    };
   34|  8.93k|    auto is_valid_index = [](auto& v) {
   35|  8.93k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|  8.93k|    };
   37|  8.93k|    auto is_valid_size = [](auto& v) {
   38|  8.93k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|  8.93k|    };
   40|  8.93k|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  8.93k|        return v1.size() + v2.size() < vector_t::max_size();
   42|  8.93k|    };
   43|  8.93k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  8.93k|        return v.size() < (1 << 15);
   46|  8.93k|    };
   47|  8.93k|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  8.93k|        enum ops
   49|  8.93k|        {
   50|  8.93k|            op_push_back,
   51|  8.93k|            op_update,
   52|  8.93k|            op_take,
   53|  8.93k|            op_drop,
   54|  8.93k|            op_concat,
   55|  8.93k|            op_push_back_move,
   56|  8.93k|            op_update_move,
   57|  8.93k|            op_take_move,
   58|  8.93k|            op_drop_move,
   59|  8.93k|            op_concat_move_l,
   60|  8.93k|            op_concat_move_r,
   61|  8.93k|            op_concat_move_lr,
   62|  8.93k|            op_insert,
   63|  8.93k|            op_erase,
   64|  8.93k|            op_compare,
   65|  8.93k|        };
   66|  8.93k|        auto src = read<char>(in, is_valid_var);
   67|  8.93k|        auto dst = read<char>(in, is_valid_var);
   68|  8.93k|        switch (read<char>(in)) {
   69|  8.93k|        case op_push_back: {
   70|  8.93k|            vars[dst] = vars[src].push_back(42);
   71|  8.93k|            break;
   72|  8.93k|        }
   73|  8.93k|        case op_update: {
   74|  8.93k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|  8.93k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|  8.93k|            break;
   77|  8.93k|        }
   78|  8.93k|        case op_take: {
   79|  8.93k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  8.93k|            vars[dst] = vars[src].take(idx);
   81|  8.93k|            break;
   82|  8.93k|        }
   83|  8.93k|        case op_drop: {
   84|  8.93k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  8.93k|            vars[dst] = vars[src].drop(idx);
   86|  8.93k|            break;
   87|  8.93k|        }
   88|  8.93k|        case op_concat: {
   89|  8.93k|            auto src2 = read<char>(in, is_valid_var);
   90|  8.93k|            if (can_concat(vars[src], vars[src2]))
   91|  8.93k|                vars[dst] = vars[src] + vars[src2];
   92|  8.93k|            break;
   93|  8.93k|        }
   94|  8.93k|        case op_push_back_move: {
   95|  8.93k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  8.93k|            break;
   97|  8.93k|        }
   98|  8.93k|        case op_update_move: {
   99|  8.93k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  8.93k|            vars[dst] =
  101|  8.93k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  8.93k|            break;
  103|  8.93k|        }
  104|  8.93k|        case op_take_move: {
  105|  8.93k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  8.93k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  8.93k|            break;
  108|  8.93k|        }
  109|  8.93k|        case op_drop_move: {
  110|  8.93k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  8.93k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  8.93k|            break;
  113|  8.93k|        }
  114|  8.93k|        case op_concat_move_l: {
  115|  8.93k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|  8.93k|            if (can_concat(vars[src], vars[src2]))
  117|  8.93k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|  8.93k|            break;
  119|  8.93k|        }
  120|  8.93k|        case op_concat_move_r: {
  121|  8.93k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  8.93k|            if (can_concat(vars[src], vars[src2]))
  123|  8.93k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  8.93k|            break;
  125|  8.93k|        }
  126|  8.93k|        case op_concat_move_lr: {
  127|  8.93k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  8.93k|            if (can_concat(vars[src], vars[src2]))
  129|  8.93k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  8.93k|            break;
  131|  8.93k|        }
  132|  8.93k|        case op_compare: {
  133|  8.93k|            using std::swap;
  134|  8.93k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  135|  8.93k|                swap(vars[src], vars[dst]);
  136|  8.93k|            break;
  137|  8.93k|        }
  138|  8.93k|        case op_erase: {
  139|  8.93k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  8.93k|            vars[dst] = vars[src].erase(idx);
  141|  8.93k|            break;
  142|  8.93k|        }
  143|  8.93k|        case op_insert: {
  144|  8.93k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  8.93k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  8.93k|            break;
  147|  8.93k|        }
  148|  8.93k|        default:
  149|  8.93k|            break;
  150|  8.93k|        };
  151|  8.93k|        return true;
  152|  8.93k|    });
  153|  8.93k|}
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_:
   47|  1.99M|    return fuzzer_input{data, size}.run([&](auto& in) {
   48|  1.99M|        enum ops
   49|  1.99M|        {
   50|  1.99M|            op_push_back,
   51|  1.99M|            op_update,
   52|  1.99M|            op_take,
   53|  1.99M|            op_drop,
   54|  1.99M|            op_concat,
   55|  1.99M|            op_push_back_move,
   56|  1.99M|            op_update_move,
   57|  1.99M|            op_take_move,
   58|  1.99M|            op_drop_move,
   59|  1.99M|            op_concat_move_l,
   60|  1.99M|            op_concat_move_r,
   61|  1.99M|            op_concat_move_lr,
   62|  1.99M|            op_insert,
   63|  1.99M|            op_erase,
   64|  1.99M|            op_compare,
   65|  1.99M|        };
   66|  1.99M|        auto src = read<char>(in, is_valid_var);
   67|  1.99M|        auto dst = read<char>(in, is_valid_var);
   68|  1.99M|        switch (read<char>(in)) {
   69|   439k|        case op_push_back: {
  ------------------
  |  Branch (69:9): [True: 439k, False: 1.55M]
  ------------------
   70|   439k|            vars[dst] = vars[src].push_back(42);
   71|   439k|            break;
   72|      0|        }
   73|   120k|        case op_update: {
  ------------------
  |  Branch (73:9): [True: 120k, False: 1.87M]
  ------------------
   74|   120k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
   75|   120k|            vars[dst] = vars[src].update(idx, [](auto x) { return x + 1; });
   76|   120k|            break;
   77|      0|        }
   78|  1.83k|        case op_take: {
  ------------------
  |  Branch (78:9): [True: 1.83k, False: 1.99M]
  ------------------
   79|  1.83k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   80|  1.83k|            vars[dst] = vars[src].take(idx);
   81|  1.83k|            break;
   82|      0|        }
   83|  3.09k|        case op_drop: {
  ------------------
  |  Branch (83:9): [True: 3.09k, False: 1.99M]
  ------------------
   84|  3.09k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
   85|  3.09k|            vars[dst] = vars[src].drop(idx);
   86|  3.09k|            break;
   87|      0|        }
   88|   901k|        case op_concat: {
  ------------------
  |  Branch (88:9): [True: 901k, False: 1.09M]
  ------------------
   89|   901k|            auto src2 = read<char>(in, is_valid_var);
   90|   901k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (90:17): [True: 841k, False: 60.0k]
  ------------------
   91|   841k|                vars[dst] = vars[src] + vars[src2];
   92|   901k|            break;
   93|      0|        }
   94|  12.2k|        case op_push_back_move: {
  ------------------
  |  Branch (94:9): [True: 12.2k, False: 1.98M]
  ------------------
   95|  12.2k|            vars[dst] = std::move(vars[src]).push_back(21);
   96|  12.2k|            break;
   97|      0|        }
   98|  43.1k|        case op_update_move: {
  ------------------
  |  Branch (98:9): [True: 43.1k, False: 1.95M]
  ------------------
   99|  43.1k|            auto idx = read<size_t>(in, is_valid_index(vars[src]));
  100|  43.1k|            vars[dst] =
  101|  43.1k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
  102|  43.1k|            break;
  103|      0|        }
  104|  38.5k|        case op_take_move: {
  ------------------
  |  Branch (104:9): [True: 38.5k, False: 1.96M]
  ------------------
  105|  38.5k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  106|  38.5k|            vars[dst] = std::move(vars[src]).take(idx);
  107|  38.5k|            break;
  108|      0|        }
  109|  43.8k|        case op_drop_move: {
  ------------------
  |  Branch (109:9): [True: 43.8k, False: 1.95M]
  ------------------
  110|  43.8k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  111|  43.8k|            vars[dst] = std::move(vars[src]).drop(idx);
  112|  43.8k|            break;
  113|      0|        }
  114|   297k|        case op_concat_move_l: {
  ------------------
  |  Branch (114:9): [True: 297k, False: 1.70M]
  ------------------
  115|   297k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  116|   297k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (116:17): [True: 276k, False: 21.0k]
  ------------------
  117|   276k|                vars[dst] = std::move(vars[src]) + vars[src2];
  118|   297k|            break;
  119|      0|        }
  120|  5.36k|        case op_concat_move_r: {
  ------------------
  |  Branch (120:9): [True: 5.36k, False: 1.99M]
  ------------------
  121|  5.36k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  122|  5.36k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (122:17): [True: 5.01k, False: 347]
  ------------------
  123|  5.01k|                vars[dst] = vars[src] + std::move(vars[src2]);
  124|  5.36k|            break;
  125|      0|        }
  126|  2.34k|        case op_concat_move_lr: {
  ------------------
  |  Branch (126:9): [True: 2.34k, False: 1.99M]
  ------------------
  127|  2.34k|            auto src2 = read<char>(in, is_valid_var_neq(src));
  128|  2.34k|            if (can_concat(vars[src], vars[src2]))
  ------------------
  |  Branch (128:17): [True: 1.72k, False: 621]
  ------------------
  129|  1.72k|                vars[dst] = std::move(vars[src]) + std::move(vars[src2]);
  130|  2.34k|            break;
  131|      0|        }
  132|  30.8k|        case op_compare: {
  ------------------
  |  Branch (132:9): [True: 30.8k, False: 1.96M]
  ------------------
  133|  30.8k|            using std::swap;
  134|  30.8k|            if (can_compare(vars[src]) && vars[src] == vars[dst])
  ------------------
  |  Branch (134:17): [True: 27.9k, False: 2.83k]
  |  Branch (134:43): [True: 7.34k, False: 20.6k]
  ------------------
  135|  7.34k|                swap(vars[src], vars[dst]);
  136|  30.8k|            break;
  137|      0|        }
  138|  3.11k|        case op_erase: {
  ------------------
  |  Branch (138:9): [True: 3.11k, False: 1.99M]
  ------------------
  139|  3.11k|            auto idx  = read<size_t>(in, is_valid_index(vars[src]));
  140|  3.11k|            vars[dst] = vars[src].erase(idx);
  141|  3.11k|            break;
  142|      0|        }
  143|  18.9k|        case op_insert: {
  ------------------
  |  Branch (143:9): [True: 18.9k, False: 1.97M]
  ------------------
  144|  18.9k|            auto idx  = read<size_t>(in, is_valid_size(vars[src]));
  145|  18.9k|            vars[dst] = vars[src].insert(idx, immer::box<int>{42});
  146|  18.9k|            break;
  147|      0|        }
  148|  27.9k|        default:
  ------------------
  |  Branch (148:9): [True: 27.9k, False: 1.97M]
  ------------------
  149|  27.9k|            break;
  150|  1.99M|        };
  151|  1.99M|        return true;
  152|  1.99M|    });
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_0clIcEEDaT_:
   28|  5.22M|    auto is_valid_var = [&](auto idx) { return idx >= 0 && idx < var_count; };
  ------------------
  |  Branch (28:48): [True: 5.05M, False: 163k]
  |  Branch (28:60): [True: 4.88M, 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|   186k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
  ------------------
  |  Branch (35:39): [True: 186k, False: 0]
  |  Branch (35:51): [True: 166k, False: 19.6k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_2clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   34|   167k|    auto is_valid_index = [](auto& v) {
   35|   167k|        return [&](auto idx) { return idx >= 0 && idx < v.size(); };
   36|   167k|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E_clIiEEDaS2_:
   75|   120k|            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|   118k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
  ------------------
  |  Branch (38:39): [True: 118k, False: 0]
  |  Branch (38:51): [True: 106k, False: 12.0k]
  ------------------
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_3clIN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaRT_:
   37|   106k|    auto is_valid_size = [](auto& v) {
   38|   106k|        return [&](auto idx) { return idx >= 0 && idx <= v.size(); };
   39|   106k|    };
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.20M|    auto can_concat = [](auto&& v1, auto&& v2) {
   41|  1.20M|        return v1.size() + v2.size() < vector_t::max_size();
   42|  1.20M|    };
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_6clI12fuzzer_inputEEDaRT_ENKUlS2_E0_clIiEEDaS2_:
  101|  43.1k|                std::move(vars[src]).update(idx, [](auto x) { return x + 1; });
flex-vector.cpp:_ZZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_ENKUlS1_E_clIcEEDaS1_:
   30|   344k|        return [=](auto idx) {
   31|   344k|            return idx >= 0 && idx < var_count && idx != other;
  ------------------
  |  Branch (31:20): [True: 338k, False: 5.83k]
  |  Branch (31:32): [True: 326k, False: 11.4k]
  |  Branch (31:51): [True: 304k, False: 21.9k]
  ------------------
   32|   344k|        };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_:
   29|   304k|    auto is_valid_var_neq = [](auto other) {
   30|   304k|        return [=](auto idx) {
   31|   304k|            return idx >= 0 && idx < var_count && idx != other;
   32|   304k|        };
   33|   304k|    };
flex-vector.cpp:_ZZ22LLVMFuzzerTestOneInputENK3$_5clIRN5immer11flex_vectorIiNS1_13memory_policyINS1_21free_list_heap_policyINS1_8cpp_heapELm1024EEENS1_15refcount_policyENS1_15spinlock_policyENS1_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
   43|  30.8k|    auto can_compare = [](auto&& v) {
   44|       |        // avoid comparing vectors that are too big, and hence, slow to compare
   45|  30.8k|        return v.size() < (1 << 15);
   46|  30.8k|    };

flex-vector.cpp:_ZN12fuzzer_input3runIZ22LLVMFuzzerTestOneInputE3$_6EEiT_:
   50|  8.93k|    {
   51|  8.93k|        if (size_ > fuzzer_input_max_size)
  ------------------
  |  Branch (51:13): [True: 7, False: 8.92k]
  ------------------
   52|      7|            return 0;
   53|  8.92k|        try {
   54|  1.99M|            while (step(*this))
  ------------------
  |  Branch (54:20): [True: 1.99M, False: 8.92k]
  ------------------
   55|  1.99M|                continue;
   56|  8.92k|        } catch (const no_more_input&) {
   57|  8.92k|        };
   58|  8.92k|        return 0;
   59|  8.92k|    }
flex-vector.cpp:_Z4readIcZ22LLVMFuzzerTestOneInputE3$_0ET_R12fuzzer_inputT0_:
   70|  4.89M|{
   71|  4.89M|    auto x = read<T>(fz);
   72|  5.23M|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 339k, False: 4.89M]
  ------------------
   73|   339k|        x = read<T>(fz);
   74|  4.89M|    return x;
   75|  4.89M|}
_Z4readIcERKT_R12fuzzer_input:
   64|  7.56M|{
   65|  7.56M|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|  7.56M|}
_ZN12fuzzer_input4nextEmm:
   40|  7.87M|    {
   41|  7.87M|        auto& p = const_cast<void*&>(reinterpret_cast<const void*&>(data_));
   42|  7.87M|        auto r  = std::align(align, size, p, size_);
   43|  7.87M|        if (r == nullptr)
  ------------------
  |  Branch (43:13): [True: 8.92k, False: 7.86M]
  ------------------
   44|  8.92k|            throw no_more_input{};
   45|  7.86M|        return next(size);
   46|  7.87M|    }
_ZN12fuzzer_input4nextEm:
   30|  7.86M|    {
   31|  7.86M|        if (size_ < size)
  ------------------
  |  Branch (31:13): [True: 0, False: 7.86M]
  ------------------
   32|      0|            throw no_more_input{};
   33|  7.86M|        auto r = data_;
   34|  7.86M|        data_ += size;
   35|  7.86M|        size_ -= size;
   36|  7.86M|        return r;
   37|  7.86M|    }
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|   167k|{
   71|   167k|    auto x = read<T>(fz);
   72|   186k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 19.6k, False: 167k]
  ------------------
   73|  19.6k|        x = read<T>(fz);
   74|   167k|    return x;
   75|   167k|}
_Z4readIhERKT_R12fuzzer_input:
   64|   305k|{
   65|   305k|    return *reinterpret_cast<const T*>(fz.next(sizeof(T), alignof(T)));
   66|   305k|}
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|   106k|{
   71|   106k|    auto x = read<T>(fz);
   72|   118k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 12.0k, False: 106k]
  ------------------
   73|  12.0k|        x = read<T>(fz);
   74|   106k|    return x;
   75|   106k|}
flex-vector.cpp:_Z4readIcZZ22LLVMFuzzerTestOneInputENK3$_1clIcEEDaT_EUlS2_E_ES2_R12fuzzer_inputT0_:
   70|   304k|{
   71|   304k|    auto x = read<T>(fz);
   72|   344k|    while (!cond(x))
  ------------------
  |  Branch (72:12): [True: 39.2k, False: 304k]
  ------------------
   73|  39.2k|        x = read<T>(fz);
   74|   304k|    return x;
   75|   304k|}

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

_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|   102M|        {
  171|   102M|            return x.get_(type_t<U>{});
  172|   102M|        }
_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|   102M|        {
  185|   102M|            return n.get_(t);
  186|   102M|        }
_ZNK5immer6detail3csl6memberINS_15refcount_policyENS1_7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4typeEE4type4get_ENS1_6type_tIS3_EE:
  128|   114M|        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|  12.1M|        {
  171|  12.1M|            return x.get_(type_t<U>{});
  172|  12.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|  12.1M|        {
  185|  12.1M|            return n.get_(t);
  186|  12.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|  11.4M|        {
  166|  11.4M|            return x.get_(type_t<U>{});
  167|  11.4M|        }
_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|  11.4M|        {
  180|  11.4M|            return n.get_(t);
  181|  11.4M|        }
_ZN5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  102|  27.7M|        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|  16.2M|        {
  166|  16.2M|            return x.get_(type_t<U>{});
  167|  16.2M|        }
_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|  16.2M|        {
  180|  16.2M|            return n.get_(t);
  181|  16.2M|        }
_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|   106k|        {
  171|   106k|            return x.get_(type_t<U>{});
  172|   106k|        }
_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|   106k|        {
  185|   106k|            return n.get_(t);
  186|   106k|        }
_ZNK5immer6detail3csl7inheritINS_20no_transience_policy5applyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEEE4type5owneeEvE4type4get_ENS1_6type_tISA_EE:
  103|   106k|        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.58M|    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.58M|    {
   23|  5.58M|        return x.dereference();
   24|  5.58M|    }
_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.63M|    {
   87|  5.63M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   88|  5.63M|                      "must pass a derived thing");
   89|  5.63M|        return *static_cast<const DerivedT*>(this);
   90|  5.63M|    }
_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|   208k|    {
  152|   208k|        access_t::advance(derived(), n);
  153|   208k|        return derived();
  154|   208k|    }
_ZN5immer6detail20iterator_core_access7advanceIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEElEEDcOT_T0_:
   46|   208k|    {
   47|   208k|        return x.advance(d);
   48|   208k|    }
_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|  8.90M|    {
   93|  8.90M|        static_assert(std::is_base_of<iterator_facade, DerivedT>::value,
   94|  8.90M|                      "must pass a derived thing");
   95|  8.90M|        return *static_cast<DerivedT*>(this);
   96|  8.90M|    }
_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.24M|    {
  120|  4.24M|        access_t::increment(derived());
  121|  4.24M|        return derived();
  122|  4.24M|    }
_ZN5immer6detail20iterator_core_access9incrementIRNS0_4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDcOT_:
   28|  4.24M|    {
   29|  4.24M|        return x.increment();
   30|  4.24M|    }
_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|  44.6k|    {
  165|  44.6k|        auto tmp = derived();
  166|  44.6k|        return tmp += n;
  167|  44.6k|    }

_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17make_inner_n_intoEPvmj:
  213|  2.69M|    {
  214|  2.69M|        assert(n <= branches<B>);
  ------------------
  |  Branch (214:9): [True: 2.69M, False: 0]
  ------------------
  215|  2.69M|        assert(size >= sizeof_inner_n(n));
  ------------------
  |  Branch (215:9): [True: 2.69M, False: 0]
  ------------------
  216|  2.69M|        auto p                       = new (buffer) node_t;
  217|  2.69M|        p->impl.d.data.inner.relaxed = nullptr;
  218|  2.69M|#if IMMER_TAGGED_NODE
  219|  2.69M|        p->impl.d.kind = node_t::kind_t::inner;
  220|  2.69M|#endif
  221|  2.69M|        return p;
  222|  2.69M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14sizeof_inner_nEj:
  145|  10.8M|    {
  146|  10.8M|        return keep_headroom ? max_sizeof_inner : sizeof_packed_inner_n(n);
  ------------------
  |  Branch (146:16): [True: 10.8M, Folded]
  ------------------
  147|  10.8M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  956|  28.1M|    {
  957|  28.1M|        refs(this).inc();
  958|  28.1M|        return this;
  959|  28.1M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4refsEPKSB_:
  203|   102M|    {
  204|   102M|        return auto_const_cast(get<refs_t>(x->impl));
  205|   102M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16make_leaf_n_intoEPvmj:
  330|  1.19M|    {
  331|  1.19M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (331:9): [True: 1.19M, False: 0]
  ------------------
  332|  1.19M|        assert(size >= sizeof_leaf_n(n));
  ------------------
  |  Branch (332:9): [True: 1.19M, False: 0]
  ------------------
  333|  1.19M|        auto p = new (buffer) node_t;
  334|  1.19M|#if IMMER_TAGGED_NODE
  335|  1.19M|        p->impl.d.kind = node_t::kind_t::leaf;
  336|  1.19M|#endif
  337|  1.19M|        return p;
  338|  1.19M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13sizeof_leaf_nEj:
  160|  4.98M|    {
  161|  4.98M|        return keep_headroom ? max_sizeof_leaf : sizeof_packed_leaf_n(n);
  ------------------
  |  Branch (161:16): [True: 4.98M, Folded]
  ------------------
  162|  4.98M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7relaxedEv:
  172|   166M|    {
  173|   166M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   166M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (173:9): [True: 166M, False: 0]
  ------------------
  174|   166M|        return impl.d.data.inner.relaxed;
  175|   166M|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4kindEv:
  168|   314M|    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|  58.3M|    bool dec() const { return refs(this).dec(); }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5innerEv:
  184|   107M|    {
  185|   107M|        IMMER_ASSERT_TAGGED(kind() == kind_t::inner);
  ------------------
  |  |   68|   107M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (185:9): [True: 107M, False: 0]
  ------------------
  186|   107M|        return impl.d.data.inner.get_storage_ptr();
  187|   107M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_j:
  832|  11.5M|    {
  833|  11.5M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  11.5M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (833:9): [True: 11.5M, False: 0]
  ------------------
  834|  11.5M|        auto r = p->relaxed();
  835|  11.5M|        assert(r);
  ------------------
  |  Branch (835:9): [True: 11.5M, False: 0]
  ------------------
  836|  11.5M|        static_if<!embed_relaxed>([&](auto) {
  837|  11.5M|            if (node_t::refs(r).dec())
  838|  11.5M|                heap::deallocate(node_t::ownee(r).owned()
  839|  11.5M|                                     ? node_t::max_sizeof_relaxed
  840|  11.5M|                                     : node_t::sizeof_relaxed_n(n),
  841|  11.5M|                                 r);
  842|  11.5M|        });
  843|  11.5M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner_r
  ------------------
  |  Branch (843:26): [True: 0, False: 11.5M]
  ------------------
  844|  11.5M|                                          : node_t::sizeof_inner_r_n(n),
  845|  11.5M|                         p);
  846|  11.5M|    }
_ZZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14delete_inner_rEPSB_jENKUlT_E_clINS0_7empty_tEEEDaSD_:
  836|  11.5M|        static_if<!embed_relaxed>([&](auto) {
  837|  11.5M|            if (node_t::refs(r).dec())
  ------------------
  |  Branch (837:17): [True: 11.3M, False: 253k]
  ------------------
  838|  11.3M|                heap::deallocate(node_t::ownee(r).owned()
  ------------------
  |  Branch (838:34): [True: 0, False: 11.3M]
  ------------------
  839|  11.3M|                                     ? node_t::max_sizeof_relaxed
  840|  11.3M|                                     : node_t::sizeof_relaxed_n(n),
  841|  11.3M|                                 r);
  842|  11.5M|        });
_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|  12.1M|    {
  197|  12.1M|        return auto_const_cast(get<refs_t>(*x));
  198|  12.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|  11.4M|    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|  22.4M|    {
  156|  22.4M|        return keep_headroom ? max_sizeof_relaxed : sizeof_packed_relaxed_n(n);
  ------------------
  |  Branch (156:16): [True: 22.4M, Folded]
  ------------------
  157|  22.4M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPSB_:
  210|  16.2M|    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|  23.0M|    {
  151|  23.0M|        return keep_headroom ? max_sizeof_inner_r : sizeof_packed_inner_r_n(n);
  ------------------
  |  Branch (151:16): [True: 23.0M, Folded]
  ------------------
  152|  23.0M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11delete_leafEPSB_j:
  861|  1.41M|    {
  862|  1.41M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::leaf);
  ------------------
  |  |   68|  1.41M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (862:9): [True: 1.41M, False: 0]
  ------------------
  863|  1.41M|        detail::destroy_n(p->leaf(), n);
  864|  1.41M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_leaf
  ------------------
  |  Branch (864:26): [True: 0, False: 1.41M]
  ------------------
  865|  1.41M|                                          : node_t::sizeof_leaf_n(n),
  866|  1.41M|                         p);
  867|  1.41M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4leafEv:
  190|  10.1M|    {
  191|  10.1M|        IMMER_ASSERT_TAGGED(kind() == kind_t::leaf);
  ------------------
  |  |   68|  10.1M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (191:9): [True: 10.1M, False: 0]
  ------------------
  192|  10.1M|        return impl.d.data.leaf.get_storage_ptr();
  193|  10.1M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12delete_innerEPSB_j:
  808|  2.79M|    {
  809|  2.79M|        IMMER_ASSERT_TAGGED(p->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.79M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (809:9): [True: 2.79M, False: 0]
  ------------------
  810|  2.79M|        assert(!p->relaxed());
  ------------------
  |  Branch (810:9): [True: 2.79M, False: 0]
  ------------------
  811|  2.79M|        heap::deallocate(ownee(p).owned() ? node_t::max_sizeof_inner
  ------------------
  |  Branch (811:26): [True: 0, False: 2.79M]
  ------------------
  812|  2.79M|                                          : node_t::sizeof_inner_n(n),
  813|  2.79M|                         p);
  814|  2.79M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE17copy_leaf_emplaceIiEEPSB_SD_jOT_:
  794|   321k|    {
  795|   321k|        auto dst = copy_leaf_n(n + 1, src, n);
  796|   321k|        IMMER_TRY {
  ------------------
  |  |   49|   321k|#define IMMER_TRY try
  ------------------
  797|   321k|            new (dst->leaf() + n) T(std::forward<U>(x));
  798|   321k|        }
  799|   321k|        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|   321k|        return dst;
  805|   321k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_nEjPSB_j:
  696|   321k|    {
  697|   321k|        assert(allocn >= n);
  ------------------
  |  Branch (697:9): [True: 321k, False: 0]
  ------------------
  698|   321k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   321k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (698:9): [True: 321k, False: 0]
  ------------------
  699|   321k|        auto dst = make_leaf_n(allocn);
  700|   321k|        IMMER_TRY {
  ------------------
  |  |   49|   321k|#define IMMER_TRY try
  ------------------
  701|   321k|            detail::uninitialized_copy(
  702|   321k|                src->leaf(), src->leaf() + n, dst->leaf());
  703|   321k|        }
  704|   321k|        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|   321k|        return dst;
  709|   321k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nEj:
  341|  1.19M|    {
  342|  1.19M|        assert(n <= branches<BL>);
  ------------------
  |  Branch (342:9): [True: 1.19M, False: 0]
  ------------------
  343|  1.19M|        auto m = heap::allocate(sizeof_leaf_n(n));
  344|  1.19M|        return make_leaf_n_into(m, sizeof_leaf_n(n), n);
  345|  1.19M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_nIiEEPSB_jOT_:
  470|   117k|    {
  471|   117k|        assert(n >= 1);
  ------------------
  |  Branch (471:9): [True: 117k, False: 0]
  ------------------
  472|   117k|        auto p = make_leaf_n(n);
  473|   117k|        IMMER_TRY {
  ------------------
  |  |   49|   117k|#define IMMER_TRY try
  ------------------
  474|   117k|            new (p->leaf()) T(std::forward<U>(x));
  475|   117k|        }
  476|   117k|        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|   117k|        return p;
  481|   117k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13do_copy_innerEPSB_SC_j:
  558|  2.48M|    {
  559|  2.48M|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.48M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (559:9): [True: 2.48M, False: 0]
  ------------------
  560|  2.48M|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  2.48M|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (560:9): [True: 2.48M, False: 0]
  ------------------
  561|  2.48M|        auto p = src->inner();
  562|  2.48M|        inc_nodes(p, n);
  563|  2.48M|        std::copy(p, p + n, dst->inner());
  564|  2.48M|        return dst;
  565|  2.48M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9inc_nodesEPPSB_j:
  970|  8.49M|    {
  971|  22.9M|        for (auto i = p, e = i + n; i != e; ++i)
  ------------------
  |  Branch (971:37): [True: 14.4M, False: 8.49M]
  ------------------
  972|  14.4M|            refs(*i).inc();
  973|  8.49M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_nEjPSB_j:
  588|   421k|    {
  589|   421k|        assert(allocn >= n);
  ------------------
  |  Branch (589:9): [True: 421k, False: 0]
  ------------------
  590|   421k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   421k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (590:9): [True: 421k, False: 0]
  ------------------
  591|   421k|        auto dst = make_inner_r_n(allocn);
  592|   421k|        return do_copy_inner_r(dst, src, n);
  593|   421k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15do_copy_inner_rEPSB_SC_j:
  610|   445k|    {
  611|   445k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|   445k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (611:9): [True: 445k, False: 0]
  ------------------
  612|   445k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|   445k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (612:9): [True: 445k, False: 0]
  ------------------
  613|   445k|        auto src_r = src->relaxed();
  614|   445k|        auto dst_r = dst->relaxed();
  615|   445k|        inc_nodes(src->inner(), n);
  616|   445k|        std::copy(src->inner(), src->inner() + n, dst->inner());
  617|   445k|        std::copy(src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  618|   445k|        dst_r->d.count = n;
  619|   445k|        return dst;
  620|   445k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_nEj:
  243|  11.1M|    {
  244|  11.1M|        assert(n <= branches<B>);
  ------------------
  |  Branch (244:9): [True: 11.1M, False: 0]
  ------------------
  245|  11.1M|        auto mp = heap::allocate(sizeof_inner_r_n(n));
  246|  11.1M|        auto mr = static_cast<void*>(nullptr);
  247|  11.1M|        if (embed_relaxed) {
  ------------------
  |  Branch (247:13): [Folded, False: 11.1M]
  ------------------
  248|      0|            mr = reinterpret_cast<unsigned char*>(mp) + sizeof_inner_n(n);
  249|  11.1M|        } else {
  250|  11.1M|            IMMER_TRY {
  ------------------
  |  |   49|  11.1M|#define IMMER_TRY try
  ------------------
  251|  11.1M|                mr = heap::allocate(sizeof_relaxed_n(n), norefs_tag{});
  252|  11.1M|            }
  253|  11.1M|            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|  11.1M|        }
  258|  11.1M|        auto p                       = new (mp) node_t;
  259|  11.1M|        auto r                       = new (mr) relaxed_t;
  260|  11.1M|        r->d.count                   = 0;
  261|  11.1M|        p->impl.d.data.inner.relaxed = r;
  262|  11.1M|#if IMMER_TAGGED_NODE
  263|  11.1M|        p->impl.d.kind = node_t::kind_t::inner;
  264|  11.1M|#endif
  265|  11.1M|        return p;
  266|  11.1M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9make_pathEjPSB_:
  498|   706k|    {
  499|   706k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   706k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (499:9): [True: 706k, False: 0]
  ------------------
  500|   706k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (500:13): [True: 520k, False: 185k]
  ------------------
  501|   520k|            return node;
  502|   185k|        else {
  503|   185k|            auto n = node_t::make_inner_n(1);
  504|   185k|            IMMER_TRY {
  ------------------
  |  |   49|   185k|#define IMMER_TRY try
  ------------------
  505|   185k|                n->inner()[0] = make_path(shift - B, node);
  506|   185k|            }
  507|   185k|            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|   185k|            return n;
  512|   185k|        }
  513|   706k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_nEj:
  224|  2.69M|    {
  225|  2.69M|        assert(n <= branches<B>);
  ------------------
  |  Branch (225:9): [True: 2.69M, False: 0]
  ------------------
  226|  2.69M|        auto m = heap::allocate(sizeof_inner_n(n));
  227|  2.69M|        return make_inner_n_into(m, sizeof_inner_n(n), n);
  228|  2.69M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_j:
  666|   130k|    {
  667|   130k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   130k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (667:9): [True: 130k, False: 0]
  ------------------
  668|   130k|        auto dst = make_leaf_n(n);
  669|   130k|        IMMER_TRY {
  ------------------
  |  |   49|   130k|#define IMMER_TRY try
  ------------------
  670|   130k|            detail::uninitialized_copy(
  671|   130k|                src->leaf(), src->leaf() + n, dst->leaf());
  672|   130k|        }
  673|   130k|        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|   130k|        return dst;
  678|   130k|    }
_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|   268k|    {
  270|   268k|        return static_if<embed_relaxed, node_t*>(
  271|   268k|            [&](auto) { return node_t::make_inner_r_n(n); },
  272|   268k|            [&](auto) {
  273|   268k|                auto p =
  274|   268k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   268k|                assert(r->d.count >= n);
  276|   268k|                node_t::refs(r).inc();
  277|   268k|                p->impl.d.data.inner.relaxed = r;
  278|   268k|#if IMMER_TAGGED_NODE
  279|   268k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   268k|#endif
  281|   268k|                return p;
  282|   268k|            });
  283|   268k|    }
_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|   268k|            [&](auto) {
  273|   268k|                auto p =
  274|   268k|                    new (heap::allocate(node_t::sizeof_inner_r_n(n))) node_t;
  275|   268k|                assert(r->d.count >= n);
  ------------------
  |  Branch (275:17): [True: 268k, False: 0]
  ------------------
  276|   268k|                node_t::refs(r).inc();
  277|   268k|                p->impl.d.data.inner.relaxed = r;
  278|   268k|#if IMMER_TAGGED_NODE
  279|   268k|                p->impl.d.kind = node_t::kind_t::inner;
  280|   268k|#endif
  281|   268k|                return p;
  282|   268k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24do_copy_inner_replace_srEPSB_SC_jjSC_:
  652|   268k|    {
  653|   268k|        if (embed_relaxed)
  ------------------
  |  Branch (653:13): [Folded, False: 268k]
  ------------------
  654|      0|            return do_copy_inner_replace_r(dst, src, n, offset, child);
  655|   268k|        else {
  656|   268k|            auto p = src->inner();
  657|   268k|            inc_nodes(p, offset);
  658|   268k|            inc_nodes(p + offset + 1, n - offset - 1);
  659|   268k|            std::copy(p, p + n, dst->inner());
  660|   268k|            dst->inner()[offset] = child;
  661|   268k|            return dst;
  662|   268k|        }
  663|   268k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE21do_copy_inner_replaceEPSB_SC_jjSC_:
  569|  50.6k|    {
  570|  50.6k|        IMMER_ASSERT_TAGGED(dst->kind() == kind_t::inner);
  ------------------
  |  |   68|  50.6k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (570:9): [True: 50.6k, False: 0]
  ------------------
  571|  50.6k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  50.6k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (571:9): [True: 50.6k, False: 0]
  ------------------
  572|  50.6k|        auto p = src->inner();
  573|  50.6k|        inc_nodes(p, offset);
  574|  50.6k|        inc_nodes(p + offset + 1, n - offset - 1);
  575|  50.6k|        std::copy(p, p + n, dst->inner());
  576|  50.6k|        dst->inner()[offset] = child;
  577|  50.6k|        return dst;
  578|  50.6k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_nEjPSB_j:
  543|  9.31k|    {
  544|  9.31k|        assert(allocn >= n);
  ------------------
  |  Branch (544:9): [True: 9.31k, False: 0]
  ------------------
  545|  9.31k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  9.31k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (545:9): [True: 9.31k, False: 0]
  ------------------
  546|  9.31k|        auto dst = make_inner_n(allocn);
  547|  9.31k|        return do_copy_inner(dst, src, n);
  548|  9.31k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_rEPSB_j:
  581|  4.89k|    {
  582|  4.89k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  4.89k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (582:9): [True: 4.89k, False: 0]
  ------------------
  583|  4.89k|        auto dst = make_inner_r_n(n);
  584|  4.89k|        return do_copy_inner_r(dst, src, n);
  585|  4.89k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13compute_shiftEv:
  977|  5.07M|    {
  978|  5.07M|        if (kind() == kind_t::leaf)
  ------------------
  |  Branch (978:13): [True: 439k, False: 4.63M]
  ------------------
  979|   439k|            return endshift<B, BL>;
  980|  4.63M|        else
  981|  4.63M|            return B + inner()[0]->compute_shift();
  982|  5.07M|    }
_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|   300k|    {
  779|   300k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   300k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (779:9): [True: 300k, False: 0]
  ------------------
  780|   300k|        auto dst = make_leaf_n(last - idx);
  781|   300k|        IMMER_TRY {
  ------------------
  |  |   49|   300k|#define IMMER_TRY try
  ------------------
  782|   300k|            detail::uninitialized_copy(
  783|   300k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  784|   300k|        }
  785|   300k|        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|   300k|        return dst;
  790|   300k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9copy_leafEPSB_jSC_j:
  712|   291k|    {
  713|   291k|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|   291k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (713:9): [True: 291k, False: 0]
  ------------------
  714|   291k|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|   291k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (714:9): [True: 291k, False: 0]
  ------------------
  715|   291k|        auto dst = make_leaf_n(n1 + n2);
  716|   291k|        IMMER_TRY {
  ------------------
  |  |   49|   291k|#define IMMER_TRY try
  ------------------
  717|   291k|            detail::uninitialized_copy(
  718|   291k|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  719|   291k|        }
  720|   291k|        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|   291k|        IMMER_TRY {
  ------------------
  |  |   49|   291k|#define IMMER_TRY try
  ------------------
  725|   291k|            detail::uninitialized_copy(
  726|   291k|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  727|   291k|        }
  728|   291k|        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|   291k|        return dst;
  734|   291k|    }
_ZNK5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10can_mutateENS9_5applyIS6_E4type4editE:
  870|  1.89M|    {
  871|  1.89M|        return refs(this).unique() || ownee(this).can_mutate(e);
  ------------------
  |  Branch (871:16): [True: 1.78M, False: 106k]
  |  Branch (871:39): [True: 0, False: 106k]
  ------------------
  872|  1.89M|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5owneeEPKSB_:
  207|   106k|    {
  208|   106k|        return get<ownee_t>(x->impl);
  209|   106k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_j:
  681|  34.0k|    {
  682|  34.0k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|  34.0k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (682:9): [True: 34.0k, False: 0]
  ------------------
  683|  34.0k|        auto dst = make_leaf_e(e);
  684|  34.0k|        IMMER_TRY {
  ------------------
  |  |   49|  34.0k|#define IMMER_TRY try
  ------------------
  685|  34.0k|            detail::uninitialized_copy(
  686|  34.0k|                src->leaf(), src->leaf() + n, dst->leaf());
  687|  34.0k|        }
  688|  34.0k|        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|  34.0k|        return dst;
  693|  34.0k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eENS9_5applyIS6_E4type4editE:
  348|   226k|    {
  349|   226k|        auto p   = new (heap::allocate(max_sizeof_leaf)) node_t;
  350|   226k|        ownee(p) = e;
  351|   226k|#if IMMER_TAGGED_NODE
  352|   226k|        p->impl.d.kind = node_t::kind_t::leaf;
  353|   226k|#endif
  354|   226k|        return p;
  355|   226k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11make_leaf_eIiEEPSB_NS9_5applyIS6_E4type4editEOT_:
  485|  12.7k|    {
  486|  12.7k|        auto p = make_leaf_e(e);
  487|  12.7k|        IMMER_TRY {
  ------------------
  |  |   49|  12.7k|#define IMMER_TRY try
  ------------------
  488|  12.7k|            new (p->leaf()) T(std::forward<U>(x));
  489|  12.7k|        }
  490|  12.7k|        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|  12.7k|        return p;
  495|  12.7k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE24ensure_mutable_relaxed_nENS9_5applyIS6_E4type4editEj:
  930|  76.6k|    {
  931|  76.6k|        auto src_r = relaxed();
  932|  76.6k|        return static_if<embed_relaxed, relaxed_t*>(
  933|  76.6k|            [&](auto) { return src_r; },
  934|  76.6k|            [&](auto) {
  935|  76.6k|                if (node_t::refs(src_r).unique() ||
  936|  76.6k|                    node_t::ownee(src_r).can_mutate(e))
  937|  76.6k|                    return src_r;
  938|  76.6k|                else {
  939|  76.6k|                    auto dst_r =
  940|  76.6k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  76.6k|                    if (src_r) {
  942|  76.6k|                        std::copy(
  943|  76.6k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  76.6k|                        if (node_t::refs(src_r).dec())
  945|  76.6k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|  76.6k|                                             src_r);
  947|  76.6k|                    }
  948|  76.6k|                    dst_r->d.count                   = n;
  949|  76.6k|                    node_t::ownee(dst_r)             = e;
  950|  76.6k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  76.6k|                }
  952|  76.6k|            });
  953|  76.6k|    }
_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|  76.6k|            [&](auto) {
  935|  76.6k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (935:21): [True: 65.8k, False: 10.7k]
  ------------------
  936|  10.7k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (936:21): [True: 0, False: 10.7k]
  ------------------
  937|  65.8k|                    return src_r;
  938|  10.7k|                else {
  939|  10.7k|                    auto dst_r =
  940|  10.7k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  941|  10.7k|                    if (src_r) {
  ------------------
  |  Branch (941:25): [True: 10.7k, False: 0]
  ------------------
  942|  10.7k|                        std::copy(
  943|  10.7k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  944|  10.7k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (944:29): [True: 0, False: 10.7k]
  ------------------
  945|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  946|      0|                                             src_r);
  947|  10.7k|                    }
  948|  10.7k|                    dst_r->d.count                   = n;
  949|  10.7k|                    node_t::ownee(dst_r)             = e;
  950|  10.7k|                    return impl.d.data.inner.relaxed = dst_r;
  951|  10.7k|                }
  952|  76.6k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14copy_inner_r_eENS9_5applyIS6_E4type4editEPSB_j:
  596|  18.9k|    {
  597|  18.9k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  18.9k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (597:9): [True: 18.9k, False: 0]
  ------------------
  598|  18.9k|        auto dst = make_inner_r_e(e);
  599|  18.9k|        return do_copy_inner_r(dst, src, n);
  600|  18.9k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14make_inner_r_eENS9_5applyIS6_E4type4editE:
  286|   109k|    {
  287|   109k|        auto mp = heap::allocate(max_sizeof_inner_r);
  288|   109k|        auto mr = static_cast<void*>(nullptr);
  289|   109k|        if (embed_relaxed) {
  ------------------
  |  Branch (289:13): [Folded, False: 109k]
  ------------------
  290|      0|            mr = reinterpret_cast<unsigned char*>(mp) + max_sizeof_inner;
  291|   109k|        } else {
  292|   109k|            IMMER_TRY {
  ------------------
  |  |   49|   109k|#define IMMER_TRY try
  ------------------
  293|   109k|                mr = heap::allocate(max_sizeof_relaxed, norefs_tag{});
  294|   109k|            }
  295|   109k|            IMMER_CATCH (...) {
  296|      0|                heap::deallocate(max_sizeof_inner_r, mp);
  297|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  298|      0|            }
  299|   109k|        }
  300|   109k|        auto p   = new (mp) node_t;
  301|   109k|        auto r   = new (mr) relaxed_t;
  302|   109k|        ownee(p) = e;
  303|   109k|        static_if<!embed_relaxed>([&](auto) { node_t::ownee(r) = e; });
  304|   109k|        r->d.count                   = 0;
  305|   109k|        p->impl.d.data.inner.relaxed = r;
  306|   109k|#if IMMER_TAGGED_NODE
  307|   109k|        p->impl.d.kind = node_t::kind_t::inner;
  308|   109k|#endif
  309|   109k|        return p;
  310|   109k|    }
_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|   109k|        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|   292k|    {
  517|   292k|        IMMER_ASSERT_TAGGED(node->kind() == kind_t::leaf);
  ------------------
  |  |   68|   292k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (517:9): [True: 292k, False: 0]
  ------------------
  518|   292k|        if (shift == endshift<B, BL>)
  ------------------
  |  Branch (518:13): [True: 218k, False: 74.1k]
  ------------------
  519|   218k|            return node;
  520|  74.1k|        else {
  521|  74.1k|            auto n = node_t::make_inner_e(e);
  522|  74.1k|            IMMER_TRY {
  ------------------
  |  |   49|  74.1k|#define IMMER_TRY try
  ------------------
  523|  74.1k|                n->inner()[0] = make_path_e(e, shift - B, node);
  524|  74.1k|            }
  525|  74.1k|            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|  74.1k|            return n;
  530|  74.1k|        }
  531|   292k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12make_inner_eENS9_5applyIS6_E4type4editE:
  231|   104k|    {
  232|   104k|        auto m                       = heap::allocate(max_sizeof_inner);
  233|   104k|        auto p                       = new (m) node_t;
  234|   104k|        ownee(p)                     = e;
  235|   104k|        p->impl.d.data.inner.relaxed = nullptr;
  236|   104k|#if IMMER_TAGGED_NODE
  237|   104k|        p->impl.d.kind = node_t::kind_t::inner;
  238|   104k|#endif
  239|   104k|        return p;
  240|   104k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE12copy_inner_eENS9_5applyIS6_E4type4editEPSB_j:
  551|  21.6k|    {
  552|  21.6k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  21.6k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (552:9): [True: 21.6k, False: 0]
  ------------------
  553|  21.6k|        auto dst = make_inner_e(e);
  554|  21.6k|        return do_copy_inner(dst, src, n);
  555|  21.6k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE15copy_inner_sr_eENS9_5applyIS6_E4type4editEPSB_j:
  603|  11.3k|    {
  604|  11.3k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::inner);
  ------------------
  |  |   68|  11.3k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (604:9): [True: 11.3k, False: 0]
  ------------------
  605|  11.3k|        auto dst = make_inner_sr_e(e, src->relaxed());
  606|  11.3k|        return do_copy_inner_sr(dst, src, n);
  607|  11.3k|    }
_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|  11.3k|    {
  314|  11.3k|        return static_if<embed_relaxed, node_t*>(
  315|  11.3k|            [&](auto) { return node_t::make_inner_r_e(e); },
  316|  11.3k|            [&](auto) {
  317|  11.3k|                auto p =
  318|  11.3k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  11.3k|                node_t::refs(r).inc();
  320|  11.3k|                p->impl.d.data.inner.relaxed = r;
  321|  11.3k|                node_t::ownee(p)             = e;
  322|  11.3k|#if IMMER_TAGGED_NODE
  323|  11.3k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  11.3k|#endif
  325|  11.3k|                return p;
  326|  11.3k|            });
  327|  11.3k|    }
_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|  11.3k|            [&](auto) {
  317|  11.3k|                auto p =
  318|  11.3k|                    new (heap::allocate(node_t::max_sizeof_inner_r)) node_t;
  319|  11.3k|                node_t::refs(r).inc();
  320|  11.3k|                p->impl.d.data.inner.relaxed = r;
  321|  11.3k|                node_t::ownee(p)             = e;
  322|  11.3k|#if IMMER_TAGGED_NODE
  323|  11.3k|                p->impl.d.kind = node_t::kind_t::inner;
  324|  11.3k|#endif
  325|  11.3k|                return p;
  326|  11.3k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE16do_copy_inner_srEPSB_SC_j:
  640|  11.3k|    {
  641|  11.3k|        if (embed_relaxed)
  ------------------
  |  Branch (641:13): [Folded, False: 11.3k]
  ------------------
  642|      0|            return do_copy_inner_r(dst, src, n);
  643|  11.3k|        else {
  644|  11.3k|            inc_nodes(src->inner(), n);
  645|  11.3k|            std::copy(src->inner(), src->inner() + n, dst->inner());
  646|  11.3k|            return dst;
  647|  11.3k|        }
  648|  11.3k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jj:
  763|   179k|    {
  764|   179k|        IMMER_ASSERT_TAGGED(src->kind() == kind_t::leaf);
  ------------------
  |  |   68|   179k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (764:9): [True: 179k, False: 0]
  ------------------
  765|   179k|        auto dst = make_leaf_e(e);
  766|   179k|        IMMER_TRY {
  ------------------
  |  |   49|   179k|#define IMMER_TRY try
  ------------------
  767|   179k|            detail::uninitialized_copy(
  768|   179k|                src->leaf() + idx, src->leaf() + last, dst->leaf());
  769|   179k|        }
  770|   179k|        IMMER_CATCH (...) {
  771|      0|            heap::deallocate(max_sizeof_leaf, dst);
  772|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  773|      0|        }
  774|   179k|        return dst;
  775|   179k|    }
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE22ensure_mutable_relaxedENS9_5applyIS6_E4type4editE:
  877|   178k|    {
  878|   178k|        auto src_r = relaxed();
  879|   178k|        return static_if<embed_relaxed, relaxed_t*>(
  880|   178k|            [&](auto) { return src_r; },
  881|   178k|            [&](auto) {
  882|   178k|                if (node_t::refs(src_r).unique() ||
  883|   178k|                    node_t::ownee(src_r).can_mutate(e))
  884|   178k|                    return src_r;
  885|   178k|                else {
  886|   178k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|   178k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|   178k|                    if (src_r) {
  889|   178k|                        auto n = dst_r->d.count = src_r->d.count;
  890|   178k|                        std::copy(
  891|   178k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|   178k|                        if (node_t::refs(src_r).dec())
  893|   178k|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|   178k|                                             src_r);
  895|   178k|                    }
  896|   178k|                    node_t::ownee(dst_r) = e;
  897|   178k|                    return dst_r;
  898|   178k|                }
  899|   178k|            });
  900|   178k|    }
_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|   178k|            [&](auto) {
  882|   178k|                if (node_t::refs(src_r).unique() ||
  ------------------
  |  Branch (882:21): [True: 162k, False: 16.0k]
  ------------------
  883|  16.0k|                    node_t::ownee(src_r).can_mutate(e))
  ------------------
  |  Branch (883:21): [True: 0, False: 16.0k]
  ------------------
  884|   162k|                    return src_r;
  885|  16.0k|                else {
  886|  16.0k|                    auto dst_r = impl.d.data.inner.relaxed =
  887|  16.0k|                        new (heap::allocate(max_sizeof_relaxed)) relaxed_t;
  888|  16.0k|                    if (src_r) {
  ------------------
  |  Branch (888:25): [True: 16.0k, False: 0]
  ------------------
  889|  16.0k|                        auto n = dst_r->d.count = src_r->d.count;
  890|  16.0k|                        std::copy(
  891|  16.0k|                            src_r->d.sizes, src_r->d.sizes + n, dst_r->d.sizes);
  892|  16.0k|                        if (node_t::refs(src_r).dec())
  ------------------
  |  Branch (892:29): [True: 0, False: 16.0k]
  ------------------
  893|      0|                            heap::deallocate(node_t::sizeof_inner_r_n(n),
  894|      0|                                             src_r);
  895|  16.0k|                    }
  896|  16.0k|                    node_t::ownee(dst_r) = e;
  897|  16.0k|                    return dst_r;
  898|  16.0k|                }
  899|   178k|            });
_ZN5immer6detail4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11copy_leaf_eENS9_5applyIS6_E4type4editEPSB_jSG_j:
  738|    287|    {
  739|    287|        IMMER_ASSERT_TAGGED(src1->kind() == kind_t::leaf);
  ------------------
  |  |   68|    287|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (739:9): [True: 287, False: 0]
  ------------------
  740|    287|        IMMER_ASSERT_TAGGED(src2->kind() == kind_t::leaf);
  ------------------
  |  |   68|    287|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (740:9): [True: 287, False: 0]
  ------------------
  741|    287|        auto dst = make_leaf_e(e);
  742|    287|        IMMER_TRY {
  ------------------
  |  |   49|    287|#define IMMER_TRY try
  ------------------
  743|    287|            detail::uninitialized_copy(
  744|    287|                src1->leaf(), src1->leaf() + n1, dst->leaf());
  745|    287|        }
  746|    287|        IMMER_CATCH (...) {
  747|      0|            heap::deallocate(max_sizeof_leaf, dst);
  748|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  749|      0|        }
  750|    287|        IMMER_TRY {
  ------------------
  |  |   49|    287|#define IMMER_TRY try
  ------------------
  751|    287|            detail::uninitialized_copy(
  752|    287|                src2->leaf(), src2->leaf() + n2, dst->leaf() + n1);
  753|    287|        }
  754|    287|        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|    287|        return dst;
  760|    287|    }

_ZN5immer6detail4rbts11dec_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  523|  35.5M|    {
  524|  35.5M|        using node_t = node_type<Pos>;
  525|  35.5M|        auto node    = p.node();
  526|  35.5M|        if (node->dec()) {
  ------------------
  |  Branch (526:13): [True: 11.5M, False: 23.9M]
  ------------------
  527|  11.5M|            p.each(this_t{});
  528|  11.5M|            node_t::delete_inner_r(node, p.count());
  529|  11.5M|        }
  530|  35.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.47M|    {
  535|  2.47M|        using node_t = node_type<Pos>;
  536|  2.47M|        auto node    = p.node();
  537|  2.47M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 554k, False: 1.92M]
  ------------------
  538|   554k|            p.each(this_t{});
  539|   554k|            node_t::delete_inner(node, p.count());
  540|   554k|        }
  541|  2.47M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.16M|    {
  546|  1.16M|        using node_t = node_type<Pos>;
  547|  1.16M|        auto node    = p.node();
  548|  1.16M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 522k, False: 644k]
  ------------------
  549|   522k|            node_t::delete_leaf(node, p.count());
  550|   522k|        }
  551|  1.16M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|   439k|    {
  546|   439k|        using node_t = node_type<Pos>;
  547|   439k|        auto node    = p.node();
  548|   439k|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 20.0k, False: 419k]
  ------------------
  549|  20.0k|            node_t::delete_leaf(node, p.count());
  550|  20.0k|        }
  551|   439k|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  3.17M|    {
  535|  3.17M|        using node_t = node_type<Pos>;
  536|  3.17M|        auto node    = p.node();
  537|  3.17M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 229k, False: 2.94M]
  ------------------
  538|   229k|            p.each(this_t{});
  539|   229k|            node_t::delete_inner(node, p.count());
  540|   229k|        }
  541|  3.17M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  2.12M|    {
  535|  2.12M|        using node_t = node_type<Pos>;
  536|  2.12M|        auto node    = p.node();
  537|  2.12M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 1.99M, False: 130k]
  ------------------
  538|  1.99M|            p.each(this_t{});
  539|  1.99M|            node_t::delete_inner(node, p.count());
  540|  1.99M|        }
  541|  2.12M|    }
_ZN5immer6detail4rbts11dec_visitor13visit_regularIRNS1_17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  534|  1.65M|    {
  535|  1.65M|        using node_t = node_type<Pos>;
  536|  1.65M|        auto node    = p.node();
  537|  1.65M|        if (node->dec()) {
  ------------------
  |  Branch (537:13): [True: 0, False: 1.65M]
  ------------------
  538|      0|            p.each(this_t{});
  539|      0|            node_t::delete_inner(node, p.count());
  540|      0|        }
  541|  1.65M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  10.1M|    {
  546|  10.1M|        using node_t = node_type<Pos>;
  547|  10.1M|        auto node    = p.node();
  548|  10.1M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 875k, False: 9.28M]
  ------------------
  549|   875k|            node_t::delete_leaf(node, p.count());
  550|   875k|        }
  551|  10.1M|    }
_ZN5immer6detail4rbts11dec_visitor10visit_leafIRNS1_14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_:
  545|  1.55M|    {
  546|  1.55M|        using node_t = node_type<Pos>;
  547|  1.55M|        auto node    = p.node();
  548|  1.55M|        if (node->dec()) {
  ------------------
  |  Branch (548:13): [True: 0, False: 1.55M]
  ------------------
  549|      0|            node_t::delete_leaf(node, p.count());
  550|      0|        }
  551|  1.55M|    }
_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|   415k|    {
  792|   415k|        auto level    = pos.shift();
  793|   415k|        auto idx      = pos.count() - 1;
  794|   415k|        auto children = pos.size(idx);
  795|   415k|        auto new_idx =
  796|   415k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (796:13): [True: 13.9k, False: 401k]
  |  Branch (796:47): [True: 790, False: 400k]
  ------------------
  797|   415k|        auto new_child = static_cast<node_t*>(nullptr);
  798|   415k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (798:13): [True: 4.98k, False: 410k]
  ------------------
  799|  4.98k|            return nullptr;
  800|   410k|        else if (idx == new_idx) {
  ------------------
  |  Branch (800:18): [True: 400k, False: 9.76k]
  ------------------
  801|   400k|            new_child = pos.last_oh_csh(this_t{}, idx, children, tail, ts);
  802|   400k|            if (!new_child) {
  ------------------
  |  Branch (802:17): [True: 4.28k, False: 396k]
  ------------------
  803|  4.28k|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (803:21): [True: 2.91k, False: 1.37k]
  ------------------
  804|  2.91k|                    new_child = node_t::make_path(level - B, tail);
  805|  1.37k|                else
  806|  1.37k|                    return nullptr;
  807|  4.28k|            }
  808|   400k|        } else
  809|  9.76k|            new_child = node_t::make_path(level - B, tail);
  810|   409k|        IMMER_TRY {
  ------------------
  |  |   49|   409k|#define IMMER_TRY try
  ------------------
  811|   409k|            auto count = new_idx + 1;
  812|   409k|            auto new_parent =
  813|   409k|                node_t::copy_inner_r_n(count, pos.node(), new_idx);
  814|   409k|            auto new_relaxed              = new_parent->relaxed();
  815|   409k|            new_parent->inner()[new_idx]  = new_child;
  816|   409k|            new_relaxed->d.sizes[new_idx] = pos.size() + ts;
  817|   409k|            new_relaxed->d.count          = count;
  818|   409k|            assert(new_relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (818:13): [True: 409k, False: 0]
  ------------------
  819|   409k|            return new_parent;
  820|   409k|        }
  821|   409k|        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|   409k|    }
_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|   163k|    {
  835|   163k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 163k, False: 0]
  ------------------
  836|   163k|        auto idx        = pos.index(pos.size() - 1);
  837|   163k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   163k|        auto count      = new_idx + 1;
  839|   163k|        auto new_parent = node_t::make_inner_n(count);
  840|   163k|        IMMER_TRY {
  ------------------
  |  |   49|   163k|#define IMMER_TRY try
  ------------------
  841|   163k|            new_parent->inner()[new_idx] =
  842|   163k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 156k, False: 7.66k]
  ------------------
  843|       |                               /* otherwise */
  844|   163k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   163k|        }
  846|   163k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   163k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   163k|    }
_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|  1.95M|    {
  835|  1.95M|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 1.95M, False: 0]
  ------------------
  836|  1.95M|        auto idx        = pos.index(pos.size() - 1);
  837|  1.95M|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|  1.95M|        auto count      = new_idx + 1;
  839|  1.95M|        auto new_parent = node_t::make_inner_n(count);
  840|  1.95M|        IMMER_TRY {
  ------------------
  |  |   49|  1.95M|#define IMMER_TRY try
  ------------------
  841|  1.95M|            new_parent->inner()[new_idx] =
  842|  1.95M|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 1.49M, False: 467k]
  ------------------
  843|       |                               /* otherwise */
  844|  1.95M|                               : node_t::make_path(pos.shift() - B, tail);
  845|  1.95M|        }
  846|  1.95M|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|  1.95M|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|  1.95M|    }
_ZN5immer6detail4rbts9dec_innerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_jm:
  562|    511|{
  563|    511|    visit_maybe_relaxed_sub(node, shift, size, dec_visitor());
  564|    511|}
_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|   326k|    {
  835|   326k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (835:9): [True: 326k, False: 0]
  ------------------
  836|   326k|        auto idx        = pos.index(pos.size() - 1);
  837|   326k|        auto new_idx    = pos.index(pos.size() + branches<BL> - 1);
  838|   326k|        auto count      = new_idx + 1;
  839|   326k|        auto new_parent = node_t::make_inner_n(count);
  840|   326k|        IMMER_TRY {
  ------------------
  |  |   49|   326k|#define IMMER_TRY try
  ------------------
  841|   326k|            new_parent->inner()[new_idx] =
  842|   326k|                idx == new_idx ? pos.last_oh(this_t{}, idx, tail)
  ------------------
  |  Branch (842:17): [True: 311k, False: 15.1k]
  ------------------
  843|       |                               /* otherwise */
  844|   326k|                               : node_t::make_path(pos.shift() - B, tail);
  845|   326k|        }
  846|   326k|        IMMER_CATCH (...) {
  847|      0|            node_t::delete_inner(new_parent, count);
  848|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  849|      0|        }
  850|   326k|        return node_t::do_copy_inner(new_parent, pos.node(), new_idx);
  851|   326k|    }
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|  93.0k|    {
  503|  93.0k|        auto offset = pos.index(idx);
  504|  93.0k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  93.0k|        IMMER_TRY {
  ------------------
  |  |   49|  93.0k|#define IMMER_TRY try
  ------------------
  506|  93.0k|            node->leaf()[offset] =
  507|  93.0k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  93.0k|            return node;
  509|  93.0k|        }
  510|  93.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|  93.0k|    }
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|   268k|    {
  467|   268k|        auto offset = pos.index(idx);
  468|   268k|        auto count  = pos.count();
  469|   268k|        auto node   = node_t::make_inner_sr_n(count, pos.relaxed());
  470|   268k|        IMMER_TRY {
  ------------------
  |  |   49|   268k|#define IMMER_TRY try
  ------------------
  471|   268k|            auto child = pos.towards_oh(this_t{}, idx, offset, fn);
  472|   268k|            node_t::do_copy_inner_replace_sr(
  473|   268k|                node, pos.node(), count, offset, child);
  474|   268k|            return node;
  475|   268k|        }
  476|   268k|        IMMER_CATCH (...) {
  477|      0|            node_t::delete_inner_r(node, count);
  478|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  479|      0|        }
  480|   268k|    }
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|  27.7k|    {
  485|  27.7k|        auto offset = pos.index(idx);
  486|  27.7k|        auto count  = pos.count();
  487|  27.7k|        auto node   = node_t::make_inner_n(count);
  488|  27.7k|        IMMER_TRY {
  ------------------
  |  |   49|  27.7k|#define IMMER_TRY try
  ------------------
  489|  27.7k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  27.7k|            node_t::do_copy_inner_replace(
  491|  27.7k|                node, pos.node(), count, offset, child);
  492|  27.7k|            return node;
  493|  27.7k|        }
  494|  27.7k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  27.7k|    }
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|  23.5k|    {
  503|  23.5k|        auto offset = pos.index(idx);
  504|  23.5k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  23.5k|        IMMER_TRY {
  ------------------
  |  |   49|  23.5k|#define IMMER_TRY try
  ------------------
  506|  23.5k|            node->leaf()[offset] =
  507|  23.5k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  23.5k|            return node;
  509|  23.5k|        }
  510|  23.5k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  23.5k|    }
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|  18.9k|    {
  485|  18.9k|        auto offset = pos.index(idx);
  486|  18.9k|        auto count  = pos.count();
  487|  18.9k|        auto node   = node_t::make_inner_n(count);
  488|  18.9k|        IMMER_TRY {
  ------------------
  |  |   49|  18.9k|#define IMMER_TRY try
  ------------------
  489|  18.9k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  18.9k|            node_t::do_copy_inner_replace(
  491|  18.9k|                node, pos.node(), count, offset, child);
  492|  18.9k|            return node;
  493|  18.9k|        }
  494|  18.9k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  18.9k|    }
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|  4.11k|    {
  503|  4.11k|        auto offset = pos.index(idx);
  504|  4.11k|        auto node   = node_t::copy_leaf(pos.node(), pos.count());
  505|  4.11k|        IMMER_TRY {
  ------------------
  |  |   49|  4.11k|#define IMMER_TRY try
  ------------------
  506|  4.11k|            node->leaf()[offset] =
  507|  4.11k|                std::forward<Fn>(fn)(std::move(node->leaf()[offset]));
  508|  4.11k|            return node;
  509|  4.11k|        }
  510|  4.11k|        IMMER_CATCH (...) {
  511|      0|            node_t::delete_leaf(node, pos.count());
  512|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  513|      0|        }
  514|  4.11k|    }
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|  3.94k|    {
  485|  3.94k|        auto offset = pos.index(idx);
  486|  3.94k|        auto count  = pos.count();
  487|  3.94k|        auto node   = node_t::make_inner_n(count);
  488|  3.94k|        IMMER_TRY {
  ------------------
  |  |   49|  3.94k|#define IMMER_TRY try
  ------------------
  489|  3.94k|            auto child = pos.towards_oh_ch(this_t{}, idx, offset, count, fn);
  490|  3.94k|            node_t::do_copy_inner_replace(
  491|  3.94k|                node, pos.node(), count, offset, child);
  492|  3.94k|            return node;
  493|  3.94k|        }
  494|  3.94k|        IMMER_CATCH (...) {
  495|      0|            node_t::delete_inner(node, count);
  496|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  497|      0|        }
  498|  3.94k|    }
_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|  42.2k|    {
 1097|  42.2k|        auto idx = pos.index(last);
 1098|  42.2k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [True: 42.2k, Folded]
  |  Branch (1098:25): [True: 32.7k, False: 9.46k]
  ------------------
 1099|  32.7k|            return pos.towards_oh(this_t{}, last, idx);
 1100|  32.7k|        } else {
 1101|  9.46k|            using std::get;
 1102|  9.46k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  9.46k|            auto next = get<1>(subs);
 1104|  9.46k|            auto ts   = get<2>(subs);
 1105|  9.46k|            auto tail = get<3>(subs);
 1106|  9.46k|            IMMER_TRY {
  ------------------
  |  |   49|  9.46k|#define IMMER_TRY try
  ------------------
 1107|  9.46k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 5.72k, False: 3.73k]
  ------------------
 1108|  5.72k|                    auto count = idx + 1;
 1109|  5.72k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  5.72k|                    auto newr  = newn->relaxed();
 1111|  5.72k|                    newn->inner()[idx] = next;
 1112|  5.72k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  5.72k|                    newr->d.count      = count;
 1114|  5.72k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 5.72k, False: 0]
  ------------------
 1115|  5.72k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  5.72k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 0, False: 3.73k]
  ------------------
 1117|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  3.73k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [True: 3.73k, Folded]
  |  Branch (1118:40): [True: 2.73k, False: 999]
  |  Branch (1118:52): [True: 2.12k, False: 614]
  ------------------
 1119|  2.12k|                    auto newn = pos.node()->inner()[0];
 1120|  2.12k|                    return std::make_tuple(
 1121|  2.12k|                        pos.shift() - B, newn->inc(), ts, tail);
 1122|  2.12k|                } else {
 1123|  1.61k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  1.61k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  1.61k|                }
 1126|  9.46k|            }
 1127|  9.46k|            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.46k|        }
 1138|  42.2k|    }
_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.00k|    {
 1182|  2.00k|        auto old_tail_size = pos.count();
 1183|  2.00k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.00k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.02k, False: 982]
  ------------------
 1185|  2.00k|                                 ? pos.node()->inc()
 1186|  2.00k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.00k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.00k|    }
_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|  5.33k|    {
 1182|  5.33k|        auto old_tail_size = pos.count();
 1183|  5.33k|        auto new_tail_size = pos.index(last) + 1;
 1184|  5.33k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 2.60k, False: 2.73k]
  ------------------
 1185|  5.33k|                                 ? pos.node()->inc()
 1186|  5.33k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  5.33k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  5.33k|    }
_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.9k|    {
 1097|  12.9k|        auto idx = pos.index(last);
 1098|  12.9k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1098:13): [Folded, False: 12.9k]
  |  Branch (1098:25): [True: 0, False: 0]
  ------------------
 1099|      0|            return pos.towards_oh(this_t{}, last, idx);
 1100|  12.9k|        } else {
 1101|  12.9k|            using std::get;
 1102|  12.9k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1103|  12.9k|            auto next = get<1>(subs);
 1104|  12.9k|            auto ts   = get<2>(subs);
 1105|  12.9k|            auto tail = get<3>(subs);
 1106|  12.9k|            IMMER_TRY {
  ------------------
  |  |   49|  12.9k|#define IMMER_TRY try
  ------------------
 1107|  12.9k|                if (next) {
  ------------------
  |  Branch (1107:21): [True: 6.76k, False: 6.17k]
  ------------------
 1108|  6.76k|                    auto count = idx + 1;
 1109|  6.76k|                    auto newn  = node_t::copy_inner_r_n(count, pos.node(), idx);
 1110|  6.76k|                    auto newr  = newn->relaxed();
 1111|  6.76k|                    newn->inner()[idx] = next;
 1112|  6.76k|                    newr->d.sizes[idx] = last + 1 - ts;
 1113|  6.76k|                    newr->d.count      = count;
 1114|  6.76k|                    assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (1114:21): [True: 6.76k, False: 0]
  ------------------
 1115|  6.76k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1116|  6.76k|                } else if (idx == 0) {
  ------------------
  |  Branch (1116:28): [True: 2.89k, False: 3.27k]
  ------------------
 1117|  2.89k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1118|  3.27k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1118:28): [Folded, False: 3.27k]
  |  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.27k|                } else {
 1123|  3.27k|                    auto newn = node_t::copy_inner_r(pos.node(), idx);
 1124|  3.27k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1125|  3.27k|                }
 1126|  12.9k|            }
 1127|  12.9k|            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.9k|        }
 1138|  12.9k|    }
_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|  4.12k|    {
 1143|  4.12k|        auto idx = pos.index(last);
 1144|  4.12k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 4.12k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  4.12k|        } else {
 1147|  4.12k|            using std::get;
 1148|  4.12k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  4.12k|            auto next = get<1>(subs);
 1150|  4.12k|            auto ts   = get<2>(subs);
 1151|  4.12k|            auto tail = get<3>(subs);
 1152|  4.12k|            IMMER_TRY {
  ------------------
  |  |   49|  4.12k|#define IMMER_TRY try
  ------------------
 1153|  4.12k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.62k, False: 2.50k]
  ------------------
 1154|  1.62k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.62k|                    newn->inner()[idx] = next;
 1156|  1.62k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  2.50k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 1.67k, False: 828]
  ------------------
 1158|  1.67k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.67k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 828]
  |  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|    828|                } else {
 1164|    828|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    828|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    828|                }
 1167|  4.12k|            }
 1168|  4.12k|            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.12k|        }
 1177|  4.12k|    }
_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.78k|    {
 1182|  5.78k|        auto old_tail_size = pos.count();
 1183|  5.78k|        auto new_tail_size = pos.index(last) + 1;
 1184|  5.78k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 3.79k, False: 1.98k]
  ------------------
 1185|  5.78k|                                 ? pos.node()->inc()
 1186|  5.78k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  5.78k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  5.78k|    }
_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.11k|    {
 1143|  2.11k|        auto idx = pos.index(last);
 1144|  2.11k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 2.11k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  2.11k|        } else {
 1147|  2.11k|            using std::get;
 1148|  2.11k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.11k|            auto next = get<1>(subs);
 1150|  2.11k|            auto ts   = get<2>(subs);
 1151|  2.11k|            auto tail = get<3>(subs);
 1152|  2.11k|            IMMER_TRY {
  ------------------
  |  |   49|  2.11k|#define IMMER_TRY try
  ------------------
 1153|  2.11k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 357, False: 1.76k]
  ------------------
 1154|    357|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    357|                    newn->inner()[idx] = next;
 1156|    357|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.76k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 796, False: 966]
  ------------------
 1158|    796|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|    966|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 966]
  |  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|    966|                } else {
 1164|    966|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    966|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    966|                }
 1167|  2.11k|            }
 1168|  2.11k|            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.11k|        }
 1177|  2.11k|    }
_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.23k|    {
 1182|  2.23k|        auto old_tail_size = pos.count();
 1183|  2.23k|        auto new_tail_size = pos.index(last) + 1;
 1184|  2.23k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 1.14k, False: 1.08k]
  ------------------
 1185|  2.23k|                                 ? pos.node()->inc()
 1186|  2.23k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  2.23k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  2.23k|    }
_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|  5.14k|    {
 1143|  5.14k|        auto idx = pos.index(last);
 1144|  5.14k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [Folded, False: 5.14k]
  |  Branch (1144:25): [True: 0, False: 0]
  ------------------
 1145|      0|            return pos.towards_oh(this_t{}, last, idx);
 1146|  5.14k|        } else {
 1147|  5.14k|            using std::get;
 1148|  5.14k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  5.14k|            auto next = get<1>(subs);
 1150|  5.14k|            auto ts   = get<2>(subs);
 1151|  5.14k|            auto tail = get<3>(subs);
 1152|  5.14k|            IMMER_TRY {
  ------------------
  |  |   49|  5.14k|#define IMMER_TRY try
  ------------------
 1153|  5.14k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 1.31k, False: 3.82k]
  ------------------
 1154|  1.31k|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|  1.31k|                    newn->inner()[idx] = next;
 1156|  1.31k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  3.82k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 2.12k, False: 1.70k]
  ------------------
 1158|  2.12k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  2.12k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [Folded, False: 1.70k]
  |  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.70k|                } else {
 1164|  1.70k|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|  1.70k|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|  1.70k|                }
 1167|  5.14k|            }
 1168|  5.14k|            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|  5.14k|        }
 1177|  5.14k|    }
_ZN5immer6detail4rbts8dec_leafINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_j:
  556|  41.1k|{
  557|  41.1k|    make_leaf_sub_pos(node, n).visit(dec_visitor{});
  558|  41.1k|}
_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|  5.98k|    {
 1143|  5.98k|        auto idx = pos.index(last);
 1144|  5.98k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 5.98k, Folded]
  |  Branch (1144:25): [True: 3.33k, False: 2.64k]
  ------------------
 1145|  3.33k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  3.33k|        } else {
 1147|  2.64k|            using std::get;
 1148|  2.64k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  2.64k|            auto next = get<1>(subs);
 1150|  2.64k|            auto ts   = get<2>(subs);
 1151|  2.64k|            auto tail = get<3>(subs);
 1152|  2.64k|            IMMER_TRY {
  ------------------
  |  |   49|  2.64k|#define IMMER_TRY try
  ------------------
 1153|  2.64k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 708, False: 1.93k]
  ------------------
 1154|    708|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    708|                    newn->inner()[idx] = next;
 1156|    708|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|  1.93k|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 1.93k]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|  1.93k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 1.93k, Folded]
  |  Branch (1159:40): [True: 1.56k, False: 366]
  |  Branch (1159:52): [True: 1.15k, False: 414]
  ------------------
 1160|  1.15k|                    auto newn = pos.node()->inner()[0];
 1161|  1.15k|                    return std::make_tuple(
 1162|  1.15k|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|  1.15k|                } else {
 1164|    780|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    780|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    780|                }
 1167|  2.64k|            }
 1168|  2.64k|            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.64k|        }
 1177|  5.98k|    }
_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.40k|    {
 1182|  1.40k|        auto old_tail_size = pos.count();
 1183|  1.40k|        auto new_tail_size = pos.index(last) + 1;
 1184|  1.40k|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 603, False: 800]
  ------------------
 1185|  1.40k|                                 ? pos.node()->inc()
 1186|  1.40k|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|  1.40k|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|  1.40k|    }
_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.45k|    {
 1143|  2.45k|        auto idx = pos.index(last);
 1144|  2.45k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (1144:13): [True: 2.45k, Folded]
  |  Branch (1144:25): [True: 1.20k, False: 1.24k]
  ------------------
 1145|  1.20k|            return pos.towards_oh(this_t{}, last, idx);
 1146|  1.24k|        } else {
 1147|  1.24k|            using std::get;
 1148|  1.24k|            auto subs = pos.towards_oh(no_collapse_t{}, last, idx);
 1149|  1.24k|            auto next = get<1>(subs);
 1150|  1.24k|            auto ts   = get<2>(subs);
 1151|  1.24k|            auto tail = get<3>(subs);
 1152|  1.24k|            IMMER_TRY {
  ------------------
  |  |   49|  1.24k|#define IMMER_TRY try
  ------------------
 1153|  1.24k|                if (next) {
  ------------------
  |  Branch (1153:21): [True: 338, False: 907]
  ------------------
 1154|    338|                    auto newn = node_t::copy_inner_n(idx + 1, pos.node(), idx);
 1155|    338|                    newn->inner()[idx] = next;
 1156|    338|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1157|    907|                } else if (idx == 0) {
  ------------------
  |  Branch (1157:28): [True: 0, False: 907]
  ------------------
 1158|      0|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1159|    907|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1159:28): [True: 907, Folded]
  |  Branch (1159:40): [True: 474, False: 433]
  |  Branch (1159:52): [True: 211, False: 263]
  ------------------
 1160|    211|                    auto newn = pos.node()->inner()[0];
 1161|    211|                    return std::make_tuple(
 1162|    211|                        pos.shift() - B, newn->inc(), ts, tail);
 1163|    696|                } else {
 1164|    696|                    auto newn = node_t::copy_inner_n(idx, pos.node(), idx);
 1165|    696|                    return std::make_tuple(pos.shift(), newn, ts, tail);
 1166|    696|                }
 1167|  1.24k|            }
 1168|  1.24k|            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.24k|        }
 1177|  2.45k|    }
_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|    691|    {
 1182|    691|        auto old_tail_size = pos.count();
 1183|    691|        auto new_tail_size = pos.index(last) + 1;
 1184|    691|        auto new_tail      = new_tail_size == old_tail_size
  ------------------
  |  Branch (1184:30): [True: 270, False: 421]
  ------------------
 1185|    691|                                 ? pos.node()->inc()
 1186|    691|                                 : node_t::copy_leaf(pos.node(), new_tail_size);
 1187|    691|        return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1188|    691|    }
_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.3k|    {
 1415|  15.3k|        auto idx                = pos.subindex(first);
 1416|  15.3k|        auto count              = pos.count();
 1417|  15.3k|        auto left_size          = pos.size_before(idx);
 1418|  15.3k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  15.3k|        auto dropped_size       = first;
 1420|  15.3k|        auto child_dropped_size = dropped_size - left_size;
 1421|  15.3k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 15.3k, Folded]
  |  Branch (1421:25): [True: 13.7k, False: 1.61k]
  |  Branch (1421:45): [True: 4.75k, False: 8.94k]
  ------------------
 1422|  4.75k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  10.5k|        } else {
 1424|  10.5k|            using std::get;
 1425|  10.5k|            auto n    = pos.node();
 1426|  10.5k|            auto newc = count - idx;
 1427|  10.5k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  10.5k|            IMMER_TRY {
  ------------------
  |  |   49|  10.5k|#define IMMER_TRY try
  ------------------
 1429|  10.5k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  10.5k|                auto newr     = newn->relaxed();
 1431|  10.5k|                newr->d.count = count - idx;
 1432|  10.5k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  10.5k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 10.5k, False: 0]
  ------------------
 1434|  10.5k|                pos.copy_sizes(idx + 1,
 1435|  10.5k|                               newr->d.count - 1,
 1436|  10.5k|                               newr->d.sizes[0],
 1437|  10.5k|                               newr->d.sizes + 1);
 1438|  10.5k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 10.5k, False: 0]
  ------------------
 1439|  10.5k|                       pos.size() - dropped_size);
 1440|  10.5k|                newn->inner()[0] = get<1>(subs);
 1441|  10.5k|                std::copy(n->inner() + idx + 1,
 1442|  10.5k|                          n->inner() + count,
 1443|  10.5k|                          newn->inner() + 1);
 1444|  10.5k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  10.5k|                return std::make_tuple(pos.shift(), newn);
 1446|  10.5k|            }
 1447|  10.5k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  10.5k|        }
 1452|  15.3k|    }
_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|  8.41k|    {
 1457|  8.41k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  8.41k|        return std::make_tuple(0, n);
 1459|  8.41k|    }
_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|  49.1k|    {
 1415|  49.1k|        auto idx                = pos.subindex(first);
 1416|  49.1k|        auto count              = pos.count();
 1417|  49.1k|        auto left_size          = pos.size_before(idx);
 1418|  49.1k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  49.1k|        auto dropped_size       = first;
 1420|  49.1k|        auto child_dropped_size = dropped_size - left_size;
 1421|  49.1k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 49.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|  49.1k|        } else {
 1424|  49.1k|            using std::get;
 1425|  49.1k|            auto n    = pos.node();
 1426|  49.1k|            auto newc = count - idx;
 1427|  49.1k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  49.1k|            IMMER_TRY {
  ------------------
  |  |   49|  49.1k|#define IMMER_TRY try
  ------------------
 1429|  49.1k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  49.1k|                auto newr     = newn->relaxed();
 1431|  49.1k|                newr->d.count = count - idx;
 1432|  49.1k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  49.1k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 49.1k, False: 0]
  ------------------
 1434|  49.1k|                pos.copy_sizes(idx + 1,
 1435|  49.1k|                               newr->d.count - 1,
 1436|  49.1k|                               newr->d.sizes[0],
 1437|  49.1k|                               newr->d.sizes + 1);
 1438|  49.1k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 49.1k, False: 0]
  ------------------
 1439|  49.1k|                       pos.size() - dropped_size);
 1440|  49.1k|                newn->inner()[0] = get<1>(subs);
 1441|  49.1k|                std::copy(n->inner() + idx + 1,
 1442|  49.1k|                          n->inner() + count,
 1443|  49.1k|                          newn->inner() + 1);
 1444|  49.1k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  49.1k|                return std::make_tuple(pos.shift(), newn);
 1446|  49.1k|            }
 1447|  49.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|  49.1k|        }
 1452|  49.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|  2.14k|    {
 1415|  2.14k|        auto idx                = pos.subindex(first);
 1416|  2.14k|        auto count              = pos.count();
 1417|  2.14k|        auto left_size          = pos.size_before(idx);
 1418|  2.14k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  2.14k|        auto dropped_size       = first;
 1420|  2.14k|        auto child_dropped_size = dropped_size - left_size;
 1421|  2.14k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 2.14k]
  |  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|  2.14k|        } else {
 1424|  2.14k|            using std::get;
 1425|  2.14k|            auto n    = pos.node();
 1426|  2.14k|            auto newc = count - idx;
 1427|  2.14k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  2.14k|            IMMER_TRY {
  ------------------
  |  |   49|  2.14k|#define IMMER_TRY try
  ------------------
 1429|  2.14k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  2.14k|                auto newr     = newn->relaxed();
 1431|  2.14k|                newr->d.count = count - idx;
 1432|  2.14k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  2.14k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 2.14k, False: 0]
  ------------------
 1434|  2.14k|                pos.copy_sizes(idx + 1,
 1435|  2.14k|                               newr->d.count - 1,
 1436|  2.14k|                               newr->d.sizes[0],
 1437|  2.14k|                               newr->d.sizes + 1);
 1438|  2.14k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 2.14k, False: 0]
  ------------------
 1439|  2.14k|                       pos.size() - dropped_size);
 1440|  2.14k|                newn->inner()[0] = get<1>(subs);
 1441|  2.14k|                std::copy(n->inner() + idx + 1,
 1442|  2.14k|                          n->inner() + count,
 1443|  2.14k|                          newn->inner() + 1);
 1444|  2.14k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  2.14k|                return std::make_tuple(pos.shift(), newn);
 1446|  2.14k|            }
 1447|  2.14k|            IMMER_CATCH (...) {
 1448|      0|                node_t::delete_inner_r(newn, newc);
 1449|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1450|      0|            }
 1451|  2.14k|        }
 1452|  2.14k|    }
_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.99k|    {
 1457|  8.99k|        auto n = node_t::copy_leaf(pos.node(), pos.index(first), pos.count());
 1458|  8.99k|        return std::make_tuple(0, n);
 1459|  8.99k|    }
_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.04k|    {
 1415|  5.04k|        auto idx                = pos.subindex(first);
 1416|  5.04k|        auto count              = pos.count();
 1417|  5.04k|        auto left_size          = pos.size_before(idx);
 1418|  5.04k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  5.04k|        auto dropped_size       = first;
 1420|  5.04k|        auto child_dropped_size = dropped_size - left_size;
 1421|  5.04k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [Folded, False: 5.04k]
  |  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.04k|        } else {
 1424|  5.04k|            using std::get;
 1425|  5.04k|            auto n    = pos.node();
 1426|  5.04k|            auto newc = count - idx;
 1427|  5.04k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  5.04k|            IMMER_TRY {
  ------------------
  |  |   49|  5.04k|#define IMMER_TRY try
  ------------------
 1429|  5.04k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  5.04k|                auto newr     = newn->relaxed();
 1431|  5.04k|                newr->d.count = count - idx;
 1432|  5.04k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  5.04k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 5.04k, False: 0]
  ------------------
 1434|  5.04k|                pos.copy_sizes(idx + 1,
 1435|  5.04k|                               newr->d.count - 1,
 1436|  5.04k|                               newr->d.sizes[0],
 1437|  5.04k|                               newr->d.sizes + 1);
 1438|  5.04k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 5.04k, False: 0]
  ------------------
 1439|  5.04k|                       pos.size() - dropped_size);
 1440|  5.04k|                newn->inner()[0] = get<1>(subs);
 1441|  5.04k|                std::copy(n->inner() + idx + 1,
 1442|  5.04k|                          n->inner() + count,
 1443|  5.04k|                          newn->inner() + 1);
 1444|  5.04k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  5.04k|                return std::make_tuple(pos.shift(), newn);
 1446|  5.04k|            }
 1447|  5.04k|            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.04k|        }
 1452|  5.04k|    }
_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.55k|    {
 1415|  9.55k|        auto idx                = pos.subindex(first);
 1416|  9.55k|        auto count              = pos.count();
 1417|  9.55k|        auto left_size          = pos.size_before(idx);
 1418|  9.55k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  9.55k|        auto dropped_size       = first;
 1420|  9.55k|        auto child_dropped_size = dropped_size - left_size;
 1421|  9.55k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 9.55k, Folded]
  |  Branch (1421:25): [True: 6.46k, False: 3.09k]
  |  Branch (1421:45): [True: 3.94k, False: 2.51k]
  ------------------
 1422|  3.94k|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  5.60k|        } else {
 1424|  5.60k|            using std::get;
 1425|  5.60k|            auto n    = pos.node();
 1426|  5.60k|            auto newc = count - idx;
 1427|  5.60k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  5.60k|            IMMER_TRY {
  ------------------
  |  |   49|  5.60k|#define IMMER_TRY try
  ------------------
 1429|  5.60k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  5.60k|                auto newr     = newn->relaxed();
 1431|  5.60k|                newr->d.count = count - idx;
 1432|  5.60k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  5.60k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 5.60k, False: 0]
  ------------------
 1434|  5.60k|                pos.copy_sizes(idx + 1,
 1435|  5.60k|                               newr->d.count - 1,
 1436|  5.60k|                               newr->d.sizes[0],
 1437|  5.60k|                               newr->d.sizes + 1);
 1438|  5.60k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 5.60k, False: 0]
  ------------------
 1439|  5.60k|                       pos.size() - dropped_size);
 1440|  5.60k|                newn->inner()[0] = get<1>(subs);
 1441|  5.60k|                std::copy(n->inner() + idx + 1,
 1442|  5.60k|                          n->inner() + count,
 1443|  5.60k|                          newn->inner() + 1);
 1444|  5.60k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  5.60k|                return std::make_tuple(pos.shift(), newn);
 1446|  5.60k|            }
 1447|  5.60k|            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.60k|        }
 1452|  9.55k|    }
_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.51k|    {
 1415|  1.51k|        auto idx                = pos.subindex(first);
 1416|  1.51k|        auto count              = pos.count();
 1417|  1.51k|        auto left_size          = pos.size_before(idx);
 1418|  1.51k|        auto child_size         = pos.size_sbh(idx, left_size);
 1419|  1.51k|        auto dropped_size       = first;
 1420|  1.51k|        auto child_dropped_size = dropped_size - left_size;
 1421|  1.51k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1421:13): [True: 1.51k, Folded]
  |  Branch (1421:25): [True: 494, False: 1.02k]
  |  Branch (1421:45): [True: 272, False: 222]
  ------------------
 1422|    272|            return pos.towards_sub_oh(this_t{}, first, idx);
 1423|  1.24k|        } else {
 1424|  1.24k|            using std::get;
 1425|  1.24k|            auto n    = pos.node();
 1426|  1.24k|            auto newc = count - idx;
 1427|  1.24k|            auto newn = node_t::make_inner_r_n(newc);
 1428|  1.24k|            IMMER_TRY {
  ------------------
  |  |   49|  1.24k|#define IMMER_TRY try
  ------------------
 1429|  1.24k|                auto subs     = pos.towards_sub_oh(no_collapse_t{}, first, idx);
 1430|  1.24k|                auto newr     = newn->relaxed();
 1431|  1.24k|                newr->d.count = count - idx;
 1432|  1.24k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1433|  1.24k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1433:17): [True: 1.24k, False: 0]
  ------------------
 1434|  1.24k|                pos.copy_sizes(idx + 1,
 1435|  1.24k|                               newr->d.count - 1,
 1436|  1.24k|                               newr->d.sizes[0],
 1437|  1.24k|                               newr->d.sizes + 1);
 1438|  1.24k|                assert(newr->d.sizes[newr->d.count - 1] ==
  ------------------
  |  Branch (1438:17): [True: 1.24k, False: 0]
  ------------------
 1439|  1.24k|                       pos.size() - dropped_size);
 1440|  1.24k|                newn->inner()[0] = get<1>(subs);
 1441|  1.24k|                std::copy(n->inner() + idx + 1,
 1442|  1.24k|                          n->inner() + count,
 1443|  1.24k|                          newn->inner() + 1);
 1444|  1.24k|                node_t::inc_nodes(newn->inner() + 1, newr->d.count - 1);
 1445|  1.24k|                return std::make_tuple(pos.shift(), newn);
 1446|  1.24k|            }
 1447|  1.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|  1.24k|        }
 1452|  1.51k|    }
_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.86k|{
 2002|  7.86k|    return make_singleton_regular_sub_pos(ltail, ltcount)
 2003|  7.86k|        .visit(concat_trees_left_visitor<Node>{},
 2004|  7.86k|               empty_leaf_pos<Node>{},
 2005|  7.86k|               rroot,
 2006|  7.86k|               rshift,
 2007|  7.86k|               rsize)
 2008|  7.86k|        .realize();
 2009|  7.86k|}
_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.86k|    {
 1972|  7.86k|        return visit_maybe_relaxed_sub(
 1973|  7.86k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  7.86k|    }
_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.56k|    {
 1959|  5.56k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  5.56k|    }
_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|  23.4k|{
 1873|  23.4k|    auto lshift = lpos.shift();
 1874|  23.4k|    auto rshift = rpos.shift();
 1875|  23.4k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 23.4k]
  ------------------
 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|  23.4k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 18.2k, False: 5.18k]
  ------------------
 1879|  18.2k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  18.2k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  18.2k|    } else {
 1882|  5.18k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 5.18k, False: 0]
  ------------------
 1883|  5.18k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 5.18k]
  |  Branch (1883:9): [True: 5.18k, False: 0]
  |  Branch (1883:9): [True: 5.18k, False: 0]
  ------------------
 1884|  5.18k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  5.18k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  5.18k|    }
 1887|  23.4k|}
_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.48M|    {
 1513|  5.48M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 516k, False: 4.96M]
  ------------------
 1514|   516k|            auto s = size_t{};
 1515|  2.05M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.54M, False: 516k]
  ------------------
 1516|  1.54M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.54M|                s = sizes_[i];
 1518|  1.54M|            }
 1519|  4.96M|        } else {
 1520|  12.6M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.70M, False: 4.96M]
  ------------------
 1521|  7.70M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.70M|                    .visit(v, args...);
 1523|  4.96M|        }
 1524|  5.48M|    }
_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.41M|    {
 1734|  2.41M|        auto count = p.count();
 1735|  2.41M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 2.41M, False: 0]
  ------------------
 1736|  2.41M|        plan.counts[plan.n++] = count;
 1737|  2.41M|        plan.total += count;
 1738|  2.41M|    }
_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|  20.4M|    {
 1734|  20.4M|        auto count = p.count();
 1735|  20.4M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 20.4M, False: 0]
  ------------------
 1736|  20.4M|        plan.counts[plan.n++] = count;
 1737|  20.4M|        plan.total += count;
 1738|  20.4M|    }
_ZN5immer6detail4rbts21concat_rebalance_planILj2ELj2EE7shuffleEj:
 1762|  5.48M|    {
 1763|       |        // gcc seems to not really understand this code... :(
 1764|  5.48M|#if !defined(_MSC_VER)
 1765|  5.48M|#pragma GCC diagnostic push
 1766|  5.48M|#pragma GCC diagnostic ignored "-Warray-bounds"
 1767|  5.48M|#endif
 1768|  5.48M|        constexpr count_t rrb_extras    = 2;
 1769|  5.48M|        constexpr count_t rrb_invariant = 1;
 1770|  5.48M|        const auto bits                 = shift == BL ? BL : B;
  ------------------
  |  Branch (1770:43): [True: 516k, False: 4.96M]
  ------------------
 1771|  5.48M|        const auto branches             = count_t{1} << bits;
 1772|  5.48M|        const auto optimal              = ((total - 1) >> bits) + 1;
 1773|  5.48M|        count_t i                       = 0;
 1774|  6.48M|        while (n >= optimal + rrb_extras) {
  ------------------
  |  Branch (1774:16): [True: 1.00M, False: 5.48M]
  ------------------
 1775|       |            // skip ok nodes
 1776|  1.65M|            while (counts[i] > branches - rrb_invariant)
  ------------------
  |  Branch (1776:20): [True: 650k, False: 1.00M]
  ------------------
 1777|   650k|                i++;
 1778|  1.00M|            assert(i < n);
  ------------------
  |  Branch (1778:13): [True: 1.00M, False: 0]
  ------------------
 1779|       |            // short node, redistribute
 1780|  1.00M|            auto remaining = counts[i];
 1781|  2.41M|            do {
 1782|  2.41M|                auto next  = counts[i + 1];
 1783|  2.41M|                auto count = std::min(remaining + next, branches);
 1784|  2.41M|                counts[i]  = count;
 1785|  2.41M|                assert(counts[i]);
  ------------------
  |  Branch (1785:17): [True: 2.41M, False: 0]
  ------------------
 1786|  2.41M|                remaining += next - count;
 1787|  2.41M|                ++i;
 1788|  2.41M|            } while (remaining > 0);
  ------------------
  |  Branch (1788:22): [True: 1.40M, False: 1.00M]
  ------------------
 1789|       |            // remove node
 1790|  1.00M|            std::move(counts + i + 1, counts + n, counts + i);
 1791|  1.00M|            --n;
 1792|  1.00M|            --i;
 1793|  1.00M|        }
 1794|  5.48M|#if !defined(_MSC_VER)
 1795|  5.48M|#pragma GCC diagnostic pop
 1796|  5.48M|#endif
 1797|  5.48M|    }
_ZNK5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1478|  10.9M|    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.48M|        : curr_{counts}
 1578|  5.48M|        , n_{n}
 1579|  5.48M|        , result_{
 1580|  5.48M|              shift + B, node_t::make_inner_r_n(std::min(n_, branches<B>)), 0}
 1581|  5.48M|    {
 1582|  5.48M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_m:
 1481|  5.48M|        : shift_{s}
 1482|  5.48M|        , count_{1}
 1483|  5.48M|        , nodes_{n0}
 1484|  5.48M|        , sizes_{s0}
 1485|  5.48M|    {
 1486|  5.48M|    }
_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.48M|    {
 1513|  5.48M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 516k, False: 4.96M]
  ------------------
 1514|   516k|            auto s = size_t{};
 1515|  2.05M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.54M, False: 516k]
  ------------------
 1516|  1.54M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.54M|                s = sizes_[i];
 1518|  1.54M|            }
 1519|  4.96M|        } else {
 1520|  12.6M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.70M, False: 4.96M]
  ------------------
 1521|  7.70M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.70M|                    .visit(v, args...);
 1523|  4.96M|        }
 1524|  5.48M|    }
_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.41M|    {
 1722|  2.41M|        merger.merge_leaf(p);
 1723|  2.41M|    }
_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.41M|    {
 1615|  2.41M|        auto from       = p.node();
 1616|  2.41M|        auto from_size  = p.size();
 1617|  2.41M|        auto from_count = p.count();
 1618|  2.41M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 2.41M, False: 0]
  ------------------
 1619|  2.41M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 2.38M, False: 29.0k]
  |  Branch (1619:21): [True: 2.36M, False: 16.6k]
  ------------------
 1620|  2.36M|            add_child(from, from_size);
 1621|  2.36M|            from->inc();
 1622|  2.36M|        } else {
 1623|  45.7k|            auto from_offset = count_t{};
 1624|  45.7k|            auto from_data   = from->leaf();
 1625|  57.5k|            do {
 1626|  57.5k|                if (!to_) {
  ------------------
  |  Branch (1626:21): [True: 28.4k, False: 29.0k]
  ------------------
 1627|  28.4k|                    to_        = node_t::make_leaf_n(*curr_);
 1628|  28.4k|                    to_offset_ = 0;
 1629|  28.4k|                }
 1630|  57.5k|                auto data = to_->leaf();
 1631|  57.5k|                auto to_copy =
 1632|  57.5k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1633|  57.5k|                detail::uninitialized_copy(from_data + from_offset,
 1634|  57.5k|                                           from_data + from_offset + to_copy,
 1635|  57.5k|                                           data + to_offset_);
 1636|  57.5k|                to_offset_ += to_copy;
 1637|  57.5k|                from_offset += to_copy;
 1638|  57.5k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1638:21): [True: 28.4k, False: 29.0k]
  ------------------
 1639|  28.4k|                    add_child(to_, to_offset_);
 1640|  28.4k|                    to_ = nullptr;
 1641|  28.4k|                }
 1642|  57.5k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1642:22): [True: 11.7k, False: 45.7k]
  ------------------
 1643|  45.7k|        }
 1644|  2.41M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9add_childEPSC_m:
 1589|  24.4M|    {
 1590|  24.4M|        assert(size);
  ------------------
  |  Branch (1590:9): [True: 24.4M, False: 0]
  ------------------
 1591|  24.4M|        ++curr_;
 1592|  24.4M|        auto parent  = result_.nodes_[result_.count_ - 1];
 1593|  24.4M|        auto relaxed = parent->relaxed();
 1594|  24.4M|        if (relaxed->d.count == branches<B>) {
  ------------------
  |  Branch (1594:13): [True: 2.77M, False: 21.6M]
  ------------------
 1595|  2.77M|            assert(result_.count_ < result_t::max_children);
  ------------------
  |  Branch (1595:13): [True: 2.77M, False: 0]
  ------------------
 1596|  2.77M|            n_ -= branches<B>;
 1597|  2.77M|            parent  = node_t::make_inner_r_n(std::min(n_, branches<B>));
 1598|  2.77M|            relaxed = parent->relaxed();
 1599|  2.77M|            result_.nodes_[result_.count_] = parent;
 1600|  2.77M|            result_.sizes_[result_.count_] = result_.sizes_[result_.count_ - 1];
 1601|  2.77M|            assert(result_.sizes_[result_.count_]);
  ------------------
  |  Branch (1601:13): [True: 2.77M, False: 0]
  ------------------
 1602|  2.77M|            ++result_.count_;
 1603|  2.77M|        }
 1604|  24.4M|        auto idx = relaxed->d.count++;
 1605|  24.4M|        result_.sizes_[result_.count_ - 1] += size;
 1606|  24.4M|        assert(result_.sizes_[result_.count_ - 1]);
  ------------------
  |  Branch (1606:9): [True: 24.4M, False: 0]
  ------------------
 1607|  24.4M|        relaxed->d.sizes[idx] = size + (idx ? relaxed->d.sizes[idx - 1] : 0);
  ------------------
  |  Branch (1607:41): [True: 16.1M, False: 8.26M]
  ------------------
 1608|  24.4M|        assert(relaxed->d.sizes[idx]);
  ------------------
  |  Branch (1608:9): [True: 24.4M, False: 0]
  ------------------
 1609|  24.4M|        parent->inner()[idx] = p;
 1610|  24.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|  20.4M|    {
 1716|  20.4M|        merger.merge_inner(p);
 1717|  20.4M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_11relaxed_posISC_EEEEvOT_:
 1648|  20.4M|    {
 1649|  20.4M|        auto from       = p.node();
 1650|  20.4M|        auto from_size  = p.size();
 1651|  20.4M|        auto from_count = p.count();
 1652|  20.4M|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 20.4M, False: 0]
  ------------------
 1653|  20.4M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 18.2M, False: 2.27M]
  |  Branch (1653:21): [True: 17.2M, False: 970k]
  ------------------
 1654|  17.2M|            add_child(from, from_size);
 1655|  17.2M|            from->inc();
 1656|  17.2M|        } else {
 1657|  3.24M|            auto from_offset = count_t{};
 1658|  3.24M|            auto from_data   = from->inner();
 1659|  4.53M|            do {
 1660|  4.53M|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 2.26M, False: 2.27M]
  ------------------
 1661|  2.26M|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|  2.26M|                    to_offset_ = 0;
 1663|  2.26M|                    to_size_   = 0;
 1664|  2.26M|                }
 1665|  4.53M|                auto data = to_->inner();
 1666|  4.53M|                auto to_copy =
 1667|  4.53M|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|  4.53M|                std::copy(from_data + from_offset,
 1669|  4.53M|                          from_data + from_offset + to_copy,
 1670|  4.53M|                          data + to_offset_);
 1671|  4.53M|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|  4.53M|                auto sizes = to_->relaxed()->d.sizes;
 1673|  4.53M|                p.copy_sizes(
 1674|  4.53M|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|  4.53M|                to_offset_ += to_copy;
 1676|  4.53M|                from_offset += to_copy;
 1677|  4.53M|                to_size_ = sizes[to_offset_ - 1];
 1678|  4.53M|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 4.53M, False: 0]
  ------------------
 1679|  4.53M|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 2.26M, False: 2.27M]
  ------------------
 1680|  2.26M|                    to_->relaxed()->d.count = to_offset_;
 1681|  2.26M|                    add_child(to_, to_size_);
 1682|  2.26M|                    to_ = nullptr;
 1683|  2.26M|                }
 1684|  4.53M|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 1.29M, False: 3.24M]
  ------------------
 1685|  3.24M|        }
 1686|  20.4M|    }
_ZNK5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6finishEv:
 1689|  5.48M|    {
 1690|  5.48M|        assert(!to_);
  ------------------
  |  Branch (1690:9): [True: 5.48M, False: 0]
  ------------------
 1691|  5.48M|        return result_;
 1692|  5.48M|    }
_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.48M|    {
 1513|  5.48M|        if (shift_ == BL) {
  ------------------
  |  Branch (1513:13): [True: 516k, False: 4.96M]
  ------------------
 1514|   516k|            auto s = size_t{};
 1515|  2.05M|            for (auto i = count_t{0}; i < count_; ++i) {
  ------------------
  |  Branch (1515:39): [True: 1.54M, False: 516k]
  ------------------
 1516|  1.54M|                make_leaf_sub_pos(nodes_[i], sizes_[i] - s).visit(v, args...);
 1517|  1.54M|                s = sizes_[i];
 1518|  1.54M|            }
 1519|  4.96M|        } else {
 1520|  12.6M|            for (auto i = count_t{0}; i < count_; ++i)
  ------------------
  |  Branch (1520:39): [True: 7.70M, False: 4.96M]
  ------------------
 1521|  7.70M|                make_relaxed_pos(nodes_[i], shift_ - B, nodes_[i]->relaxed())
 1522|  7.70M|                    .visit(v, args...);
 1523|  4.96M|        }
 1524|  5.48M|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_mSE_m:
 1503|   508k|        : shift_{s}
 1504|   508k|        , count_{3}
 1505|   508k|        , nodes_{n0, n1, n2}
 1506|   508k|        , sizes_{s0, s0 + s1, s0 + s1 + s2}
 1507|   508k|    {
 1508|   508k|    }
_ZN5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEC2EjPSC_mSE_m:
 1489|  7.86k|        : shift_{s}
 1490|  7.86k|        , count_{2}
 1491|  7.86k|        , nodes_{n0, n1}
 1492|  7.86k|        , sizes_{s0, s0 + s1}
 1493|  7.86k|    {
 1494|  7.86k|    }
_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|  17.9k|    {
 1918|  17.9k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  17.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|    382|    {
 1918|    382|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|    382|    }
_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.68k|{
 1873|  2.68k|    auto lshift = lpos.shift();
 1874|  2.68k|    auto rshift = rpos.shift();
 1875|  2.68k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 2.68k]
  ------------------
 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.68k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 841, False: 1.84k]
  ------------------
 1879|    841|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    841|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  1.84k|    } else {
 1882|  1.84k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 1.84k, False: 0]
  ------------------
 1883|  1.84k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 1.84k]
  |  Branch (1883:9): [True: 1.84k, False: 0]
  |  Branch (1883:9): [True: 1.84k, False: 0]
  ------------------
 1884|  1.84k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  1.84k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  1.84k|    }
 1887|  2.68k|}
_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.24k|    {
 1918|  1.24k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.24k|    }
_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.24k|{
 1873|  1.24k|    auto lshift = lpos.shift();
 1874|  1.24k|    auto rshift = rpos.shift();
 1875|  1.24k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 1.24k]
  ------------------
 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.24k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 400, False: 841]
  ------------------
 1879|    400|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    400|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|    841|    } else {
 1882|    841|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 841, False: 0]
  ------------------
 1883|    841|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 841]
  |  Branch (1883:9): [True: 841, False: 0]
  |  Branch (1883:9): [True: 841, False: 0]
  ------------------
 1884|    841|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|    841|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|    841|    }
 1887|  1.24k|}
_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|    945|{
 1824|    945|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    945|    plan.fill(lpos, cpos, rpos);
 1826|    945|    plan.shuffle(cpos.shift());
 1827|    945|    IMMER_TRY {
  ------------------
  |  |   49|    945|#define IMMER_TRY try
  ------------------
 1828|    945|        return plan.merge(lpos, cpos, rpos);
 1829|    945|    }
 1830|    945|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    945|}
_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|    945|    {
 1753|    945|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 945, False: 0]
  ------------------
 1754|    945|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 945, False: 0]
  ------------------
 1755|    945|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    945|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    945|        cpos.each_sub(visitor_t{}, *this);
 1758|    945|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    945|    }
_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|  1.08M|    {
 1734|  1.08M|        auto count = p.count();
 1735|  1.08M|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 1.08M, False: 0]
  ------------------
 1736|  1.08M|        plan.counts[plan.n++] = count;
 1737|  1.08M|        plan.total += count;
 1738|  1.08M|    }
_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|   781k|    {
 1734|   781k|        auto count = p.count();
 1735|   781k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 781k, False: 0]
  ------------------
 1736|   781k|        plan.counts[plan.n++] = count;
 1737|   781k|        plan.total += count;
 1738|   781k|    }
_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|    945|    {
 1803|    945|        using node_t    = node_type<CPos>;
 1804|    945|        using merger_t  = concat_merger<node_t>;
 1805|    945|        using visitor_t = concat_merger_visitor;
 1806|    945|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    945|        IMMER_TRY {
  ------------------
  |  |   49|    945|#define IMMER_TRY try
  ------------------
 1808|    945|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    945|            cpos.each_sub(visitor_t{}, merger);
 1810|    945|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    945|            cpos.each_sub(dec_visitor{});
 1812|    945|            return merger.finish();
 1813|    945|        }
 1814|    945|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    945|    }
_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|  1.08M|    {
 1722|  1.08M|        merger.merge_leaf(p);
 1723|  1.08M|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10merge_leafIRNS1_13full_leaf_posISC_EEEEvOT_:
 1614|  1.08M|    {
 1615|  1.08M|        auto from       = p.node();
 1616|  1.08M|        auto from_size  = p.size();
 1617|  1.08M|        auto from_count = p.count();
 1618|  1.08M|        assert(from_size);
  ------------------
  |  Branch (1618:9): [True: 1.08M, False: 0]
  ------------------
 1619|  1.08M|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1619:13): [True: 1.08M, False: 0]
  |  Branch (1619:21): [True: 1.08M, False: 0]
  ------------------
 1620|  1.08M|            add_child(from, from_size);
 1621|  1.08M|            from->inc();
 1622|  1.08M|        } 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|  1.08M|    }
_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|   781k|    {
 1716|   781k|        merger.merge_inner(p);
 1717|   781k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_8full_posISC_EEEEvOT_:
 1648|   781k|    {
 1649|   781k|        auto from       = p.node();
 1650|   781k|        auto from_size  = p.size();
 1651|   781k|        auto from_count = p.count();
 1652|   781k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 781k, False: 0]
  ------------------
 1653|   781k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 781k, False: 0]
  |  Branch (1653:21): [True: 781k, False: 0]
  ------------------
 1654|   781k|            add_child(from, from_size);
 1655|   781k|            from->inc();
 1656|   781k|        } 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|   781k|    }
_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|    841|    {
 1945|    841|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|    841|    }
_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.68k|    {
 1925|  2.68k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  2.68k|    }
_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.68k|{
 1839|  2.68k|    static_assert(Node::bits >= 2, "");
 1840|  2.68k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 2.68k, False: 0]
  ------------------
 1841|  2.68k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 2.68k, False: 0]
  ------------------
 1842|  2.68k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 2.68k, False: 0]
  ------------------
 1843|  2.68k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 2.68k]
  ------------------
 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.68k|    else
 1854|  2.68k|        return {
 1855|  2.68k|            Node::bits_leaf,
 1856|  2.68k|            lpos.node()->inc(),
 1857|  2.68k|            lpos.count(),
 1858|  2.68k|            rpos.node()->inc(),
 1859|  2.68k|            rpos.count(),
 1860|  2.68k|        };
 1861|  2.68k|}
_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|    841|{
 1824|    841|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|    841|    plan.fill(lpos, cpos, rpos);
 1826|    841|    plan.shuffle(cpos.shift());
 1827|    841|    IMMER_TRY {
  ------------------
  |  |   49|    841|#define IMMER_TRY try
  ------------------
 1828|    841|        return plan.merge(lpos, cpos, rpos);
 1829|    841|    }
 1830|    841|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|    841|}
_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|    841|    {
 1753|    841|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 841, False: 0]
  ------------------
 1754|    841|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 841, False: 0]
  ------------------
 1755|    841|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|    841|        lpos.each_left_sub(visitor_t{}, *this);
 1757|    841|        cpos.each_sub(visitor_t{}, *this);
 1758|    841|        rpos.each_right_sub(visitor_t{}, *this);
 1759|    841|    }
_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|    841|    {
 1803|    841|        using node_t    = node_type<CPos>;
 1804|    841|        using merger_t  = concat_merger<node_t>;
 1805|    841|        using visitor_t = concat_merger_visitor;
 1806|    841|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|    841|        IMMER_TRY {
  ------------------
  |  |   49|    841|#define IMMER_TRY try
  ------------------
 1808|    841|            lpos.each_left_sub(visitor_t{}, merger);
 1809|    841|            cpos.each_sub(visitor_t{}, merger);
 1810|    841|            rpos.each_right_sub(visitor_t{}, merger);
 1811|    841|            cpos.each_sub(dec_visitor{});
 1812|    841|            return merger.finish();
 1813|    841|        }
 1814|    841|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|    841|    }
_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.23k|{
 1824|  2.23k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.23k|    plan.fill(lpos, cpos, rpos);
 1826|  2.23k|    plan.shuffle(cpos.shift());
 1827|  2.23k|    IMMER_TRY {
  ------------------
  |  |   49|  2.23k|#define IMMER_TRY try
  ------------------
 1828|  2.23k|        return plan.merge(lpos, cpos, rpos);
 1829|  2.23k|    }
 1830|  2.23k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.23k|}
_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.23k|    {
 1753|  2.23k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.23k, False: 0]
  ------------------
 1754|  2.23k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.23k, False: 0]
  ------------------
 1755|  2.23k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.23k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.23k|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.23k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.23k|    }
_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|   641k|    {
 1734|   641k|        auto count = p.count();
 1735|   641k|        assert(plan.n < Plan::max_children);
  ------------------
  |  Branch (1735:9): [True: 641k, False: 0]
  ------------------
 1736|   641k|        plan.counts[plan.n++] = count;
 1737|   641k|        plan.total += count;
 1738|   641k|    }
_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.23k|    {
 1803|  2.23k|        using node_t    = node_type<CPos>;
 1804|  2.23k|        using merger_t  = concat_merger<node_t>;
 1805|  2.23k|        using visitor_t = concat_merger_visitor;
 1806|  2.23k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.23k|        IMMER_TRY {
  ------------------
  |  |   49|  2.23k|#define IMMER_TRY try
  ------------------
 1808|  2.23k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.23k|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.23k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.23k|            cpos.each_sub(dec_visitor{});
 1812|  2.23k|            return merger.finish();
 1813|  2.23k|        }
 1814|  2.23k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.23k|    }
_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|   641k|    {
 1716|   641k|        merger.merge_inner(p);
 1717|   641k|    }
_ZN5immer6detail4rbts13concat_mergerINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11merge_innerIRNS1_15regular_sub_posISC_EEEEvOT_:
 1648|   641k|    {
 1649|   641k|        auto from       = p.node();
 1650|   641k|        auto from_size  = p.size();
 1651|   641k|        auto from_count = p.count();
 1652|   641k|        assert(from_size);
  ------------------
  |  Branch (1652:9): [True: 641k, False: 0]
  ------------------
 1653|   641k|        if (!to_ && *curr_ == from_count) {
  ------------------
  |  Branch (1653:13): [True: 534k, False: 106k]
  |  Branch (1653:21): [True: 534k, False: 0]
  ------------------
 1654|   534k|            add_child(from, from_size);
 1655|   534k|            from->inc();
 1656|   534k|        } else {
 1657|   106k|            auto from_offset = count_t{};
 1658|   106k|            auto from_data   = from->inner();
 1659|   212k|            do {
 1660|   212k|                if (!to_) {
  ------------------
  |  Branch (1660:21): [True: 106k, False: 106k]
  ------------------
 1661|   106k|                    to_        = node_t::make_inner_r_n(*curr_);
 1662|   106k|                    to_offset_ = 0;
 1663|   106k|                    to_size_   = 0;
 1664|   106k|                }
 1665|   212k|                auto data = to_->inner();
 1666|   212k|                auto to_copy =
 1667|   212k|                    std::min(from_count - from_offset, *curr_ - to_offset_);
 1668|   212k|                std::copy(from_data + from_offset,
 1669|   212k|                          from_data + from_offset + to_copy,
 1670|   212k|                          data + to_offset_);
 1671|   212k|                node_t::inc_nodes(from_data + from_offset, to_copy);
 1672|   212k|                auto sizes = to_->relaxed()->d.sizes;
 1673|   212k|                p.copy_sizes(
 1674|   212k|                    from_offset, to_copy, to_size_, sizes + to_offset_);
 1675|   212k|                to_offset_ += to_copy;
 1676|   212k|                from_offset += to_copy;
 1677|   212k|                to_size_ = sizes[to_offset_ - 1];
 1678|   212k|                assert(to_size_);
  ------------------
  |  Branch (1678:17): [True: 212k, False: 0]
  ------------------
 1679|   212k|                if (*curr_ == to_offset_) {
  ------------------
  |  Branch (1679:21): [True: 106k, False: 106k]
  ------------------
 1680|   106k|                    to_->relaxed()->d.count = to_offset_;
 1681|   106k|                    add_child(to_, to_size_);
 1682|   106k|                    to_ = nullptr;
 1683|   106k|                }
 1684|   212k|            } while (from_offset != from_count);
  ------------------
  |  Branch (1684:22): [True: 106k, False: 106k]
  ------------------
 1685|   106k|        }
 1686|   641k|    }
_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.84k|    {
 1945|  1.84k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  1.84k|    }
_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.18k|    {
 1925|  5.18k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|  5.18k|    }
_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.18k|{
 1839|  5.18k|    static_assert(Node::bits >= 2, "");
 1840|  5.18k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 5.18k, False: 0]
  ------------------
 1841|  5.18k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 5.18k, False: 0]
  ------------------
 1842|  5.18k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 5.18k, False: 0]
  ------------------
 1843|  5.18k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 0, False: 5.18k]
  ------------------
 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.18k|    else
 1854|  5.18k|        return {
 1855|  5.18k|            Node::bits_leaf,
 1856|  5.18k|            lpos.node()->inc(),
 1857|  5.18k|            lpos.count(),
 1858|  5.18k|            rpos.node()->inc(),
 1859|  5.18k|            rpos.count(),
 1860|  5.18k|        };
 1861|  5.18k|}
_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.84k|{
 1824|  1.84k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  1.84k|    plan.fill(lpos, cpos, rpos);
 1826|  1.84k|    plan.shuffle(cpos.shift());
 1827|  1.84k|    IMMER_TRY {
  ------------------
  |  |   49|  1.84k|#define IMMER_TRY try
  ------------------
 1828|  1.84k|        return plan.merge(lpos, cpos, rpos);
 1829|  1.84k|    }
 1830|  1.84k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  1.84k|}
_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.84k|    {
 1753|  1.84k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 1.84k, False: 0]
  ------------------
 1754|  1.84k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 1.84k, False: 0]
  ------------------
 1755|  1.84k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  1.84k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  1.84k|        cpos.each_sub(visitor_t{}, *this);
 1758|  1.84k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  1.84k|    }
_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.84k|    {
 1803|  1.84k|        using node_t    = node_type<CPos>;
 1804|  1.84k|        using merger_t  = concat_merger<node_t>;
 1805|  1.84k|        using visitor_t = concat_merger_visitor;
 1806|  1.84k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  1.84k|        IMMER_TRY {
  ------------------
  |  |   49|  1.84k|#define IMMER_TRY try
  ------------------
 1808|  1.84k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  1.84k|            cpos.each_sub(visitor_t{}, merger);
 1810|  1.84k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  1.84k|            cpos.each_sub(dec_visitor{});
 1812|  1.84k|            return merger.finish();
 1813|  1.84k|        }
 1814|  1.84k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  1.84k|    }
_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|   126k|{
 1824|   126k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   126k|    plan.fill(lpos, cpos, rpos);
 1826|   126k|    plan.shuffle(cpos.shift());
 1827|   126k|    IMMER_TRY {
  ------------------
  |  |   49|   126k|#define IMMER_TRY try
  ------------------
 1828|   126k|        return plan.merge(lpos, cpos, rpos);
 1829|   126k|    }
 1830|   126k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   126k|}
_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|   126k|    {
 1753|   126k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 126k, False: 0]
  ------------------
 1754|   126k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 126k, False: 0]
  ------------------
 1755|   126k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   126k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   126k|        cpos.each_sub(visitor_t{}, *this);
 1758|   126k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   126k|    }
_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|   126k|    {
 1803|   126k|        using node_t    = node_type<CPos>;
 1804|   126k|        using merger_t  = concat_merger<node_t>;
 1805|   126k|        using visitor_t = concat_merger_visitor;
 1806|   126k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   126k|        IMMER_TRY {
  ------------------
  |  |   49|   126k|#define IMMER_TRY try
  ------------------
 1808|   126k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   126k|            cpos.each_sub(visitor_t{}, merger);
 1810|   126k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   126k|            cpos.each_sub(dec_visitor{});
 1812|   126k|            return merger.finish();
 1813|   126k|        }
 1814|   126k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   126k|    }
_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.18k|    {
 1945|  5.18k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  5.18k|    }
_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.18k|{
 1824|  5.18k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  5.18k|    plan.fill(lpos, cpos, rpos);
 1826|  5.18k|    plan.shuffle(cpos.shift());
 1827|  5.18k|    IMMER_TRY {
  ------------------
  |  |   49|  5.18k|#define IMMER_TRY try
  ------------------
 1828|  5.18k|        return plan.merge(lpos, cpos, rpos);
 1829|  5.18k|    }
 1830|  5.18k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  5.18k|}
_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.18k|    {
 1753|  5.18k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 5.18k, False: 0]
  ------------------
 1754|  5.18k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 5.18k, False: 0]
  ------------------
 1755|  5.18k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  5.18k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  5.18k|        cpos.each_sub(visitor_t{}, *this);
 1758|  5.18k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  5.18k|    }
_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.18k|    {
 1803|  5.18k|        using node_t    = node_type<CPos>;
 1804|  5.18k|        using merger_t  = concat_merger<node_t>;
 1805|  5.18k|        using visitor_t = concat_merger_visitor;
 1806|  5.18k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  5.18k|        IMMER_TRY {
  ------------------
  |  |   49|  5.18k|#define IMMER_TRY try
  ------------------
 1808|  5.18k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  5.18k|            cpos.each_sub(visitor_t{}, merger);
 1810|  5.18k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  5.18k|            cpos.each_sub(dec_visitor{});
 1812|  5.18k|            return merger.finish();
 1813|  5.18k|        }
 1814|  5.18k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  5.18k|    }
_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.30k|    {
 1959|  2.30k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  2.30k|    }
_ZNO5immer6detail4rbts17concat_center_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7realizeEv:
 1527|   516k|    {
 1528|   516k|        if (count_ > 1) {
  ------------------
  |  Branch (1528:13): [True: 38.8k, False: 477k]
  ------------------
 1529|  38.8k|            IMMER_TRY {
  ------------------
  |  |   49|  38.8k|#define IMMER_TRY try
  ------------------
 1530|  38.8k|                auto result = node_t::make_inner_r_n(count_);
 1531|  38.8k|                auto r      = result->relaxed();
 1532|  38.8k|                r->d.count  = count_;
 1533|  38.8k|                std::copy(nodes_, nodes_ + count_, result->inner());
 1534|  38.8k|                std::copy(sizes_, sizes_ + count_, r->d.sizes);
 1535|  38.8k|                return {result, shift_, r};
 1536|  38.8k|            }
 1537|  38.8k|            IMMER_CATCH (...) {
 1538|      0|                each_sub(dec_visitor{});
 1539|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1540|      0|            }
 1541|   477k|        } else {
 1542|   477k|            assert(shift_ >= B + BL);
  ------------------
  |  Branch (1542:13): [True: 477k, False: 0]
  ------------------
 1543|   477k|            return {nodes_[0], shift_ - B, nodes_[0]->relaxed()};
 1544|   477k|        }
 1545|   516k|    }
_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|   508k|{
 1987|   508k|    return visit_maybe_relaxed_sub(lroot,
 1988|   508k|                                   lshift,
 1989|   508k|                                   lsize,
 1990|   508k|                                   concat_trees_left_visitor<Node>{},
 1991|   508k|                                   make_leaf_pos(ltail, ltcount),
 1992|   508k|                                   rroot,
 1993|   508k|                                   rshift,
 1994|   508k|                                   rsize)
 1995|   508k|        .realize();
 1996|   508k|}
_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|   494k|    {
 1972|   494k|        return visit_maybe_relaxed_sub(
 1973|   494k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|   494k|    }
_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|   472k|    {
 1959|   472k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|   472k|    }
_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.40M|{
 1873|  4.40M|    auto lshift = lpos.shift();
 1874|  4.40M|    auto rshift = rpos.shift();
 1875|  4.40M|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 2.12M, False: 2.28M]
  ------------------
 1876|  2.12M|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  2.12M|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|  2.28M|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 98.0k, False: 2.18M]
  ------------------
 1879|  98.0k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  98.0k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  2.18M|    } else {
 1882|  2.18M|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 2.18M, False: 0]
  ------------------
 1883|  2.18M|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 2.18M]
  |  Branch (1883:9): [True: 2.18M, False: 0]
  |  Branch (1883:9): [True: 2.18M, False: 0]
  ------------------
 1884|  2.18M|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  2.18M|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  2.18M|    }
 1887|  4.40M|}
_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.11M|    {
 1898|  2.11M|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  2.11M|    }
_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|  5.95k|    {
 1898|  5.95k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  5.95k|    }
_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|   650k|{
 1873|   650k|    auto lshift = lpos.shift();
 1874|   650k|    auto rshift = rpos.shift();
 1875|   650k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 3.50k, False: 647k]
  ------------------
 1876|  3.50k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|  3.50k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   647k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 10.1k, False: 637k]
  ------------------
 1879|  10.1k|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|  10.1k|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   637k|    } else {
 1882|   637k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 637k, False: 0]
  ------------------
 1883|   637k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 637k]
  |  Branch (1883:9): [True: 637k, False: 0]
  |  Branch (1883:9): [True: 637k, False: 0]
  ------------------
 1884|   637k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   637k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   637k|    }
 1887|   650k|}
_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|  4.24k|{
 1824|  4.24k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  4.24k|    plan.fill(lpos, cpos, rpos);
 1826|  4.24k|    plan.shuffle(cpos.shift());
 1827|  4.24k|    IMMER_TRY {
  ------------------
  |  |   49|  4.24k|#define IMMER_TRY try
  ------------------
 1828|  4.24k|        return plan.merge(lpos, cpos, rpos);
 1829|  4.24k|    }
 1830|  4.24k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  4.24k|}
_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|  4.24k|    {
 1753|  4.24k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 4.24k, False: 0]
  ------------------
 1754|  4.24k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 4.24k, False: 0]
  ------------------
 1755|  4.24k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  4.24k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  4.24k|        cpos.each_sub(visitor_t{}, *this);
 1758|  4.24k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  4.24k|    }
_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|  4.24k|    {
 1803|  4.24k|        using node_t    = node_type<CPos>;
 1804|  4.24k|        using merger_t  = concat_merger<node_t>;
 1805|  4.24k|        using visitor_t = concat_merger_visitor;
 1806|  4.24k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  4.24k|        IMMER_TRY {
  ------------------
  |  |   49|  4.24k|#define IMMER_TRY try
  ------------------
 1808|  4.24k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  4.24k|            cpos.each_sub(visitor_t{}, merger);
 1810|  4.24k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  4.24k|            cpos.each_sub(dec_visitor{});
 1812|  4.24k|            return merger.finish();
 1813|  4.24k|        }
 1814|  4.24k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  4.24k|    }
_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|   638k|    {
 1918|   638k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   638k|    }
_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|   108k|    {
 1918|   108k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   108k|    }
_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|   117k|{
 1873|   117k|    auto lshift = lpos.shift();
 1874|   117k|    auto rshift = rpos.shift();
 1875|   117k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 738, False: 116k]
  ------------------
 1876|    738|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|    738|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   116k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 677, False: 115k]
  ------------------
 1879|    677|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    677|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   115k|    } else {
 1882|   115k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 115k, False: 0]
  ------------------
 1883|   115k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 115k]
  |  Branch (1883:9): [True: 115k, False: 0]
  |  Branch (1883:9): [True: 115k, False: 0]
  ------------------
 1884|   115k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   115k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   115k|    }
 1887|   117k|}
_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.11k|    {
 1898|  1.11k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|  1.11k|    }
_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|   136k|    {
 1918|   136k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|   136k|    }
_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|   136k|{
 1873|   136k|    auto lshift = lpos.shift();
 1874|   136k|    auto rshift = rpos.shift();
 1875|   136k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 136k]
  ------------------
 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|   136k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 284, False: 135k]
  ------------------
 1879|    284|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    284|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|   135k|    } else {
 1882|   135k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 135k, False: 0]
  ------------------
 1883|   135k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 135k]
  |  Branch (1883:9): [True: 135k, False: 0]
  |  Branch (1883:9): [True: 135k, False: 0]
  ------------------
 1884|   135k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|   135k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|   135k|    }
 1887|   136k|}
_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|  67.4k|    {
 1945|  67.4k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  67.4k|    }
_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|   145k|    {
 1925|   145k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   145k|    }
_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|   145k|{
 1839|   145k|    static_assert(Node::bits >= 2, "");
 1840|   145k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 145k, False: 0]
  ------------------
 1841|   145k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 145k, False: 0]
  ------------------
 1842|   145k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 145k, False: 0]
  ------------------
 1843|   145k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 145k, False: 0]
  ------------------
 1844|   145k|        return {
 1845|   145k|            Node::bits_leaf,
 1846|   145k|            lpos.node()->inc(),
 1847|   145k|            lpos.count(),
 1848|   145k|            tpos.node()->inc(),
 1849|   145k|            tpos.count(),
 1850|   145k|            rpos.node()->inc(),
 1851|   145k|            rpos.count(),
 1852|   145k|        };
 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|   145k|}
_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|  72.2k|    {
 1938|  72.2k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  72.2k|    }
_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|   135k|{
 1824|   135k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   135k|    plan.fill(lpos, cpos, rpos);
 1826|   135k|    plan.shuffle(cpos.shift());
 1827|   135k|    IMMER_TRY {
  ------------------
  |  |   49|   135k|#define IMMER_TRY try
  ------------------
 1828|   135k|        return plan.merge(lpos, cpos, rpos);
 1829|   135k|    }
 1830|   135k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   135k|}
_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|   135k|    {
 1753|   135k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 135k, False: 0]
  ------------------
 1754|   135k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 135k, False: 0]
  ------------------
 1755|   135k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   135k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   135k|        cpos.each_sub(visitor_t{}, *this);
 1758|   135k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   135k|    }
_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|   135k|    {
 1803|   135k|        using node_t    = node_type<CPos>;
 1804|   135k|        using merger_t  = concat_merger<node_t>;
 1805|   135k|        using visitor_t = concat_merger_visitor;
 1806|   135k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   135k|        IMMER_TRY {
  ------------------
  |  |   49|   135k|#define IMMER_TRY try
  ------------------
 1808|   135k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   135k|            cpos.each_sub(visitor_t{}, merger);
 1810|   135k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   135k|            cpos.each_sub(dec_visitor{});
 1812|   135k|            return merger.finish();
 1813|   135k|        }
 1814|   135k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   135k|    }
_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|  77.7k|    {
 1945|  77.7k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|  77.7k|    }
_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|   363k|    {
 1925|   363k|        return concat_leafs<Node>(lpos, tpos, rpos);
 1926|   363k|    }
_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|   363k|{
 1839|   363k|    static_assert(Node::bits >= 2, "");
 1840|   363k|    assert(lpos.shift() == tpos.shift());
  ------------------
  |  Branch (1840:5): [True: 363k, False: 0]
  ------------------
 1841|   363k|    assert(lpos.shift() == rpos.shift());
  ------------------
  |  Branch (1841:5): [True: 363k, False: 0]
  ------------------
 1842|   363k|    assert(lpos.shift() == 0);
  ------------------
  |  Branch (1842:5): [True: 363k, False: 0]
  ------------------
 1843|   363k|    if (tpos.count() > 0)
  ------------------
  |  Branch (1843:9): [True: 363k, False: 0]
  ------------------
 1844|   363k|        return {
 1845|   363k|            Node::bits_leaf,
 1846|   363k|            lpos.node()->inc(),
 1847|   363k|            lpos.count(),
 1848|   363k|            tpos.node()->inc(),
 1849|   363k|            tpos.count(),
 1850|   363k|            rpos.node()->inc(),
 1851|   363k|            rpos.count(),
 1852|   363k|        };
 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|   363k|}
_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|  62.8k|    {
 1938|  62.8k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  62.8k|    }
_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|   115k|{
 1824|   115k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   115k|    plan.fill(lpos, cpos, rpos);
 1826|   115k|    plan.shuffle(cpos.shift());
 1827|   115k|    IMMER_TRY {
  ------------------
  |  |   49|   115k|#define IMMER_TRY try
  ------------------
 1828|   115k|        return plan.merge(lpos, cpos, rpos);
 1829|   115k|    }
 1830|   115k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   115k|}
_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|   115k|    {
 1753|   115k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 115k, False: 0]
  ------------------
 1754|   115k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 115k, False: 0]
  ------------------
 1755|   115k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   115k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   115k|        cpos.each_sub(visitor_t{}, *this);
 1758|   115k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   115k|    }
_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|   115k|    {
 1803|   115k|        using node_t    = node_type<CPos>;
 1804|   115k|        using merger_t  = concat_merger<node_t>;
 1805|   115k|        using visitor_t = concat_merger_visitor;
 1806|   115k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   115k|        IMMER_TRY {
  ------------------
  |  |   49|   115k|#define IMMER_TRY try
  ------------------
 1808|   115k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   115k|            cpos.each_sub(visitor_t{}, merger);
 1810|   115k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   115k|            cpos.each_sub(dec_visitor{});
 1812|   115k|            return merger.finish();
 1813|   115k|        }
 1814|   115k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   115k|    }
_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|   363k|    {
 1945|   363k|        return rpos.first_sub_leaf(concat_right_visitor<Node>{}, lpos, tpos);
 1946|   363k|    }
_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|   736k|    {
 1938|   736k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|   736k|    }
_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|   637k|{
 1824|   637k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|   637k|    plan.fill(lpos, cpos, rpos);
 1826|   637k|    plan.shuffle(cpos.shift());
 1827|   637k|    IMMER_TRY {
  ------------------
  |  |   49|   637k|#define IMMER_TRY try
  ------------------
 1828|   637k|        return plan.merge(lpos, cpos, rpos);
 1829|   637k|    }
 1830|   637k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|   637k|}
_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|   637k|    {
 1753|   637k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 637k, False: 0]
  ------------------
 1754|   637k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 637k, False: 0]
  ------------------
 1755|   637k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|   637k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|   637k|        cpos.each_sub(visitor_t{}, *this);
 1758|   637k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|   637k|    }
_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|   637k|    {
 1803|   637k|        using node_t    = node_type<CPos>;
 1804|   637k|        using merger_t  = concat_merger<node_t>;
 1805|   637k|        using visitor_t = concat_merger_visitor;
 1806|   637k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|   637k|        IMMER_TRY {
  ------------------
  |  |   49|   637k|#define IMMER_TRY try
  ------------------
 1808|   637k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|   637k|            cpos.each_sub(visitor_t{}, merger);
 1810|   637k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|   637k|            cpos.each_sub(dec_visitor{});
 1812|   637k|            return merger.finish();
 1813|   637k|        }
 1814|   637k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|   637k|    }
_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.23M|{
 1824|  2.23M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.23M|    plan.fill(lpos, cpos, rpos);
 1826|  2.23M|    plan.shuffle(cpos.shift());
 1827|  2.23M|    IMMER_TRY {
  ------------------
  |  |   49|  2.23M|#define IMMER_TRY try
  ------------------
 1828|  2.23M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.23M|    }
 1830|  2.23M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.23M|}
_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.23M|    {
 1753|  2.23M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.23M, False: 0]
  ------------------
 1754|  2.23M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.23M, False: 0]
  ------------------
 1755|  2.23M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.23M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.23M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.23M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.23M|    }
_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.23M|    {
 1803|  2.23M|        using node_t    = node_type<CPos>;
 1804|  2.23M|        using merger_t  = concat_merger<node_t>;
 1805|  2.23M|        using visitor_t = concat_merger_visitor;
 1806|  2.23M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.23M|        IMMER_TRY {
  ------------------
  |  |   49|  2.23M|#define IMMER_TRY try
  ------------------
 1808|  2.23M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.23M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.23M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.23M|            cpos.each_sub(dec_visitor{});
 1812|  2.23M|            return merger.finish();
 1813|  2.23M|        }
 1814|  2.23M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.23M|    }
_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.81M|    {
 1918|  1.81M|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  1.81M|    }
_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|  6.34k|    {
 1918|  6.34k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  6.34k|    }
_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|   144k|{
 1873|   144k|    auto lshift = lpos.shift();
 1874|   144k|    auto rshift = rpos.shift();
 1875|   144k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 115k, False: 28.6k]
  ------------------
 1876|   115k|        auto cpos = lpos.last_sub(concat_left_visitor<Node>{}, tpos, rpos);
 1877|   115k|        return concat_rebalance<Node>(lpos, cpos, null_sub_pos{});
 1878|   115k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 715, False: 27.9k]
  ------------------
 1879|    715|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    715|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  27.9k|    } else {
 1882|  27.9k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 27.9k, False: 0]
  ------------------
 1883|  27.9k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 27.9k]
  |  Branch (1883:9): [True: 27.9k, False: 0]
  |  Branch (1883:9): [True: 27.9k, False: 0]
  ------------------
 1884|  27.9k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  27.9k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  27.9k|    }
 1887|   144k|}
_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|   115k|    {
 1898|   115k|        return concat_inners<Node>(lpos, tpos, rpos);
 1899|   115k|    }
_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|  6.24k|    {
 1918|  6.24k|        return concat_inners<Node>(lpos, tpos, rpos);
 1919|  6.24k|    }
_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|  6.24k|{
 1873|  6.24k|    auto lshift = lpos.shift();
 1874|  6.24k|    auto rshift = rpos.shift();
 1875|  6.24k|    if (lshift > rshift) {
  ------------------
  |  Branch (1875:9): [True: 0, False: 6.24k]
  ------------------
 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|  6.24k|    } else if (lshift < rshift) {
  ------------------
  |  Branch (1878:16): [True: 261, False: 5.98k]
  ------------------
 1879|    261|        auto cpos = rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1880|    261|        return concat_rebalance<Node>(null_sub_pos{}, cpos, rpos);
 1881|  5.98k|    } else {
 1882|  5.98k|        assert(lshift == rshift);
  ------------------
  |  Branch (1882:9): [True: 5.98k, False: 0]
  ------------------
 1883|  5.98k|        assert(Node::bits_leaf == 0u || lshift > 0);
  ------------------
  |  Branch (1883:9): [Folded, False: 5.98k]
  |  Branch (1883:9): [True: 5.98k, False: 0]
  |  Branch (1883:9): [True: 5.98k, False: 0]
  ------------------
 1884|  5.98k|        auto cpos = lpos.last_sub(concat_both_visitor<Node>{}, tpos, rpos);
 1885|  5.98k|        return concat_rebalance<Node>(lpos, cpos, rpos);
 1886|  5.98k|    }
 1887|  6.24k|}
_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|  2.01k|    {
 1938|  2.01k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  2.01k|    }
_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|  5.98k|{
 1824|  5.98k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  5.98k|    plan.fill(lpos, cpos, rpos);
 1826|  5.98k|    plan.shuffle(cpos.shift());
 1827|  5.98k|    IMMER_TRY {
  ------------------
  |  |   49|  5.98k|#define IMMER_TRY try
  ------------------
 1828|  5.98k|        return plan.merge(lpos, cpos, rpos);
 1829|  5.98k|    }
 1830|  5.98k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  5.98k|}
_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|  5.98k|    {
 1753|  5.98k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 5.98k, False: 0]
  ------------------
 1754|  5.98k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 5.98k, False: 0]
  ------------------
 1755|  5.98k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  5.98k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  5.98k|        cpos.each_sub(visitor_t{}, *this);
 1758|  5.98k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  5.98k|    }
_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|  5.98k|    {
 1803|  5.98k|        using node_t    = node_type<CPos>;
 1804|  5.98k|        using merger_t  = concat_merger<node_t>;
 1805|  5.98k|        using visitor_t = concat_merger_visitor;
 1806|  5.98k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  5.98k|        IMMER_TRY {
  ------------------
  |  |   49|  5.98k|#define IMMER_TRY try
  ------------------
 1808|  5.98k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  5.98k|            cpos.each_sub(visitor_t{}, merger);
 1810|  5.98k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  5.98k|            cpos.each_sub(dec_visitor{});
 1812|  5.98k|            return merger.finish();
 1813|  5.98k|        }
 1814|  5.98k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  5.98k|    }
_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|  3.25k|    {
 1938|  3.25k|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  3.25k|    }
_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|  27.9k|{
 1824|  27.9k|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  27.9k|    plan.fill(lpos, cpos, rpos);
 1826|  27.9k|    plan.shuffle(cpos.shift());
 1827|  27.9k|    IMMER_TRY {
  ------------------
  |  |   49|  27.9k|#define IMMER_TRY try
  ------------------
 1828|  27.9k|        return plan.merge(lpos, cpos, rpos);
 1829|  27.9k|    }
 1830|  27.9k|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  27.9k|}
_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|  27.9k|    {
 1753|  27.9k|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 27.9k, False: 0]
  ------------------
 1754|  27.9k|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 27.9k, False: 0]
  ------------------
 1755|  27.9k|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  27.9k|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  27.9k|        cpos.each_sub(visitor_t{}, *this);
 1758|  27.9k|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  27.9k|    }
_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|  27.9k|    {
 1803|  27.9k|        using node_t    = node_type<CPos>;
 1804|  27.9k|        using merger_t  = concat_merger<node_t>;
 1805|  27.9k|        using visitor_t = concat_merger_visitor;
 1806|  27.9k|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  27.9k|        IMMER_TRY {
  ------------------
  |  |   49|  27.9k|#define IMMER_TRY try
  ------------------
 1808|  27.9k|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  27.9k|            cpos.each_sub(visitor_t{}, merger);
 1810|  27.9k|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  27.9k|            cpos.each_sub(dec_visitor{});
 1812|  27.9k|            return merger.finish();
 1813|  27.9k|        }
 1814|  27.9k|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  27.9k|    }
_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.72M|    {
 1938|  1.72M|        return rpos.first_sub(concat_right_visitor<Node>{}, lpos, tpos);
 1939|  1.72M|    }
_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|  2.18M|{
 1824|  2.18M|    auto plan = concat_rebalance_plan<Node::bits, Node::bits_leaf>{};
 1825|  2.18M|    plan.fill(lpos, cpos, rpos);
 1826|  2.18M|    plan.shuffle(cpos.shift());
 1827|  2.18M|    IMMER_TRY {
  ------------------
  |  |   49|  2.18M|#define IMMER_TRY try
  ------------------
 1828|  2.18M|        return plan.merge(lpos, cpos, rpos);
 1829|  2.18M|    }
 1830|  2.18M|    IMMER_CATCH (...) {
 1831|      0|        cpos.each_sub(dec_visitor{});
 1832|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1833|      0|    }
 1834|  2.18M|}
_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|  2.18M|    {
 1753|  2.18M|        assert(n == 0u);
  ------------------
  |  Branch (1753:9): [True: 2.18M, False: 0]
  ------------------
 1754|  2.18M|        assert(total == 0u);
  ------------------
  |  Branch (1754:9): [True: 2.18M, False: 0]
  ------------------
 1755|  2.18M|        using visitor_t = concat_rebalance_plan_fill_visitor;
 1756|  2.18M|        lpos.each_left_sub(visitor_t{}, *this);
 1757|  2.18M|        cpos.each_sub(visitor_t{}, *this);
 1758|  2.18M|        rpos.each_right_sub(visitor_t{}, *this);
 1759|  2.18M|    }
_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|  2.18M|    {
 1803|  2.18M|        using node_t    = node_type<CPos>;
 1804|  2.18M|        using merger_t  = concat_merger<node_t>;
 1805|  2.18M|        using visitor_t = concat_merger_visitor;
 1806|  2.18M|        auto merger     = merger_t{cpos.shift(), counts, n};
 1807|  2.18M|        IMMER_TRY {
  ------------------
  |  |   49|  2.18M|#define IMMER_TRY try
  ------------------
 1808|  2.18M|            lpos.each_left_sub(visitor_t{}, merger);
 1809|  2.18M|            cpos.each_sub(visitor_t{}, merger);
 1810|  2.18M|            rpos.each_right_sub(visitor_t{}, merger);
 1811|  2.18M|            cpos.each_sub(dec_visitor{});
 1812|  2.18M|            return merger.finish();
 1813|  2.18M|        }
 1814|  2.18M|        IMMER_CATCH (...) {
 1815|      0|            merger.abort();
 1816|      0|            IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1817|      0|        }
 1818|  2.18M|    }
_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|  22.6k|    {
 1959|  22.6k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  22.6k|    }
_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.1k|    {
 1972|  14.1k|        return visit_maybe_relaxed_sub(
 1973|  14.1k|            args..., concat_trees_right_visitor<Node>{}, lpos, tpos);
 1974|  14.1k|    }
_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.03k|    {
 1959|  6.03k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  6.03k|    }
_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|  8.10k|    {
 1959|  8.10k|        return concat_inners<Node>(lpos, tpos, rpos);
 1960|  8.10k|    }
_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|  62.6k|    {
  681|  62.6k|        auto node     = pos.node();
  682|  62.6k|        auto level    = pos.shift();
  683|  62.6k|        auto idx      = pos.count() - 1;
  684|  62.6k|        auto children = pos.size(idx);
  685|  62.6k|        auto new_idx =
  686|  62.6k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 2.13k, False: 60.5k]
  |  Branch (686:47): [True: 536, False: 60.0k]
  ------------------
  687|  62.6k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  62.6k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [True: 62.6k, Folded]
  |  Branch (688:38): [True: 59.3k, False: 3.34k]
  ------------------
  689|       |
  690|  62.6k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 1.07k, False: 61.6k]
  ------------------
  691|  1.07k|            return nullptr;
  692|  61.6k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 60.0k, False: 1.59k]
  ------------------
  693|  60.0k|            new_child =
  694|  60.0k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 57.6k, False: 2.31k]
  ------------------
  695|  60.0k|                       : pos.last_oh_csh(
  696|  2.31k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  60.0k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 777, False: 59.2k]
  ------------------
  698|    777|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 424, False: 353]
  ------------------
  699|    424|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    353|                else
  701|    353|                    return nullptr;
  702|    777|            }
  703|  60.0k|        } else
  704|  1.59k|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  61.2k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 59.0k, False: 2.22k]
  ------------------
  707|  59.0k|            auto count             = new_idx + 1;
  708|  59.0k|            auto relaxed           = node->ensure_mutable_relaxed_n(e, new_idx);
  709|  59.0k|            node->inner()[new_idx] = new_child;
  710|  59.0k|            relaxed->d.sizes[new_idx] = pos.size() + ts;
  711|  59.0k|            relaxed->d.count          = count;
  712|  59.0k|            assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (712:13): [True: 59.0k, False: 0]
  ------------------
  713|  59.0k|            return node;
  714|  59.0k|        } else {
  715|  2.22k|            IMMER_TRY {
  ------------------
  |  |   49|  2.22k|#define IMMER_TRY try
  ------------------
  716|  2.22k|                auto count    = new_idx + 1;
  717|  2.22k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  2.22k|                auto relaxed  = new_node->relaxed();
  719|  2.22k|                new_node->inner()[new_idx] = new_child;
  720|  2.22k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  2.22k|                relaxed->d.count           = count;
  722|  2.22k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 2.22k, False: 0]
  ------------------
  723|  2.22k|                if (Mutating)
  ------------------
  |  Branch (723:21): [True: 2.22k, Folded]
  ------------------
  724|  2.22k|                    pos.visit(dec_visitor{});
  725|  2.22k|                return new_node;
  726|  2.22k|            }
  727|  2.22k|            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.22k|        }
  737|  61.2k|    }
_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|  48.7k|    {
  742|  48.7k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 48.7k, False: 0]
  ------------------
  743|  48.7k|        auto node    = pos.node();
  744|  48.7k|        auto idx     = pos.index(pos.size() - 1);
  745|  48.7k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  48.7k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 48.7k, Folded]
  |  Branch (746:36): [True: 48.1k, False: 594]
  ------------------
  747|  48.7k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 48.1k, False: 594]
  ------------------
  748|  48.1k|            node->inner()[new_idx] =
  749|  48.1k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 47.2k, False: 913]
  ------------------
  750|       |                               /* otherwise */
  751|  48.1k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|  48.1k|            return node;
  753|  48.1k|        } else {
  754|    594|            auto new_parent = node_t::make_inner_e(e);
  755|    594|            IMMER_TRY {
  ------------------
  |  |   49|    594|#define IMMER_TRY try
  ------------------
  756|    594|                new_parent->inner()[new_idx] =
  757|    594|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 327, False: 267]
  ------------------
  758|    594|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    594|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    594|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    594|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 594, Folded]
  ------------------
  763|    594|                    pos.visit(dec_visitor{});
  764|    594|                return new_parent;
  765|    594|            }
  766|    594|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    594|        }
  771|  48.7k|    }
_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|   960k|    {
  742|   960k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 960k, False: 0]
  ------------------
  743|   960k|        auto node    = pos.node();
  744|   960k|        auto idx     = pos.index(pos.size() - 1);
  745|   960k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   960k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 960k, Folded]
  |  Branch (746:36): [True: 959k, False: 533]
  ------------------
  747|   960k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 959k, False: 533]
  ------------------
  748|   959k|            node->inner()[new_idx] =
  749|   959k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 757k, False: 202k]
  ------------------
  750|       |                               /* otherwise */
  751|   959k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   959k|            return node;
  753|   959k|        } else {
  754|    533|            auto new_parent = node_t::make_inner_e(e);
  755|    533|            IMMER_TRY {
  ------------------
  |  |   49|    533|#define IMMER_TRY try
  ------------------
  756|    533|                new_parent->inner()[new_idx] =
  757|    533|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 220, False: 313]
  ------------------
  758|    533|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    533|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    533|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    533|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 533, Folded]
  ------------------
  763|    533|                    pos.visit(dec_visitor{});
  764|    533|                return new_parent;
  765|    533|            }
  766|    533|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    533|        }
  771|   960k|    }
_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|  3.17k|    {
  742|  3.17k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 3.17k, False: 0]
  ------------------
  743|  3.17k|        auto node    = pos.node();
  744|  3.17k|        auto idx     = pos.index(pos.size() - 1);
  745|  3.17k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  3.17k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 3.17k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  3.17k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 3.17k]
  ------------------
  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|  3.17k|        } else {
  754|  3.17k|            auto new_parent = node_t::make_inner_e(e);
  755|  3.17k|            IMMER_TRY {
  ------------------
  |  |   49|  3.17k|#define IMMER_TRY try
  ------------------
  756|  3.17k|                new_parent->inner()[new_idx] =
  757|  3.17k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 1.55k, False: 1.61k]
  ------------------
  758|  3.17k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  3.17k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  3.17k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  3.17k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 3.17k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  3.17k|                return new_parent;
  765|  3.17k|            }
  766|  3.17k|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|  3.17k|        }
  771|  3.17k|    }
_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.99k|    {
  681|  6.99k|        auto node     = pos.node();
  682|  6.99k|        auto level    = pos.shift();
  683|  6.99k|        auto idx      = pos.count() - 1;
  684|  6.99k|        auto children = pos.size(idx);
  685|  6.99k|        auto new_idx =
  686|  6.99k|            children == size_t{1} << level || level == BL ? idx + 1 : idx;
  ------------------
  |  Branch (686:13): [True: 896, False: 6.09k]
  |  Branch (686:47): [True: 365, False: 5.72k]
  ------------------
  687|  6.99k|        auto new_child = static_cast<node_t*>(nullptr);
  688|  6.99k|        auto mutate    = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (688:26): [Folded, False: 6.99k]
  |  Branch (688:38): [True: 0, False: 0]
  ------------------
  689|       |
  690|  6.99k|        if (new_idx >= branches<B>)
  ------------------
  |  Branch (690:13): [True: 567, False: 6.42k]
  ------------------
  691|    567|            return nullptr;
  692|  6.42k|        else if (idx == new_idx) {
  ------------------
  |  Branch (692:18): [True: 5.72k, False: 694]
  ------------------
  693|  5.72k|            new_child =
  694|  5.72k|                mutate ? pos.last_oh_csh(this_t{}, idx, children, e, tail, ts)
  ------------------
  |  Branch (694:17): [True: 0, False: 5.72k]
  ------------------
  695|  5.72k|                       : pos.last_oh_csh(
  696|  5.72k|                             this_no_mut_t{}, idx, children, e, tail, ts);
  697|  5.72k|            if (!new_child) {
  ------------------
  |  Branch (697:17): [True: 676, False: 5.05k]
  ------------------
  698|    676|                if (++new_idx < branches<B>)
  ------------------
  |  Branch (698:21): [True: 255, False: 421]
  ------------------
  699|    255|                    new_child = node_t::make_path_e(e, level - B, tail);
  700|    421|                else
  701|    421|                    return nullptr;
  702|    676|            }
  703|  5.72k|        } else
  704|    694|            new_child = node_t::make_path_e(e, level - B, tail);
  705|       |
  706|  6.00k|        if (mutate) {
  ------------------
  |  Branch (706:13): [True: 0, False: 6.00k]
  ------------------
  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|  6.00k|        } else {
  715|  6.00k|            IMMER_TRY {
  ------------------
  |  |   49|  6.00k|#define IMMER_TRY try
  ------------------
  716|  6.00k|                auto count    = new_idx + 1;
  717|  6.00k|                auto new_node = node_t::copy_inner_r_e(e, pos.node(), new_idx);
  718|  6.00k|                auto relaxed  = new_node->relaxed();
  719|  6.00k|                new_node->inner()[new_idx] = new_child;
  720|  6.00k|                relaxed->d.sizes[new_idx]  = pos.size() + ts;
  721|  6.00k|                relaxed->d.count           = count;
  722|  6.00k|                assert(relaxed->d.sizes[new_idx]);
  ------------------
  |  Branch (722:17): [True: 6.00k, False: 0]
  ------------------
  723|  6.00k|                if (Mutating)
  ------------------
  |  Branch (723:21): [Folded, False: 6.00k]
  ------------------
  724|      0|                    pos.visit(dec_visitor{});
  725|  6.00k|                return new_node;
  726|  6.00k|            }
  727|  6.00k|            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|  6.00k|        }
  737|  6.00k|    }
_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.05k|    {
  742|  1.05k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 1.05k, False: 0]
  ------------------
  743|  1.05k|        auto node    = pos.node();
  744|  1.05k|        auto idx     = pos.index(pos.size() - 1);
  745|  1.05k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|  1.05k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [Folded, False: 1.05k]
  |  Branch (746:36): [True: 0, False: 0]
  ------------------
  747|  1.05k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 0, False: 1.05k]
  ------------------
  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.05k|        } else {
  754|  1.05k|            auto new_parent = node_t::make_inner_e(e);
  755|  1.05k|            IMMER_TRY {
  ------------------
  |  |   49|  1.05k|#define IMMER_TRY try
  ------------------
  756|  1.05k|                new_parent->inner()[new_idx] =
  757|  1.05k|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 653, False: 405]
  ------------------
  758|  1.05k|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|  1.05k|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|  1.05k|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|  1.05k|                if (Mutating)
  ------------------
  |  Branch (762:21): [Folded, False: 1.05k]
  ------------------
  763|      0|                    pos.visit(dec_visitor{});
  764|  1.05k|                return new_parent;
  765|  1.05k|            }
  766|  1.05k|            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.05k|        }
  771|  1.05k|    }
_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|   160k|    {
  742|   160k|        assert((pos.size() & mask<BL>) == 0);
  ------------------
  |  Branch (742:9): [True: 160k, False: 0]
  ------------------
  743|   160k|        auto node    = pos.node();
  744|   160k|        auto idx     = pos.index(pos.size() - 1);
  745|   160k|        auto new_idx = pos.index(pos.size() + branches<BL> - 1);
  746|   160k|        auto mutate  = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (746:24): [True: 160k, Folded]
  |  Branch (746:36): [True: 159k, False: 662]
  ------------------
  747|   160k|        if (mutate) {
  ------------------
  |  Branch (747:13): [True: 159k, False: 662]
  ------------------
  748|   159k|            node->inner()[new_idx] =
  749|   159k|                idx == new_idx ? pos.last_oh(this_t{}, idx, e, tail)
  ------------------
  |  Branch (749:17): [True: 155k, False: 3.81k]
  ------------------
  750|       |                               /* otherwise */
  751|   159k|                               : node_t::make_path_e(e, pos.shift() - B, tail);
  752|   159k|            return node;
  753|   159k|        } else {
  754|    662|            auto new_parent = node_t::make_inner_e(e);
  755|    662|            IMMER_TRY {
  ------------------
  |  |   49|    662|#define IMMER_TRY try
  ------------------
  756|    662|                new_parent->inner()[new_idx] =
  757|    662|                    idx == new_idx
  ------------------
  |  Branch (757:21): [True: 418, False: 244]
  ------------------
  758|    662|                        ? pos.last_oh(this_no_mut_t{}, idx, e, tail)
  759|       |                        /* otherwise */
  760|    662|                        : node_t::make_path_e(e, pos.shift() - B, tail);
  761|    662|                node_t::do_copy_inner(new_parent, node, new_idx);
  762|    662|                if (Mutating)
  ------------------
  |  Branch (762:21): [True: 662, Folded]
  ------------------
  763|    662|                    pos.visit(dec_visitor{});
  764|    662|                return new_parent;
  765|    662|            }
  766|    662|            IMMER_CATCH (...) {
  767|      0|                node_t::delete_inner_e(new_parent);
  768|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  769|      0|            }
  770|    662|        }
  771|   160k|    }
_ZN5immer6detail4rbts17dec_empty_regularINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEvPT_:
  580|  2.27k|{
  581|  2.27k|    make_empty_regular_pos(node).visit(dec_visitor());
  582|  2.27k|}
_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|  76.5k|    {
  596|  76.5k|        auto offset = pos.index(idx);
  597|  76.5k|        auto count  = pos.count();
  598|  76.5k|        auto node   = pos.node();
  599|  76.5k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (599:13): [True: 65.1k, False: 11.3k]
  ------------------
  600|  65.1k|            return pos.towards_oh(
  601|  65.1k|                this_t{}, idx, offset, e, &node->inner()[offset]);
  602|  65.1k|        } else {
  603|  11.3k|            auto new_node = node_t::copy_inner_sr_e(e, node, count);
  604|  11.3k|            IMMER_TRY {
  ------------------
  |  |   49|  11.3k|#define IMMER_TRY try
  ------------------
  605|  11.3k|                auto& res = pos.towards_oh(
  606|  11.3k|                    this_t{}, idx, offset, e, &new_node->inner()[offset]);
  607|  11.3k|                pos.visit(dec_visitor{});
  608|  11.3k|                *location = new_node;
  609|  11.3k|                return res;
  610|  11.3k|            }
  611|  11.3k|            IMMER_CATCH (...) {
  612|      0|                dec_relaxed(new_node, pos.shift());
  613|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  614|      0|            }
  615|  11.3k|        }
  616|  76.5k|    }
_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|  14.4k|    {
  653|  14.4k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 14.4k, False: 0]
  ------------------
  654|  14.4k|        auto node = pos.node();
  655|  14.4k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 12.2k, False: 2.22k]
  ------------------
  656|  12.2k|            return node->leaf()[pos.index(idx)];
  657|  12.2k|        } else {
  658|  2.22k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  2.22k|            pos.visit(dec_visitor{});
  660|  2.22k|            *location = new_node;
  661|  2.22k|            return new_node->leaf()[pos.index(idx)];
  662|  2.22k|        }
  663|  14.4k|    }
_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|  9.38k|    {
  622|  9.38k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 9.38k, False: 0]
  ------------------
  623|  9.38k|        auto offset = pos.index(idx);
  624|  9.38k|        auto count  = pos.count();
  625|  9.38k|        auto node   = pos.node();
  626|  9.38k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 6.20k, False: 3.17k]
  ------------------
  627|  6.20k|            return pos.towards_oh_ch(
  628|  6.20k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  6.20k|        } else {
  630|  3.17k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  3.17k|            IMMER_TRY {
  ------------------
  |  |   49|  3.17k|#define IMMER_TRY try
  ------------------
  632|  3.17k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  3.17k|                                              idx,
  634|  3.17k|                                              offset,
  635|  3.17k|                                              count,
  636|  3.17k|                                              e,
  637|  3.17k|                                              &new_node->inner()[offset]);
  638|  3.17k|                pos.visit(dec_visitor{});
  639|  3.17k|                *location = new_node;
  640|  3.17k|                return res;
  641|  3.17k|            }
  642|  3.17k|            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|  3.17k|        }
  647|  9.38k|    }
_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|  8.20k|    {
  653|  8.20k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 8.20k, False: 0]
  ------------------
  654|  8.20k|        auto node = pos.node();
  655|  8.20k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 3.78k, False: 4.42k]
  ------------------
  656|  3.78k|            return node->leaf()[pos.index(idx)];
  657|  4.42k|        } else {
  658|  4.42k|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|  4.42k|            pos.visit(dec_visitor{});
  660|  4.42k|            *location = new_node;
  661|  4.42k|            return new_node->leaf()[pos.index(idx)];
  662|  4.42k|        }
  663|  8.20k|    }
_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|  9.70k|    {
  622|  9.70k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 9.70k, False: 0]
  ------------------
  623|  9.70k|        auto offset = pos.index(idx);
  624|  9.70k|        auto count  = pos.count();
  625|  9.70k|        auto node   = pos.node();
  626|  9.70k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 3.49k, False: 6.21k]
  ------------------
  627|  3.49k|            return pos.towards_oh_ch(
  628|  3.49k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  6.21k|        } else {
  630|  6.21k|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|  6.21k|            IMMER_TRY {
  ------------------
  |  |   49|  6.21k|#define IMMER_TRY try
  ------------------
  632|  6.21k|                auto& res = pos.towards_oh_ch(this_t{},
  633|  6.21k|                                              idx,
  634|  6.21k|                                              offset,
  635|  6.21k|                                              count,
  636|  6.21k|                                              e,
  637|  6.21k|                                              &new_node->inner()[offset]);
  638|  6.21k|                pos.visit(dec_visitor{});
  639|  6.21k|                *location = new_node;
  640|  6.21k|                return res;
  641|  6.21k|            }
  642|  6.21k|            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|  6.21k|        }
  647|  9.70k|    }
_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.17k|    {
  653|  1.17k|        assert(pos.node() == *location);
  ------------------
  |  Branch (653:9): [True: 1.17k, False: 0]
  ------------------
  654|  1.17k|        auto node = pos.node();
  655|  1.17k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (655:13): [True: 802, False: 372]
  ------------------
  656|    802|            return node->leaf()[pos.index(idx)];
  657|    802|        } else {
  658|    372|            auto new_node = node_t::copy_leaf_e(e, pos.node(), pos.count());
  659|    372|            pos.visit(dec_visitor{});
  660|    372|            *location = new_node;
  661|    372|            return new_node->leaf()[pos.index(idx)];
  662|    372|        }
  663|  1.17k|    }
_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.00k|    {
  622|  2.00k|        assert(pos.node() == *location);
  ------------------
  |  Branch (622:9): [True: 2.00k, False: 0]
  ------------------
  623|  2.00k|        auto offset = pos.index(idx);
  624|  2.00k|        auto count  = pos.count();
  625|  2.00k|        auto node   = pos.node();
  626|  2.00k|        if (node->can_mutate(e)) {
  ------------------
  |  Branch (626:13): [True: 1.67k, False: 333]
  ------------------
  627|  1.67k|            return pos.towards_oh_ch(
  628|  1.67k|                this_t{}, idx, offset, count, e, &node->inner()[offset]);
  629|  1.67k|        } else {
  630|    333|            auto new_node = node_t::copy_inner_e(e, node, count);
  631|    333|            IMMER_TRY {
  ------------------
  |  |   49|    333|#define IMMER_TRY try
  ------------------
  632|    333|                auto& res = pos.towards_oh_ch(this_t{},
  633|    333|                                              idx,
  634|    333|                                              offset,
  635|    333|                                              count,
  636|    333|                                              e,
  637|    333|                                              &new_node->inner()[offset]);
  638|    333|                pos.visit(dec_visitor{});
  639|    333|                *location = new_node;
  640|    333|                return res;
  641|    333|            }
  642|    333|            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|    333|        }
  647|  2.00k|    }
_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|  54.8k|    {
  914|  54.8k|        auto idx    = pos.index(last);
  915|  54.8k|        auto node   = pos.node();
  916|  54.8k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 54.8k, Folded]
  |  Branch (916:35): [True: 45.5k, False: 9.34k]
  ------------------
  917|  54.8k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 54.8k, Folded]
  |  Branch (917:25): [True: 38.2k, False: 16.6k]
  ------------------
  918|  38.2k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 32.5k, False: 5.68k]
  ------------------
  919|  38.2k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  38.2k|            if (Mutating)
  ------------------
  |  Branch (920:17): [True: 38.2k, Folded]
  ------------------
  921|  38.2k|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  38.2k|            return res;
  923|  38.2k|        } else {
  924|  16.6k|            using std::get;
  925|  16.6k|            auto subs =
  926|  16.6k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 13.0k, False: 3.65k]
  ------------------
  927|  16.6k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  16.6k|            auto next = get<1>(subs);
  929|  16.6k|            auto ts   = get<2>(subs);
  930|  16.6k|            auto tail = get<3>(subs);
  931|  16.6k|            IMMER_TRY {
  ------------------
  |  |   49|  16.6k|#define IMMER_TRY try
  ------------------
  932|  16.6k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 12.0k, False: 4.63k]
  ------------------
  933|  12.0k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 9.86k, False: 2.17k]
  ------------------
  934|  9.86k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  9.86k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  9.86k|                        node->inner()[idx] = next;
  937|  9.86k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  9.86k|                        nodr->d.count      = idx + 1;
  939|  9.86k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 9.86k, False: 0]
  ------------------
  940|  9.86k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  9.86k|                    } else {
  942|  2.17k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  2.17k|                        auto newr = newn->relaxed();
  944|  2.17k|                        newn->inner()[idx] = next;
  945|  2.17k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  2.17k|                        newr->d.count      = idx + 1;
  947|  2.17k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 2.17k, False: 0]
  ------------------
  948|  2.17k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 2.17k, Folded]
  ------------------
  949|  2.17k|                            pos.visit(dec_visitor{});
  950|  2.17k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  2.17k|                    }
  952|  12.0k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 4.63k]
  ------------------
  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|  4.63k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 4.63k, Folded]
  |  Branch (956:40): [True: 3.23k, False: 1.39k]
  |  Branch (956:52): [True: 2.81k, False: 420]
  ------------------
  957|  2.81k|                    auto newn = pos.node()->inner()[0];
  958|  2.81k|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 920, False: 1.89k]
  ------------------
  959|    920|                        newn->inc();
  960|  2.81k|                    if (Mutating)
  ------------------
  |  Branch (960:25): [True: 2.81k, Folded]
  ------------------
  961|  2.81k|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|  2.81k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.81k|                } else {
  964|  1.81k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 1.24k, False: 567]
  ------------------
  965|  1.24k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  1.24k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  1.24k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  1.24k|                    } else {
  969|    567|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    567|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 567, Folded]
  ------------------
  971|    567|                            pos.visit(dec_visitor{});
  972|    567|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    567|                    }
  974|  1.81k|                }
  975|  16.6k|            }
  976|  16.6k|            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.6k|        }
  987|  54.8k|    }
_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: 314, False: 759]
  ------------------
 1064|  1.07k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 341, False: 732]
  ------------------
 1065|    341|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 341]
  ------------------
 1066|      0|                node->inc();
 1067|    341|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    732|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 279, False: 453]
  ------------------
 1069|    279|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    279|                              old_tail_size - new_tail_size);
 1071|    279|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    453|        } else {
 1073|    453|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    453|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 453, Folded]
  ------------------
 1075|    453|                pos.visit(dec_visitor{});
 1076|    453|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    453|        }
 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|    570|    {
 1060|    570|        auto old_tail_size = pos.count();
 1061|    570|        auto new_tail_size = pos.index(last) + 1;
 1062|    570|        auto node          = pos.node();
 1063|    570|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 570]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    570|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 257, False: 313]
  ------------------
 1065|    257|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 257, Folded]
  ------------------
 1066|    257|                node->inc();
 1067|    257|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    313|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 313]
  ------------------
 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|    313|        } else {
 1073|    313|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    313|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 313]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    313|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    313|        }
 1078|    570|    }
_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|  23.9k|    {
  914|  23.9k|        auto idx    = pos.index(last);
  915|  23.9k|        auto node   = pos.node();
  916|  23.9k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 23.9k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  23.9k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [True: 23.9k, Folded]
  |  Branch (917:25): [True: 20.3k, False: 3.60k]
  ------------------
  918|  20.3k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (918:24): [True: 0, False: 20.3k]
  ------------------
  919|  20.3k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  920|  20.3k|            if (Mutating)
  ------------------
  |  Branch (920:17): [Folded, False: 20.3k]
  ------------------
  921|      0|                pos.visit(dec_right_visitor{}, count_t{1});
  922|  20.3k|            return res;
  923|  20.3k|        } else {
  924|  3.60k|            using std::get;
  925|  3.60k|            auto subs =
  926|  3.60k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 3.60k]
  ------------------
  927|  3.60k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  3.60k|            auto next = get<1>(subs);
  929|  3.60k|            auto ts   = get<2>(subs);
  930|  3.60k|            auto tail = get<3>(subs);
  931|  3.60k|            IMMER_TRY {
  ------------------
  |  |   49|  3.60k|#define IMMER_TRY try
  ------------------
  932|  3.60k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 1.08k, False: 2.51k]
  ------------------
  933|  1.08k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 1.08k]
  ------------------
  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.08k|                    } else {
  942|  1.08k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.08k|                        auto newr = newn->relaxed();
  944|  1.08k|                        newn->inner()[idx] = next;
  945|  1.08k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.08k|                        newr->d.count      = idx + 1;
  947|  1.08k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.08k, False: 0]
  ------------------
  948|  1.08k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 1.08k]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|  1.08k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.08k|                    }
  952|  2.51k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 0, False: 2.51k]
  ------------------
  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|  2.51k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [True: 2.51k, Folded]
  |  Branch (956:40): [True: 699, False: 1.81k]
  |  Branch (956:52): [True: 444, False: 255]
  ------------------
  957|    444|                    auto newn = pos.node()->inner()[0];
  958|    444|                    if (!mutate)
  ------------------
  |  Branch (958:25): [True: 444, False: 0]
  ------------------
  959|    444|                        newn->inc();
  960|    444|                    if (Mutating)
  ------------------
  |  Branch (960:25): [Folded, False: 444]
  ------------------
  961|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
  962|    444|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
  963|  2.07k|                } else {
  964|  2.07k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 2.07k]
  ------------------
  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|  2.07k|                    } else {
  969|  2.07k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  2.07k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 2.07k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  2.07k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  2.07k|                    }
  974|  2.07k|                }
  975|  3.60k|            }
  976|  3.60k|            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|  3.60k|        }
  987|  23.9k|    }
_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.51k|    {
  992|  1.51k|        auto idx    = pos.index(last);
  993|  1.51k|        auto node   = pos.node();
  994|  1.51k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.51k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.51k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.51k, Folded]
  |  Branch (995:25): [True: 449, False: 1.06k]
  ------------------
  996|    449|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 449]
  ------------------
  997|    449|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    449|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 449]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    449|            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: 220, False: 846]
  ------------------
 1011|    220|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 220]
  ------------------
 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|    220|                    } else {
 1016|    220|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    220|                        newn->inner()[idx] = next;
 1018|    220|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 220]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    220|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    220|                    }
 1022|    846|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 846]
  ------------------
 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|    846|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 846, Folded]
  |  Branch (1026:40): [True: 602, False: 244]
  |  Branch (1026:52): [True: 232, False: 370]
  ------------------
 1027|    232|                    auto newn = pos.node()->inner()[0];
 1028|    232|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 232, False: 0]
  ------------------
 1029|    232|                        newn->inc();
 1030|    232|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 232]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    232|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    614|                } else {
 1034|    614|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 614]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    614|                    } else {
 1038|    614|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    614|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 614]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    614|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    614|                    }
 1043|    614|                }
 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.51k|    }
_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.51k|    {
 1060|  1.51k|        auto old_tail_size = pos.count();
 1061|  1.51k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.51k|        auto node          = pos.node();
 1063|  1.51k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 1.51k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  1.51k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 710, False: 802]
  ------------------
 1065|    710|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 710, Folded]
  ------------------
 1066|    710|                node->inc();
 1067|    710|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    802|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 802]
  ------------------
 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|    802|        } else {
 1073|    802|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    802|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 802]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|    802|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    802|        }
 1078|  1.51k|    }
_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|  1.86k|    {
  992|  1.86k|        auto idx    = pos.index(last);
  993|  1.86k|        auto node   = pos.node();
  994|  1.86k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 1.86k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  1.86k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 1.86k, Folded]
  |  Branch (995:25): [True: 743, False: 1.12k]
  ------------------
  996|    743|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 0, False: 743]
  ------------------
  997|    743|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|    743|            if (Mutating)
  ------------------
  |  Branch (998:17): [Folded, False: 743]
  ------------------
  999|      0|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|    743|            return res;
 1001|  1.12k|        } else {
 1002|  1.12k|            using std::get;
 1003|  1.12k|            auto subs =
 1004|  1.12k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 1.12k]
  ------------------
 1005|  1.12k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  1.12k|            auto next = get<1>(subs);
 1007|  1.12k|            auto ts   = get<2>(subs);
 1008|  1.12k|            auto tail = get<3>(subs);
 1009|  1.12k|            IMMER_TRY {
  ------------------
  |  |   49|  1.12k|#define IMMER_TRY try
  ------------------
 1010|  1.12k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 239, False: 886]
  ------------------
 1011|    239|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 239]
  ------------------
 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|    239|                    } 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): [Folded, False: 239]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    239|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    239|                    }
 1022|    886|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 886]
  ------------------
 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|    886|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 886, Folded]
  |  Branch (1026:40): [True: 684, False: 202]
  |  Branch (1026:52): [True: 216, False: 468]
  ------------------
 1027|    216|                    auto newn = pos.node()->inner()[0];
 1028|    216|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 216, False: 0]
  ------------------
 1029|    216|                        newn->inc();
 1030|    216|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [Folded, False: 216]
  ------------------
 1031|      0|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    216|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|    670|                } else {
 1034|    670|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 670]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    670|                    } else {
 1038|    670|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    670|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 670]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    670|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    670|                    }
 1043|    670|                }
 1044|  1.12k|            }
 1045|  1.12k|            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.12k|        }
 1055|  1.86k|    }
_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.34k|    {
 1060|  5.34k|        auto old_tail_size = pos.count();
 1061|  5.34k|        auto new_tail_size = pos.index(last) + 1;
 1062|  5.34k|        auto node          = pos.node();
 1063|  5.34k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 5.34k, Folded]
  |  Branch (1063:42): [True: 917, False: 4.42k]
  ------------------
 1064|  5.34k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.63k, False: 3.70k]
  ------------------
 1065|  1.63k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.63k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.63k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  3.70k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 860, False: 2.84k]
  ------------------
 1069|    860|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    860|                              old_tail_size - new_tail_size);
 1071|    860|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  2.84k|        } else {
 1073|  2.84k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  2.84k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 2.84k, Folded]
  ------------------
 1075|  2.84k|                pos.visit(dec_visitor{});
 1076|  2.84k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  2.84k|        }
 1078|  5.34k|    }
_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.32k|    {
  992|  4.32k|        auto idx    = pos.index(last);
  993|  4.32k|        auto node   = pos.node();
  994|  4.32k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 4.32k, Folded]
  |  Branch (994:35): [True: 2.19k, False: 2.12k]
  ------------------
  995|  4.32k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 4.32k]
  |  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.32k|        } else {
 1002|  4.32k|            using std::get;
 1003|  4.32k|            auto subs =
 1004|  4.32k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 2.19k, False: 2.12k]
  ------------------
 1005|  4.32k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  4.32k|            auto next = get<1>(subs);
 1007|  4.32k|            auto ts   = get<2>(subs);
 1008|  4.32k|            auto tail = get<3>(subs);
 1009|  4.32k|            IMMER_TRY {
  ------------------
  |  |   49|  4.32k|#define IMMER_TRY try
  ------------------
 1010|  4.32k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 644, False: 3.68k]
  ------------------
 1011|    644|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 395, False: 249]
  ------------------
 1012|    395|                        node->inner()[idx] = next;
 1013|    395|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    395|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    395|                    } else {
 1016|    249|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    249|                        newn->inner()[idx] = next;
 1018|    249|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 249, Folded]
  ------------------
 1019|    249|                            pos.visit(dec_visitor{});
 1020|    249|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    249|                    }
 1022|  3.68k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.45k, False: 2.22k]
  ------------------
 1023|  1.45k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.45k, Folded]
  ------------------
 1024|  1.45k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.45k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  2.22k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 2.22k]
  |  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.22k|                } else {
 1034|  2.22k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.08k, False: 1.14k]
  ------------------
 1035|  1.08k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.08k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.14k|                    } else {
 1038|  1.14k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.14k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.14k, Folded]
  ------------------
 1040|  1.14k|                            pos.visit(dec_visitor{});
 1041|  1.14k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.14k|                    }
 1043|  2.22k|                }
 1044|  4.32k|            }
 1045|  4.32k|            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.32k|        }
 1055|  4.32k|    }
_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.74k|    {
  879|  3.74k|        using node_t = node_type<Pos>;
  880|  3.74k|        auto node    = p.node();
  881|  3.74k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 2.11k, False: 1.63k]
  ------------------
  882|  2.11k|            p.each_right(dec_t{}, idx);
  883|  2.11k|            node_t::delete_inner(node, p.count());
  884|  2.11k|        }
  885|  3.74k|    }
_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.43k|    {
 1060|  9.43k|        auto old_tail_size = pos.count();
 1061|  9.43k|        auto new_tail_size = pos.index(last) + 1;
 1062|  9.43k|        auto node          = pos.node();
 1063|  9.43k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 9.43k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  9.43k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 2.78k, False: 6.64k]
  ------------------
 1065|  2.78k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 2.78k, Folded]
  ------------------
 1066|  2.78k|                node->inc();
 1067|  2.78k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  6.64k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 6.64k]
  ------------------
 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.64k|        } else {
 1073|  6.64k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  6.64k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 6.64k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  6.64k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  6.64k|        }
 1078|  9.43k|    }
_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|  3.28k|    {
  992|  3.28k|        auto idx    = pos.index(last);
  993|  3.28k|        auto node   = pos.node();
  994|  3.28k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.28k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.28k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.28k]
  |  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.28k|        } else {
 1002|  3.28k|            using std::get;
 1003|  3.28k|            auto subs =
 1004|  3.28k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.28k]
  ------------------
 1005|  3.28k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.28k|            auto next = get<1>(subs);
 1007|  3.28k|            auto ts   = get<2>(subs);
 1008|  3.28k|            auto tail = get<3>(subs);
 1009|  3.28k|            IMMER_TRY {
  ------------------
  |  |   49|  3.28k|#define IMMER_TRY try
  ------------------
 1010|  3.28k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 323, False: 2.95k]
  ------------------
 1011|    323|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 323]
  ------------------
 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|    323|                    } else {
 1016|    323|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    323|                        newn->inner()[idx] = next;
 1018|    323|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 323]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    323|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    323|                    }
 1022|  2.95k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.23k, False: 1.72k]
  ------------------
 1023|  1.23k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.23k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.23k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.72k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.72k]
  |  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.72k|                } else {
 1034|  1.72k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.72k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.72k|                    } else {
 1038|  1.72k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.72k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.72k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.72k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.72k|                    }
 1043|  1.72k|                }
 1044|  3.28k|            }
 1045|  3.28k|            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.28k|        }
 1055|  3.28k|    }
_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|    403|    {
 1060|    403|        auto old_tail_size = pos.count();
 1061|    403|        auto new_tail_size = pos.index(last) + 1;
 1062|    403|        auto node          = pos.node();
 1063|    403|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 403]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|    403|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 201, False: 202]
  ------------------
 1065|    201|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 201, Folded]
  ------------------
 1066|    201|                node->inc();
 1067|    201|            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|    403|    }
_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.38k|    {
 1060|  2.38k|        auto old_tail_size = pos.count();
 1061|  2.38k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.38k|        auto node          = pos.node();
 1063|  2.38k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 2.38k, Folded]
  |  Branch (1063:42): [True: 434, False: 1.94k]
  ------------------
 1064|  2.38k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 244, False: 2.13k]
  ------------------
 1065|    244|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 244]
  ------------------
 1066|      0|                node->inc();
 1067|    244|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.13k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 416, False: 1.72k]
  ------------------
 1069|    416|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    416|                              old_tail_size - new_tail_size);
 1071|    416|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.72k|        } else {
 1073|  1.72k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.72k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.72k, Folded]
  ------------------
 1075|  1.72k|                pos.visit(dec_visitor{});
 1076|  1.72k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.72k|        }
 1078|  2.38k|    }
_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|  6.20k|    {
  992|  6.20k|        auto idx    = pos.index(last);
  993|  6.20k|        auto node   = pos.node();
  994|  6.20k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 6.20k, Folded]
  |  Branch (994:35): [True: 5.58k, False: 622]
  ------------------
  995|  6.20k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 6.20k]
  |  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|  6.20k|        } else {
 1002|  6.20k|            using std::get;
 1003|  6.20k|            auto subs =
 1004|  6.20k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 5.58k, False: 622]
  ------------------
 1005|  6.20k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  6.20k|            auto next = get<1>(subs);
 1007|  6.20k|            auto ts   = get<2>(subs);
 1008|  6.20k|            auto tail = get<3>(subs);
 1009|  6.20k|            IMMER_TRY {
  ------------------
  |  |   49|  6.20k|#define IMMER_TRY try
  ------------------
 1010|  6.20k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.52k, False: 4.67k]
  ------------------
 1011|  1.52k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 1.33k, False: 196]
  ------------------
 1012|  1.33k|                        node->inner()[idx] = next;
 1013|  1.33k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  1.33k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  1.33k|                    } else {
 1016|    196|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    196|                        newn->inner()[idx] = next;
 1018|    196|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 196, Folded]
  ------------------
 1019|    196|                            pos.visit(dec_visitor{});
 1020|    196|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    196|                    }
 1022|  4.67k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 3.95k, False: 726]
  ------------------
 1023|  3.95k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 3.95k, Folded]
  ------------------
 1024|  3.95k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  3.95k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.95k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 726]
  |  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|    726|                } else {
 1034|    726|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 511, False: 215]
  ------------------
 1035|    511|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    511|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    511|                    } else {
 1038|    215|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    215|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 215, Folded]
  ------------------
 1040|    215|                            pos.visit(dec_visitor{});
 1041|    215|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    215|                    }
 1043|    726|                }
 1044|  6.20k|            }
 1045|  6.20k|            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|  6.20k|        }
 1055|  6.20k|    }
_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.95k|    {
  879|  3.95k|        using node_t = node_type<Pos>;
  880|  3.95k|        auto node    = p.node();
  881|  3.95k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 3.74k, False: 211]
  ------------------
  882|  3.74k|            p.each_right(dec_t{}, idx);
  883|  3.74k|            node_t::delete_inner(node, p.count());
  884|  3.74k|        }
  885|  3.95k|    }
_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.53k|    {
 1060|  2.53k|        auto old_tail_size = pos.count();
 1061|  2.53k|        auto new_tail_size = pos.index(last) + 1;
 1062|  2.53k|        auto node          = pos.node();
 1063|  2.53k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 2.53k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  2.53k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 757, False: 1.77k]
  ------------------
 1065|    757|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 757, Folded]
  ------------------
 1066|    757|                node->inc();
 1067|    757|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  1.77k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 1.77k]
  ------------------
 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.77k|        } else {
 1073|  1.77k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.77k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 1.77k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  1.77k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.77k|        }
 1078|  2.53k|    }
_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|  3.19k|    {
  992|  3.19k|        auto idx    = pos.index(last);
  993|  3.19k|        auto node   = pos.node();
  994|  3.19k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 3.19k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  3.19k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 3.19k]
  |  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.19k|        } else {
 1002|  3.19k|            using std::get;
 1003|  3.19k|            auto subs =
 1004|  3.19k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 3.19k]
  ------------------
 1005|  3.19k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  3.19k|            auto next = get<1>(subs);
 1007|  3.19k|            auto ts   = get<2>(subs);
 1008|  3.19k|            auto tail = get<3>(subs);
 1009|  3.19k|            IMMER_TRY {
  ------------------
  |  |   49|  3.19k|#define IMMER_TRY try
  ------------------
 1010|  3.19k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 510, False: 2.68k]
  ------------------
 1011|    510|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 510]
  ------------------
 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|    510|                    } else {
 1016|    510|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    510|                        newn->inner()[idx] = next;
 1018|    510|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 510]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    510|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    510|                    }
 1022|  2.68k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.81k, False: 875]
  ------------------
 1023|  1.81k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 1.81k]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.81k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.81k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 875]
  |  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|    875|                } else {
 1034|    875|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 875]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|    875|                    } else {
 1038|    875|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    875|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 875]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|    875|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    875|                    }
 1043|    875|                }
 1044|  3.19k|            }
 1045|  3.19k|            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.19k|        }
 1055|  3.19k|    }
_ZN5immer6detail4rbts17dec_right_visitor13visit_relaxedIRNS1_11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
  867|  43.2k|    {
  868|  43.2k|        using node_t = node_type<Pos>;
  869|  43.2k|        auto node    = p.node();
  870|  43.2k|        if (node->dec()) {
  ------------------
  |  Branch (870:13): [True: 36.1k, False: 7.13k]
  ------------------
  871|  36.1k|            p.each_right(dec_t{}, idx);
  872|  36.1k|            node_t::delete_inner_r(node, p.count());
  873|  36.1k|        }
  874|  43.2k|    }
_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|  3.90k|    {
 1060|  3.90k|        auto old_tail_size = pos.count();
 1061|  3.90k|        auto new_tail_size = pos.index(last) + 1;
 1062|  3.90k|        auto node          = pos.node();
 1063|  3.90k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 3.90k, Folded]
  |  Branch (1063:42): [True: 1.04k, False: 2.86k]
  ------------------
 1064|  3.90k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.11k, False: 2.78k]
  ------------------
 1065|  1.11k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 1.11k]
  ------------------
 1066|      0|                node->inc();
 1067|  1.11k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  2.78k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 942, False: 1.84k]
  ------------------
 1069|    942|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    942|                              old_tail_size - new_tail_size);
 1071|    942|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|  1.84k|        } else {
 1073|  1.84k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  1.84k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 1.84k, Folded]
  ------------------
 1075|  1.84k|                pos.visit(dec_visitor{});
 1076|  1.84k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  1.84k|        }
 1078|  3.90k|    }
_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|  10.2k|    {
  914|  10.2k|        auto idx    = pos.index(last);
  915|  10.2k|        auto node   = pos.node();
  916|  10.2k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [True: 10.2k, Folded]
  |  Branch (916:35): [True: 8.19k, False: 2.08k]
  ------------------
  917|  10.2k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 10.2k]
  |  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|  10.2k|        } else {
  924|  10.2k|            using std::get;
  925|  10.2k|            auto subs =
  926|  10.2k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 8.19k, False: 2.08k]
  ------------------
  927|  10.2k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  10.2k|            auto next = get<1>(subs);
  929|  10.2k|            auto ts   = get<2>(subs);
  930|  10.2k|            auto tail = get<3>(subs);
  931|  10.2k|            IMMER_TRY {
  ------------------
  |  |   49|  10.2k|#define IMMER_TRY try
  ------------------
  932|  10.2k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 4.84k, False: 5.43k]
  ------------------
  933|  4.84k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 3.86k, False: 980]
  ------------------
  934|  3.86k|                        auto nodr = node->ensure_mutable_relaxed_n(e, idx);
  935|  3.86k|                        pos.each_right(dec_visitor{}, idx + 1);
  936|  3.86k|                        node->inner()[idx] = next;
  937|  3.86k|                        nodr->d.sizes[idx] = last + 1 - ts;
  938|  3.86k|                        nodr->d.count      = idx + 1;
  939|  3.86k|                        assert(nodr->d.sizes[idx]);
  ------------------
  |  Branch (939:25): [True: 3.86k, False: 0]
  ------------------
  940|  3.86k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  941|  3.86k|                    } else {
  942|    980|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|    980|                        auto newr = newn->relaxed();
  944|    980|                        newn->inner()[idx] = next;
  945|    980|                        newr->d.sizes[idx] = last + 1 - ts;
  946|    980|                        newr->d.count      = idx + 1;
  947|    980|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 980, False: 0]
  ------------------
  948|    980|                        if (Mutating)
  ------------------
  |  Branch (948:29): [True: 980, Folded]
  ------------------
  949|    980|                            pos.visit(dec_visitor{});
  950|    980|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|    980|                    }
  952|  5.43k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 2.25k, False: 3.17k]
  ------------------
  953|  2.25k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [True: 2.25k, Folded]
  ------------------
  954|  2.25k|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  2.25k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  3.17k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 3.17k]
  |  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|  3.17k|                } else {
  964|  3.17k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 2.59k, False: 581]
  ------------------
  965|  2.59k|                        pos.each_right(dec_visitor{}, idx + 1);
  966|  2.59k|                        node->ensure_mutable_relaxed_n(e, idx)->d.count = idx;
  967|  2.59k|                        return std::make_tuple(pos.shift(), node, ts, tail);
  968|  2.59k|                    } else {
  969|    581|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|    581|                        if (Mutating)
  ------------------
  |  Branch (970:29): [True: 581, Folded]
  ------------------
  971|    581|                            pos.visit(dec_visitor{});
  972|    581|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|    581|                    }
  974|  3.17k|                }
  975|  10.2k|            }
  976|  10.2k|            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|  10.2k|        }
  987|  10.2k|    }
_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.02k|    {
  992|  7.02k|        auto idx    = pos.index(last);
  993|  7.02k|        auto node   = pos.node();
  994|  7.02k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 7.02k, Folded]
  |  Branch (994:35): [True: 5.95k, False: 1.07k]
  ------------------
  995|  7.02k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 7.02k]
  |  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.02k|        } else {
 1002|  7.02k|            using std::get;
 1003|  7.02k|            auto subs =
 1004|  7.02k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 5.95k, False: 1.07k]
  ------------------
 1005|  7.02k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  7.02k|            auto next = get<1>(subs);
 1007|  7.02k|            auto ts   = get<2>(subs);
 1008|  7.02k|            auto tail = get<3>(subs);
 1009|  7.02k|            IMMER_TRY {
  ------------------
  |  |   49|  7.02k|#define IMMER_TRY try
  ------------------
 1010|  7.02k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 2.57k, False: 4.45k]
  ------------------
 1011|  2.57k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 2.26k, False: 302]
  ------------------
 1012|  2.26k|                        node->inner()[idx] = next;
 1013|  2.26k|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|  2.26k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|  2.26k|                    } else {
 1016|    302|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    302|                        newn->inner()[idx] = next;
 1018|    302|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 302, Folded]
  ------------------
 1019|    302|                            pos.visit(dec_visitor{});
 1020|    302|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    302|                    }
 1022|  4.45k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 1.31k, False: 3.13k]
  ------------------
 1023|  1.31k|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [True: 1.31k, Folded]
  ------------------
 1024|  1.31k|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|  1.31k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  3.13k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 3.13k]
  |  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.13k|                } else {
 1034|  3.13k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 2.71k, False: 422]
  ------------------
 1035|  2.71k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  2.71k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  2.71k|                    } else {
 1038|    422|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    422|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 422, Folded]
  ------------------
 1040|    422|                            pos.visit(dec_visitor{});
 1041|    422|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    422|                    }
 1043|  3.13k|                }
 1044|  7.02k|            }
 1045|  7.02k|            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.02k|        }
 1055|  7.02k|    }
_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|  11.1k|    {
  879|  11.1k|        using node_t = node_type<Pos>;
  880|  11.1k|        auto node    = p.node();
  881|  11.1k|        if (node->dec()) {
  ------------------
  |  Branch (881:13): [True: 8.21k, False: 2.89k]
  ------------------
  882|  8.21k|            p.each_right(dec_t{}, idx);
  883|  8.21k|            node_t::delete_inner(node, p.count());
  884|  8.21k|        }
  885|  11.1k|    }
_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|  6.39k|    {
 1060|  6.39k|        auto old_tail_size = pos.count();
 1061|  6.39k|        auto new_tail_size = pos.index(last) + 1;
 1062|  6.39k|        auto node          = pos.node();
 1063|  6.39k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [Folded, False: 6.39k]
  |  Branch (1063:42): [True: 0, False: 0]
  ------------------
 1064|  6.39k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 1.76k, False: 4.62k]
  ------------------
 1065|  1.76k|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [True: 1.76k, Folded]
  ------------------
 1066|  1.76k|                node->inc();
 1067|  1.76k|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|  4.62k|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 0, False: 4.62k]
  ------------------
 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|  4.62k|        } else {
 1073|  4.62k|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|  4.62k|            if (Mutating)
  ------------------
  |  Branch (1074:17): [Folded, False: 4.62k]
  ------------------
 1075|      0|                pos.visit(dec_visitor{});
 1076|  4.62k|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|  4.62k|        }
 1078|  6.39k|    }
_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|  7.46k|    {
  914|  7.46k|        auto idx    = pos.index(last);
  915|  7.46k|        auto node   = pos.node();
  916|  7.46k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (916:23): [Folded, False: 7.46k]
  |  Branch (916:35): [True: 0, False: 0]
  ------------------
  917|  7.46k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (917:13): [Folded, False: 7.46k]
  |  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|  7.46k|        } else {
  924|  7.46k|            using std::get;
  925|  7.46k|            auto subs =
  926|  7.46k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (926:17): [True: 0, False: 7.46k]
  ------------------
  927|  7.46k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
  928|  7.46k|            auto next = get<1>(subs);
  929|  7.46k|            auto ts   = get<2>(subs);
  930|  7.46k|            auto tail = get<3>(subs);
  931|  7.46k|            IMMER_TRY {
  ------------------
  |  |   49|  7.46k|#define IMMER_TRY try
  ------------------
  932|  7.46k|                if (next) {
  ------------------
  |  Branch (932:21): [True: 1.10k, False: 6.36k]
  ------------------
  933|  1.10k|                    if (mutate) {
  ------------------
  |  Branch (933:25): [True: 0, False: 1.10k]
  ------------------
  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.10k|                    } else {
  942|  1.10k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  943|  1.10k|                        auto newr = newn->relaxed();
  944|  1.10k|                        newn->inner()[idx] = next;
  945|  1.10k|                        newr->d.sizes[idx] = last + 1 - ts;
  946|  1.10k|                        newr->d.count      = idx + 1;
  947|  1.10k|                        assert(newr->d.sizes[idx]);
  ------------------
  |  Branch (947:25): [True: 1.10k, False: 0]
  ------------------
  948|  1.10k|                        if (Mutating)
  ------------------
  |  Branch (948:29): [Folded, False: 1.10k]
  ------------------
  949|      0|                            pos.visit(dec_visitor{});
  950|  1.10k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  951|  1.10k|                    }
  952|  6.36k|                } else if (idx == 0) {
  ------------------
  |  Branch (952:28): [True: 4.16k, False: 2.19k]
  ------------------
  953|  4.16k|                    if (Mutating)
  ------------------
  |  Branch (953:25): [Folded, False: 4.16k]
  ------------------
  954|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
  955|  4.16k|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
  956|  4.16k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (956:28): [Folded, False: 2.19k]
  |  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|  2.19k|                } else {
  964|  2.19k|                    if (mutate) {
  ------------------
  |  Branch (964:25): [True: 0, False: 2.19k]
  ------------------
  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|  2.19k|                    } else {
  969|  2.19k|                        auto newn = node_t::copy_inner_r_e(e, node, idx);
  970|  2.19k|                        if (Mutating)
  ------------------
  |  Branch (970:29): [Folded, False: 2.19k]
  ------------------
  971|      0|                            pos.visit(dec_visitor{});
  972|  2.19k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
  973|  2.19k|                    }
  974|  2.19k|                }
  975|  7.46k|            }
  976|  7.46k|            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|  7.46k|        }
  987|  7.46k|    }
_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|  2.95k|    {
  992|  2.95k|        auto idx    = pos.index(last);
  993|  2.95k|        auto node   = pos.node();
  994|  2.95k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [Folded, False: 2.95k]
  |  Branch (994:35): [True: 0, False: 0]
  ------------------
  995|  2.95k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [Folded, False: 2.95k]
  |  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.95k|        } else {
 1002|  2.95k|            using std::get;
 1003|  2.95k|            auto subs =
 1004|  2.95k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 0, False: 2.95k]
  ------------------
 1005|  2.95k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.95k|            auto next = get<1>(subs);
 1007|  2.95k|            auto ts   = get<2>(subs);
 1008|  2.95k|            auto tail = get<3>(subs);
 1009|  2.95k|            IMMER_TRY {
  ------------------
  |  |   49|  2.95k|#define IMMER_TRY try
  ------------------
 1010|  2.95k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 928, False: 2.02k]
  ------------------
 1011|    928|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 0, False: 928]
  ------------------
 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|    928|                    } else {
 1016|    928|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    928|                        newn->inner()[idx] = next;
 1018|    928|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [Folded, False: 928]
  ------------------
 1019|      0|                            pos.visit(dec_visitor{});
 1020|    928|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    928|                    }
 1022|  2.02k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 910, False: 1.11k]
  ------------------
 1023|    910|                    if (Mutating)
  ------------------
  |  Branch (1023:25): [Folded, False: 910]
  ------------------
 1024|      0|                        pos.visit(dec_right_visitor{}, count_t{1});
 1025|    910|                    return std::make_tuple(pos.shift(), nullptr, ts, tail);
 1026|  1.11k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [Folded, False: 1.11k]
  |  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.11k|                } else {
 1034|  1.11k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 0, False: 1.11k]
  ------------------
 1035|      0|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|      0|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.11k|                    } else {
 1038|  1.11k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.11k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [Folded, False: 1.11k]
  ------------------
 1040|      0|                            pos.visit(dec_visitor{});
 1041|  1.11k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.11k|                    }
 1043|  1.11k|                }
 1044|  2.95k|            }
 1045|  2.95k|            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.95k|        }
 1055|  2.95k|    }
_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|  12.5k|    {
  992|  12.5k|        auto idx    = pos.index(last);
  993|  12.5k|        auto node   = pos.node();
  994|  12.5k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 12.5k, Folded]
  |  Branch (994:35): [True: 9.23k, False: 3.34k]
  ------------------
  995|  12.5k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 12.5k, Folded]
  |  Branch (995:25): [True: 7.55k, False: 5.02k]
  ------------------
  996|  7.55k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 5.58k, False: 1.96k]
  ------------------
  997|  7.55k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  7.55k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 7.55k, Folded]
  ------------------
  999|  7.55k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  7.55k|            return res;
 1001|  7.55k|        } else {
 1002|  5.02k|            using std::get;
 1003|  5.02k|            auto subs =
 1004|  5.02k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 3.65k, False: 1.37k]
  ------------------
 1005|  5.02k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  5.02k|            auto next = get<1>(subs);
 1007|  5.02k|            auto ts   = get<2>(subs);
 1008|  5.02k|            auto tail = get<3>(subs);
 1009|  5.02k|            IMMER_TRY {
  ------------------
  |  |   49|  5.02k|#define IMMER_TRY try
  ------------------
 1010|  5.02k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 1.02k, False: 4.00k]
  ------------------
 1011|  1.02k|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 755, False: 267]
  ------------------
 1012|    755|                        node->inner()[idx] = next;
 1013|    755|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    755|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    755|                    } else {
 1016|    267|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    267|                        newn->inner()[idx] = next;
 1018|    267|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 267, Folded]
  ------------------
 1019|    267|                            pos.visit(dec_visitor{});
 1020|    267|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    267|                    }
 1022|  4.00k|                } else if (idx == 0) {
  ------------------
  |  Branch (1022:28): [True: 0, False: 4.00k]
  ------------------
 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|  4.00k|                } else if (Collapse && idx == 1 && pos.shift() > BL) {
  ------------------
  |  Branch (1026:28): [True: 4.00k, Folded]
  |  Branch (1026:40): [True: 3.41k, False: 596]
  |  Branch (1026:52): [True: 2.24k, False: 1.16k]
  ------------------
 1027|  2.24k|                    auto newn = pos.node()->inner()[0];
 1028|  2.24k|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 578, False: 1.66k]
  ------------------
 1029|    578|                        newn->inc();
 1030|  2.24k|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 2.24k, Folded]
  ------------------
 1031|  2.24k|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|  2.24k|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  2.24k|                } else {
 1034|  1.76k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 1.23k, False: 533]
  ------------------
 1035|  1.23k|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|  1.23k|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.23k|                    } else {
 1038|    533|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|    533|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 533, Folded]
  ------------------
 1040|    533|                            pos.visit(dec_visitor{});
 1041|    533|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|    533|                    }
 1043|  1.76k|                }
 1044|  5.02k|            }
 1045|  5.02k|            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.02k|        }
 1055|  12.5k|    }
_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.78k|    {
 1060|  1.78k|        auto old_tail_size = pos.count();
 1061|  1.78k|        auto new_tail_size = pos.index(last) + 1;
 1062|  1.78k|        auto node          = pos.node();
 1063|  1.78k|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 1.78k, Folded]
  |  Branch (1063:42): [True: 753, False: 1.03k]
  ------------------
 1064|  1.78k|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 842, False: 945]
  ------------------
 1065|    842|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 842]
  ------------------
 1066|      0|                node->inc();
 1067|    842|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    945|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 527, False: 418]
  ------------------
 1069|    527|            detail::destroy_n(node->leaf() + new_tail_size,
 1070|    527|                              old_tail_size - new_tail_size);
 1071|    527|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1072|    527|        } else {
 1073|    418|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    418|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 418, Folded]
  ------------------
 1075|    418|                pos.visit(dec_visitor{});
 1076|    418|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    418|        }
 1078|  1.78k|    }
_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|  4.27k|    {
  992|  4.27k|        auto idx    = pos.index(last);
  993|  4.27k|        auto node   = pos.node();
  994|  4.27k|        auto mutate = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (994:23): [True: 4.27k, Folded]
  |  Branch (994:35): [True: 2.02k, False: 2.25k]
  ------------------
  995|  4.27k|        if (Collapse && idx == 0) {
  ------------------
  |  Branch (995:13): [True: 4.27k, Folded]
  |  Branch (995:25): [True: 1.78k, False: 2.49k]
  ------------------
  996|  1.78k|            auto res = mutate ? pos.towards_oh(this_t{}, last, idx, e)
  ------------------
  |  Branch (996:24): [True: 1.15k, False: 626]
  ------------------
  997|  1.78k|                              : pos.towards_oh(no_mut_t{}, last, idx, e);
  998|  1.78k|            if (Mutating)
  ------------------
  |  Branch (998:17): [True: 1.78k, Folded]
  ------------------
  999|  1.78k|                pos.visit(dec_right_visitor{}, count_t{1});
 1000|  1.78k|            return res;
 1001|  2.49k|        } else {
 1002|  2.49k|            using std::get;
 1003|  2.49k|            auto subs =
 1004|  2.49k|                mutate ? pos.towards_oh(no_collapse_t{}, last, idx, e)
  ------------------
  |  Branch (1004:17): [True: 870, False: 1.62k]
  ------------------
 1005|  2.49k|                       : pos.towards_oh(no_collapse_no_mut_t{}, last, idx, e);
 1006|  2.49k|            auto next = get<1>(subs);
 1007|  2.49k|            auto ts   = get<2>(subs);
 1008|  2.49k|            auto tail = get<3>(subs);
 1009|  2.49k|            IMMER_TRY {
  ------------------
  |  |   49|  2.49k|#define IMMER_TRY try
  ------------------
 1010|  2.49k|                if (next) {
  ------------------
  |  Branch (1010:21): [True: 569, False: 1.92k]
  ------------------
 1011|    569|                    if (mutate) {
  ------------------
  |  Branch (1011:25): [True: 373, False: 196]
  ------------------
 1012|    373|                        node->inner()[idx] = next;
 1013|    373|                        pos.each_right(dec_visitor{}, idx + 1);
 1014|    373|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1015|    373|                    } else {
 1016|    196|                        auto newn          = node_t::copy_inner_e(e, node, idx);
 1017|    196|                        newn->inner()[idx] = next;
 1018|    196|                        if (Mutating)
  ------------------
  |  Branch (1018:29): [True: 196, Folded]
  ------------------
 1019|    196|                            pos.visit(dec_visitor{});
 1020|    196|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1021|    196|                    }
 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.40k, False: 525]
  |  Branch (1026:52): [True: 505, False: 895]
  ------------------
 1027|    505|                    auto newn = pos.node()->inner()[0];
 1028|    505|                    if (!mutate)
  ------------------
  |  Branch (1028:25): [True: 265, False: 240]
  ------------------
 1029|    265|                        newn->inc();
 1030|    505|                    if (Mutating)
  ------------------
  |  Branch (1030:25): [True: 505, Folded]
  ------------------
 1031|    505|                        pos.visit(dec_right_visitor{}, count_t{2});
 1032|    505|                    return std::make_tuple(pos.shift() - B, newn, ts, tail);
 1033|  1.42k|                } else {
 1034|  1.42k|                    if (mutate) {
  ------------------
  |  Branch (1034:25): [True: 257, False: 1.16k]
  ------------------
 1035|    257|                        pos.each_right(dec_visitor{}, idx + 1);
 1036|    257|                        return std::make_tuple(pos.shift(), node, ts, tail);
 1037|  1.16k|                    } else {
 1038|  1.16k|                        auto newn = node_t::copy_inner_e(e, node, idx);
 1039|  1.16k|                        if (Mutating)
  ------------------
  |  Branch (1039:29): [True: 1.16k, Folded]
  ------------------
 1040|  1.16k|                            pos.visit(dec_visitor{});
 1041|  1.16k|                        return std::make_tuple(pos.shift(), newn, ts, tail);
 1042|  1.16k|                    }
 1043|  1.42k|                }
 1044|  2.49k|            }
 1045|  2.49k|            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.49k|        }
 1055|  4.27k|    }
_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|    679|    {
 1060|    679|        auto old_tail_size = pos.count();
 1061|    679|        auto new_tail_size = pos.index(last) + 1;
 1062|    679|        auto node          = pos.node();
 1063|    679|        auto mutate        = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1063:30): [True: 679, Folded]
  |  Branch (1063:42): [True: 204, False: 475]
  ------------------
 1064|    679|        if (new_tail_size == old_tail_size) {
  ------------------
  |  Branch (1064:13): [True: 236, False: 443]
  ------------------
 1065|    236|            if (!Mutating)
  ------------------
  |  Branch (1065:17): [Folded, False: 236]
  ------------------
 1066|      0|                node->inc();
 1067|    236|            return std::make_tuple(0, nullptr, new_tail_size, node);
 1068|    443|        } else if (mutate) {
  ------------------
  |  Branch (1068:20): [True: 197, False: 246]
  ------------------
 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|    246|        } else {
 1073|    246|            auto new_tail = node_t::copy_leaf_e(e, node, new_tail_size);
 1074|    246|            if (Mutating)
  ------------------
  |  Branch (1074:17): [True: 246, Folded]
  ------------------
 1075|    246|                pos.visit(dec_visitor{});
 1076|    246|            return std::make_tuple(0, nullptr, new_tail_size, new_tail);
 1077|    246|        }
 1078|    679|    }
_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|    701|    {
 1378|    701|        auto node   = pos.node();
 1379|    701|        auto idx    = pos.index(first);
 1380|    701|        auto count  = pos.count();
 1381|    701|        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|    701|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 437, False: 264]
  ------------------
 1384|    701|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 437, False: 264]
  ------------------
 1385|    437|            auto data     = node->leaf();
 1386|    437|            auto newcount = count - idx;
 1387|    437|            std::move(data + idx, data + count, data);
 1388|    437|            detail::destroy_n(data + newcount, idx);
 1389|    437|            return std::make_tuple(0, node);
 1390|    437|        } 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|    701|    }
_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|  37.4k|    {
 1247|  37.4k|        auto idx                = pos.subindex(first);
 1248|  37.4k|        auto count              = pos.count();
 1249|  37.4k|        auto node               = pos.node();
 1250|  37.4k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 37.4k, Folded]
  |  Branch (1250:47): [True: 27.4k, False: 9.98k]
  ------------------
 1251|  37.4k|        auto left_size          = pos.size_before(idx);
 1252|  37.4k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  37.4k|        auto dropped_size       = first;
 1254|  37.4k|        auto child_dropped_size = dropped_size - left_size;
 1255|  37.4k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 37.4k, Folded]
  |  Branch (1255:25): [True: 35.9k, False: 1.50k]
  |  Branch (1255:45): [True: 8.37k, False: 27.5k]
  ------------------
 1256|  8.37k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 5.18k, False: 3.19k]
  ------------------
 1257|  8.37k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  8.37k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 5.18k, False: 3.19k]
  ------------------
 1259|  5.18k|                pos.visit(dec_left_visitor{}, idx);
 1260|  3.19k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [True: 3.19k, Folded]
  ------------------
 1261|  3.19k|                pos.visit(dec_visitor{});
 1262|  8.37k|            return r;
 1263|  29.0k|        } else {
 1264|  29.0k|            using std::get;
 1265|  29.0k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 22.3k, False: 6.78k]
  ------------------
 1266|  29.0k|                                   : node_t::make_inner_r_e(e);
 1267|  29.0k|            auto newr     = newn->relaxed();
 1268|  29.0k|            auto newcount = count - idx;
 1269|  29.0k|            auto new_child_size = child_size - child_dropped_size;
 1270|  29.0k|            IMMER_TRY {
  ------------------
  |  |   49|  29.0k|#define IMMER_TRY try
  ------------------
 1271|  29.0k|                auto subs =
 1272|  29.0k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 22.3k, False: 6.78k]
  ------------------
 1273|  29.0k|                           : pos.towards_sub_oh(
 1274|  6.78k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  29.0k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 22.3k, False: 6.78k]
  ------------------
 1276|  22.3k|                    pos.each_left(dec_visitor{}, idx);
 1277|  29.0k|                pos.copy_sizes(
 1278|  29.0k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  29.0k|                std::copy(node->inner() + idx + 1,
 1280|  29.0k|                          node->inner() + count,
 1281|  29.0k|                          newn->inner() + 1);
 1282|  29.0k|                newn->inner()[0] = get<1>(subs);
 1283|  29.0k|                newr->d.sizes[0] = new_child_size;
 1284|  29.0k|                newr->d.count    = newcount;
 1285|  29.0k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 29.0k, False: 0]
  ------------------
 1286|  29.0k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 6.78k, False: 22.3k]
  ------------------
 1287|  6.78k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  6.78k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 6.78k, Folded]
  ------------------
 1289|  6.78k|                        pos.visit(dec_visitor{});
 1290|  6.78k|                }
 1291|  29.0k|                return std::make_tuple(pos.shift(), newn);
 1292|  29.0k|            }
 1293|  29.0k|            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|  29.0k|        }
 1299|  37.4k|    }
_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.73k|    {
 1247|  2.73k|        auto idx                = pos.subindex(first);
 1248|  2.73k|        auto count              = pos.count();
 1249|  2.73k|        auto node               = pos.node();
 1250|  2.73k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 2.73k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  2.73k|        auto left_size          = pos.size_before(idx);
 1252|  2.73k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  2.73k|        auto dropped_size       = first;
 1254|  2.73k|        auto child_dropped_size = dropped_size - left_size;
 1255|  2.73k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [True: 2.73k, Folded]
  |  Branch (1255:25): [True: 1.52k, False: 1.20k]
  |  Branch (1255:45): [True: 1.06k, False: 464]
  ------------------
 1256|  1.06k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1256:22): [True: 0, False: 1.06k]
  ------------------
 1257|  1.06k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1258|  1.06k|            if (mutate)
  ------------------
  |  Branch (1258:17): [True: 0, False: 1.06k]
  ------------------
 1259|      0|                pos.visit(dec_left_visitor{}, idx);
 1260|  1.06k|            else if (Mutating)
  ------------------
  |  Branch (1260:22): [Folded, False: 1.06k]
  ------------------
 1261|      0|                pos.visit(dec_visitor{});
 1262|  1.06k|            return r;
 1263|  1.67k|        } else {
 1264|  1.67k|            using std::get;
 1265|  1.67k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 1.67k]
  ------------------
 1266|  1.67k|                                   : node_t::make_inner_r_e(e);
 1267|  1.67k|            auto newr     = newn->relaxed();
 1268|  1.67k|            auto newcount = count - idx;
 1269|  1.67k|            auto new_child_size = child_size - child_dropped_size;
 1270|  1.67k|            IMMER_TRY {
  ------------------
  |  |   49|  1.67k|#define IMMER_TRY try
  ------------------
 1271|  1.67k|                auto subs =
 1272|  1.67k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 1.67k]
  ------------------
 1273|  1.67k|                           : pos.towards_sub_oh(
 1274|  1.67k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  1.67k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 1.67k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  1.67k|                pos.copy_sizes(
 1278|  1.67k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  1.67k|                std::copy(node->inner() + idx + 1,
 1280|  1.67k|                          node->inner() + count,
 1281|  1.67k|                          newn->inner() + 1);
 1282|  1.67k|                newn->inner()[0] = get<1>(subs);
 1283|  1.67k|                newr->d.sizes[0] = new_child_size;
 1284|  1.67k|                newr->d.count    = newcount;
 1285|  1.67k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 1.67k, False: 0]
  ------------------
 1286|  1.67k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 1.67k, False: 0]
  ------------------
 1287|  1.67k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  1.67k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 1.67k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  1.67k|                }
 1291|  1.67k|                return std::make_tuple(pos.shift(), newn);
 1292|  1.67k|            }
 1293|  1.67k|            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.67k|        }
 1299|  2.73k|    }
_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.49k|    {
 1304|  2.49k|        auto idx    = pos.subindex(first);
 1305|  2.49k|        auto count  = pos.count();
 1306|  2.49k|        auto node   = pos.node();
 1307|  2.49k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.49k]
  ------------------
 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.49k|        auto left_size          = pos.size_before(idx);
 1313|  2.49k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.49k|        auto dropped_size       = first;
 1315|  2.49k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.49k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.49k, Folded]
  |  Branch (1316:25): [True: 1.29k, False: 1.19k]
  |  Branch (1316:45): [True: 974, False: 324]
  ------------------
 1317|    974|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 974]
  ------------------
 1318|    974|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|    974|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 974]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|    974|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 974]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|    974|            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|  2.49k|    }
_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.76k|    {
 1304|  2.76k|        auto idx    = pos.subindex(first);
 1305|  2.76k|        auto count  = pos.count();
 1306|  2.76k|        auto node   = pos.node();
 1307|  2.76k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 2.76k]
  ------------------
 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.76k|        auto left_size          = pos.size_before(idx);
 1313|  2.76k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.76k|        auto dropped_size       = first;
 1315|  2.76k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.76k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 2.76k, Folded]
  |  Branch (1316:25): [True: 543, False: 2.22k]
  |  Branch (1316:45): [True: 325, False: 218]
  ------------------
 1317|    325|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 0, False: 325]
  ------------------
 1318|    325|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|    325|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 0, False: 325]
  ------------------
 1320|      0|                pos.visit(dec_left_visitor{}, idx);
 1321|    325|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [Folded, False: 325]
  ------------------
 1322|      0|                pos.visit(dec_visitor{});
 1323|    325|            return r;
 1324|  2.44k|        } else {
 1325|  2.44k|            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.44k|            auto newcount = count - idx;
 1330|  2.44k|            auto newn =
 1331|  2.44k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 2.44k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  2.44k|                       : node_t::make_inner_r_e(e);
 1336|  2.44k|            auto newr = newn->relaxed();
 1337|  2.44k|            IMMER_TRY {
  ------------------
  |  |   49|  2.44k|#define IMMER_TRY try
  ------------------
 1338|  2.44k|                auto subs =
 1339|  2.44k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 2.44k]
  ------------------
 1340|  2.44k|                           : pos.towards_sub_oh(
 1341|  2.44k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.44k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 2.44k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.44k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.44k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.44k, False: 0]
  ------------------
 1346|  2.44k|                pos.copy_sizes(
 1347|  2.44k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.44k|                newr->d.count    = newcount;
 1349|  2.44k|                newn->inner()[0] = get<1>(subs);
 1350|  2.44k|                std::copy(node->inner() + idx + 1,
 1351|  2.44k|                          node->inner() + count,
 1352|  2.44k|                          newn->inner() + 1);
 1353|  2.44k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 2.44k, False: 0]
  ------------------
 1354|  2.44k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  2.44k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 2.44k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  2.44k|                }
 1358|  2.44k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.44k|            }
 1360|  2.44k|            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.44k|        }
 1373|  2.76k|    }
_ZN5immer6detail4rbts16dec_left_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEEEvOT_j:
 1209|    313|    {
 1210|    313|        using node_t = node_type<Pos>;
 1211|    313|        auto node    = p.node();
 1212|    313|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 313, False: 0]
  ------------------
 1213|    313|            p.each_left(dec_t{}, idx);
 1214|    313|            node_t::delete_inner(node, p.count());
 1215|    313|        }
 1216|    313|    }
_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.15k|    {
 1378|  3.15k|        auto node   = pos.node();
 1379|  3.15k|        auto idx    = pos.index(first);
 1380|  3.15k|        auto count  = pos.count();
 1381|  3.15k|        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.15k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 486, False: 2.66k]
  ------------------
 1384|  3.15k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 486, False: 2.66k]
  ------------------
 1385|    486|            auto data     = node->leaf();
 1386|    486|            auto newcount = count - idx;
 1387|    486|            std::move(data + idx, data + count, data);
 1388|    486|            detail::destroy_n(data + newcount, idx);
 1389|    486|            return std::make_tuple(0, node);
 1390|  2.66k|        } else {
 1391|  2.66k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  2.66k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 2.66k, Folded]
  ------------------
 1393|  2.66k|                pos.visit(dec_visitor{});
 1394|  2.66k|            return std::make_tuple(0, newn);
 1395|  2.66k|        }
 1396|  3.15k|    }
_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.01k|    {
 1304|  2.01k|        auto idx    = pos.subindex(first);
 1305|  2.01k|        auto count  = pos.count();
 1306|  2.01k|        auto node   = pos.node();
 1307|  2.01k|        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.01k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 805, False: 1.20k]
  ------------------
 1312|  2.01k|        auto left_size          = pos.size_before(idx);
 1313|  2.01k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  2.01k|        auto dropped_size       = first;
 1315|  2.01k|        auto child_dropped_size = dropped_size - left_size;
 1316|  2.01k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 2.01k]
  |  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.01k|        } else {
 1325|  2.01k|            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.01k|            auto newcount = count - idx;
 1330|  2.01k|            auto newn =
 1331|  2.01k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 805, False: 1.20k]
  ------------------
 1332|    805|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    805|                                                     norefs_tag{})) relaxed_t,
 1334|    805|                          node)
 1335|  2.01k|                       : node_t::make_inner_r_e(e);
 1336|  2.01k|            auto newr = newn->relaxed();
 1337|  2.01k|            IMMER_TRY {
  ------------------
  |  |   49|  2.01k|#define IMMER_TRY try
  ------------------
 1338|  2.01k|                auto subs =
 1339|  2.01k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 805, False: 1.20k]
  ------------------
 1340|  2.01k|                           : pos.towards_sub_oh(
 1341|  1.20k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  2.01k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 805, False: 1.20k]
  ------------------
 1343|    805|                    pos.each_left(dec_visitor{}, idx);
 1344|  2.01k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  2.01k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 2.01k, False: 0]
  ------------------
 1346|  2.01k|                pos.copy_sizes(
 1347|  2.01k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  2.01k|                newr->d.count    = newcount;
 1349|  2.01k|                newn->inner()[0] = get<1>(subs);
 1350|  2.01k|                std::copy(node->inner() + idx + 1,
 1351|  2.01k|                          node->inner() + count,
 1352|  2.01k|                          newn->inner() + 1);
 1353|  2.01k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.20k, False: 805]
  ------------------
 1354|  1.20k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.20k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.20k, Folded]
  ------------------
 1356|  1.20k|                        pos.visit(dec_visitor{});
 1357|  1.20k|                }
 1358|  2.01k|                return std::make_tuple(pos.shift(), newn);
 1359|  2.01k|            }
 1360|  2.01k|            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.01k|        }
 1373|  2.01k|    }
_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|  12.4k|    {
 1378|  12.4k|        auto node   = pos.node();
 1379|  12.4k|        auto idx    = pos.index(first);
 1380|  12.4k|        auto count  = pos.count();
 1381|  12.4k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 12.4k]
  ------------------
 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|  12.4k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 12.4k]
  ------------------
 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|  12.4k|        } else {
 1391|  12.4k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  12.4k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 12.4k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  12.4k|            return std::make_tuple(0, newn);
 1395|  12.4k|        }
 1396|  12.4k|    }
_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.27k|    {
 1304|  3.27k|        auto idx    = pos.subindex(first);
 1305|  3.27k|        auto count  = pos.count();
 1306|  3.27k|        auto node   = pos.node();
 1307|  3.27k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 3.27k]
  ------------------
 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.27k|        auto left_size          = pos.size_before(idx);
 1313|  3.27k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.27k|        auto dropped_size       = first;
 1315|  3.27k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.27k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 3.27k]
  |  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.27k|        } else {
 1325|  3.27k|            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.27k|            auto newcount = count - idx;
 1330|  3.27k|            auto newn =
 1331|  3.27k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 3.27k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  3.27k|                       : node_t::make_inner_r_e(e);
 1336|  3.27k|            auto newr = newn->relaxed();
 1337|  3.27k|            IMMER_TRY {
  ------------------
  |  |   49|  3.27k|#define IMMER_TRY try
  ------------------
 1338|  3.27k|                auto subs =
 1339|  3.27k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 3.27k]
  ------------------
 1340|  3.27k|                           : pos.towards_sub_oh(
 1341|  3.27k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.27k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 3.27k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.27k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.27k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.27k, False: 0]
  ------------------
 1346|  3.27k|                pos.copy_sizes(
 1347|  3.27k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.27k|                newr->d.count    = newcount;
 1349|  3.27k|                newn->inner()[0] = get<1>(subs);
 1350|  3.27k|                std::copy(node->inner() + idx + 1,
 1351|  3.27k|                          node->inner() + count,
 1352|  3.27k|                          newn->inner() + 1);
 1353|  3.27k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 3.27k, False: 0]
  ------------------
 1354|  3.27k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  3.27k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 3.27k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  3.27k|                }
 1358|  3.27k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.27k|            }
 1360|  3.27k|            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.27k|        }
 1373|  3.27k|    }
_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|  4.17k|    {
 1210|  4.17k|        using node_t = node_type<Pos>;
 1211|  4.17k|        auto node    = p.node();
 1212|  4.17k|        if (node->dec()) {
  ------------------
  |  Branch (1212:13): [True: 4.17k, False: 0]
  ------------------
 1213|  4.17k|            p.each_left(dec_t{}, idx);
 1214|  4.17k|            node_t::delete_inner(node, p.count());
 1215|  4.17k|        }
 1216|  4.17k|    }
_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|  11.1k|    {
 1378|  11.1k|        auto node   = pos.node();
 1379|  11.1k|        auto idx    = pos.index(first);
 1380|  11.1k|        auto count  = pos.count();
 1381|  11.1k|        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|  11.1k|                      node->can_mutate(e);
  ------------------
  |  Branch (1383:23): [True: 7.21k, False: 3.96k]
  ------------------
 1384|  11.1k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 7.21k, False: 3.96k]
  ------------------
 1385|  7.21k|            auto data     = node->leaf();
 1386|  7.21k|            auto newcount = count - idx;
 1387|  7.21k|            std::move(data + idx, data + count, data);
 1388|  7.21k|            detail::destroy_n(data + newcount, idx);
 1389|  7.21k|            return std::make_tuple(0, node);
 1390|  7.21k|        } else {
 1391|  3.96k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  3.96k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [True: 3.96k, Folded]
  ------------------
 1393|  3.96k|                pos.visit(dec_visitor{});
 1394|  3.96k|            return std::make_tuple(0, newn);
 1395|  3.96k|        }
 1396|  11.1k|    }
_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.40k|    {
 1304|  1.40k|        auto idx    = pos.subindex(first);
 1305|  1.40k|        auto count  = pos.count();
 1306|  1.40k|        auto node   = pos.node();
 1307|  1.40k|        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.40k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 415, False: 990]
  ------------------
 1312|  1.40k|        auto left_size          = pos.size_before(idx);
 1313|  1.40k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  1.40k|        auto dropped_size       = first;
 1315|  1.40k|        auto child_dropped_size = dropped_size - left_size;
 1316|  1.40k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 1.40k]
  |  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.40k|        } else {
 1325|  1.40k|            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.40k|            auto newcount = count - idx;
 1330|  1.40k|            auto newn =
 1331|  1.40k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 415, False: 990]
  ------------------
 1332|    415|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|    415|                                                     norefs_tag{})) relaxed_t,
 1334|    415|                          node)
 1335|  1.40k|                       : node_t::make_inner_r_e(e);
 1336|  1.40k|            auto newr = newn->relaxed();
 1337|  1.40k|            IMMER_TRY {
  ------------------
  |  |   49|  1.40k|#define IMMER_TRY try
  ------------------
 1338|  1.40k|                auto subs =
 1339|  1.40k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 415, False: 990]
  ------------------
 1340|  1.40k|                           : pos.towards_sub_oh(
 1341|    990|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.40k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 415, False: 990]
  ------------------
 1343|    415|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.40k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.40k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.40k, False: 0]
  ------------------
 1346|  1.40k|                pos.copy_sizes(
 1347|  1.40k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.40k|                newr->d.count    = newcount;
 1349|  1.40k|                newn->inner()[0] = get<1>(subs);
 1350|  1.40k|                std::copy(node->inner() + idx + 1,
 1351|  1.40k|                          node->inner() + count,
 1352|  1.40k|                          newn->inner() + 1);
 1353|  1.40k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 990, False: 415]
  ------------------
 1354|    990|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    990|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 990, Folded]
  ------------------
 1356|    990|                        pos.visit(dec_visitor{});
 1357|    990|                }
 1358|  1.40k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.40k|            }
 1360|  1.40k|            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.40k|        }
 1373|  1.40k|    }
_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.6k|    {
 1378|  13.6k|        auto node   = pos.node();
 1379|  13.6k|        auto idx    = pos.index(first);
 1380|  13.6k|        auto count  = pos.count();
 1381|  13.6k|        auto mutate = Mutating &&
  ------------------
  |  Branch (1381:23): [Folded, False: 13.6k]
  ------------------
 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.6k|        if (mutate) {
  ------------------
  |  Branch (1384:13): [True: 0, False: 13.6k]
  ------------------
 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.6k|        } else {
 1391|  13.6k|            auto newn = node_t::copy_leaf_e(e, node, idx, count);
 1392|  13.6k|            if (Mutating)
  ------------------
  |  Branch (1392:17): [Folded, False: 13.6k]
  ------------------
 1393|      0|                pos.visit(dec_visitor{});
 1394|  13.6k|            return std::make_tuple(0, newn);
 1395|  13.6k|        }
 1396|  13.6k|    }
_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|  4.52k|    {
 1304|  4.52k|        auto idx    = pos.subindex(first);
 1305|  4.52k|        auto count  = pos.count();
 1306|  4.52k|        auto node   = pos.node();
 1307|  4.52k|        auto mutate = Mutating
  ------------------
  |  Branch (1307:23): [Folded, False: 4.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|  4.52k|        auto left_size          = pos.size_before(idx);
 1313|  4.52k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  4.52k|        auto dropped_size       = first;
 1315|  4.52k|        auto child_dropped_size = dropped_size - left_size;
 1316|  4.52k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [Folded, False: 4.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|  4.52k|        } else {
 1325|  4.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|  4.52k|            auto newcount = count - idx;
 1330|  4.52k|            auto newn =
 1331|  4.52k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 0, False: 4.52k]
  ------------------
 1332|      0|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|      0|                                                     norefs_tag{})) relaxed_t,
 1334|      0|                          node)
 1335|  4.52k|                       : node_t::make_inner_r_e(e);
 1336|  4.52k|            auto newr = newn->relaxed();
 1337|  4.52k|            IMMER_TRY {
  ------------------
  |  |   49|  4.52k|#define IMMER_TRY try
  ------------------
 1338|  4.52k|                auto subs =
 1339|  4.52k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 0, False: 4.52k]
  ------------------
 1340|  4.52k|                           : pos.towards_sub_oh(
 1341|  4.52k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  4.52k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 0, False: 4.52k]
  ------------------
 1343|      0|                    pos.each_left(dec_visitor{}, idx);
 1344|  4.52k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  4.52k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 4.52k, False: 0]
  ------------------
 1346|  4.52k|                pos.copy_sizes(
 1347|  4.52k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  4.52k|                newr->d.count    = newcount;
 1349|  4.52k|                newn->inner()[0] = get<1>(subs);
 1350|  4.52k|                std::copy(node->inner() + idx + 1,
 1351|  4.52k|                          node->inner() + count,
 1352|  4.52k|                          newn->inner() + 1);
 1353|  4.52k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 4.52k, False: 0]
  ------------------
 1354|  4.52k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  4.52k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [Folded, False: 4.52k]
  ------------------
 1356|      0|                        pos.visit(dec_visitor{});
 1357|  4.52k|                }
 1358|  4.52k|                return std::make_tuple(pos.shift(), newn);
 1359|  4.52k|            }
 1360|  4.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|  4.52k|        }
 1373|  4.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|  5.18k|    {
 1199|  5.18k|        using node_t = node_type<Pos>;
 1200|  5.18k|        auto node    = p.node();
 1201|  5.18k|        if (node->dec()) {
  ------------------
  |  Branch (1201:13): [True: 5.18k, False: 0]
  ------------------
 1202|  5.18k|            p.each_left(dec_t{}, idx);
 1203|  5.18k|            node_t::delete_inner_r(node, p.count());
 1204|  5.18k|        }
 1205|  5.18k|    }
_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|   166k|    {
 1247|   166k|        auto idx                = pos.subindex(first);
 1248|   166k|        auto count              = pos.count();
 1249|   166k|        auto node               = pos.node();
 1250|   166k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [True: 166k, Folded]
  |  Branch (1250:47): [True: 156k, False: 9.71k]
  ------------------
 1251|   166k|        auto left_size          = pos.size_before(idx);
 1252|   166k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|   166k|        auto dropped_size       = first;
 1254|   166k|        auto child_dropped_size = dropped_size - left_size;
 1255|   166k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 166k]
  |  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|   166k|        } else {
 1264|   166k|            using std::get;
 1265|   166k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 156k, False: 9.71k]
  ------------------
 1266|   166k|                                   : node_t::make_inner_r_e(e);
 1267|   166k|            auto newr     = newn->relaxed();
 1268|   166k|            auto newcount = count - idx;
 1269|   166k|            auto new_child_size = child_size - child_dropped_size;
 1270|   166k|            IMMER_TRY {
  ------------------
  |  |   49|   166k|#define IMMER_TRY try
  ------------------
 1271|   166k|                auto subs =
 1272|   166k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 156k, False: 9.71k]
  ------------------
 1273|   166k|                           : pos.towards_sub_oh(
 1274|  9.71k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|   166k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 156k, False: 9.71k]
  ------------------
 1276|   156k|                    pos.each_left(dec_visitor{}, idx);
 1277|   166k|                pos.copy_sizes(
 1278|   166k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|   166k|                std::copy(node->inner() + idx + 1,
 1280|   166k|                          node->inner() + count,
 1281|   166k|                          newn->inner() + 1);
 1282|   166k|                newn->inner()[0] = get<1>(subs);
 1283|   166k|                newr->d.sizes[0] = new_child_size;
 1284|   166k|                newr->d.count    = newcount;
 1285|   166k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 166k, False: 0]
  ------------------
 1286|   166k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 9.71k, False: 156k]
  ------------------
 1287|  9.71k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  9.71k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [True: 9.71k, Folded]
  ------------------
 1289|  9.71k|                        pos.visit(dec_visitor{});
 1290|  9.71k|                }
 1291|   166k|                return std::make_tuple(pos.shift(), newn);
 1292|   166k|            }
 1293|   166k|            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|   166k|        }
 1299|   166k|    }
_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|  55.9k|    {
 1247|  55.9k|        auto idx                = pos.subindex(first);
 1248|  55.9k|        auto count              = pos.count();
 1249|  55.9k|        auto node               = pos.node();
 1250|  55.9k|        auto mutate             = Mutating && node->can_mutate(e);
  ------------------
  |  Branch (1250:35): [Folded, False: 55.9k]
  |  Branch (1250:47): [True: 0, False: 0]
  ------------------
 1251|  55.9k|        auto left_size          = pos.size_before(idx);
 1252|  55.9k|        auto child_size         = pos.size_sbh(idx, left_size);
 1253|  55.9k|        auto dropped_size       = first;
 1254|  55.9k|        auto child_dropped_size = dropped_size - left_size;
 1255|  55.9k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1255:13): [Folded, False: 55.9k]
  |  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|  55.9k|        } else {
 1264|  55.9k|            using std::get;
 1265|  55.9k|            auto newn     = mutate ? (node->ensure_mutable_relaxed(e), node)
  ------------------
  |  Branch (1265:29): [True: 0, False: 55.9k]
  ------------------
 1266|  55.9k|                                   : node_t::make_inner_r_e(e);
 1267|  55.9k|            auto newr     = newn->relaxed();
 1268|  55.9k|            auto newcount = count - idx;
 1269|  55.9k|            auto new_child_size = child_size - child_dropped_size;
 1270|  55.9k|            IMMER_TRY {
  ------------------
  |  |   49|  55.9k|#define IMMER_TRY try
  ------------------
 1271|  55.9k|                auto subs =
 1272|  55.9k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1272:21): [True: 0, False: 55.9k]
  ------------------
 1273|  55.9k|                           : pos.towards_sub_oh(
 1274|  55.9k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1275|  55.9k|                if (mutate)
  ------------------
  |  Branch (1275:21): [True: 0, False: 55.9k]
  ------------------
 1276|      0|                    pos.each_left(dec_visitor{}, idx);
 1277|  55.9k|                pos.copy_sizes(
 1278|  55.9k|                    idx + 1, newcount - 1, new_child_size, newr->d.sizes + 1);
 1279|  55.9k|                std::copy(node->inner() + idx + 1,
 1280|  55.9k|                          node->inner() + count,
 1281|  55.9k|                          newn->inner() + 1);
 1282|  55.9k|                newn->inner()[0] = get<1>(subs);
 1283|  55.9k|                newr->d.sizes[0] = new_child_size;
 1284|  55.9k|                newr->d.count    = newcount;
 1285|  55.9k|                assert(new_child_size);
  ------------------
  |  Branch (1285:17): [True: 55.9k, False: 0]
  ------------------
 1286|  55.9k|                if (!mutate) {
  ------------------
  |  Branch (1286:21): [True: 55.9k, False: 0]
  ------------------
 1287|  55.9k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1288|  55.9k|                    if (Mutating)
  ------------------
  |  Branch (1288:25): [Folded, False: 55.9k]
  ------------------
 1289|      0|                        pos.visit(dec_visitor{});
 1290|  55.9k|                }
 1291|  55.9k|                return std::make_tuple(pos.shift(), newn);
 1292|  55.9k|            }
 1293|  55.9k|            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|  55.9k|        }
 1299|  55.9k|    }
_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.21k|    {
 1304|  9.21k|        auto idx    = pos.subindex(first);
 1305|  9.21k|        auto count  = pos.count();
 1306|  9.21k|        auto node   = pos.node();
 1307|  9.21k|        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.21k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 7.03k, False: 2.17k]
  ------------------
 1312|  9.21k|        auto left_size          = pos.size_before(idx);
 1313|  9.21k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  9.21k|        auto dropped_size       = first;
 1315|  9.21k|        auto child_dropped_size = dropped_size - left_size;
 1316|  9.21k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 9.21k, Folded]
  |  Branch (1316:25): [True: 6.92k, False: 2.29k]
  |  Branch (1316:45): [True: 5.22k, False: 1.69k]
  ------------------
 1317|  5.22k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 4.17k, False: 1.04k]
  ------------------
 1318|  5.22k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  5.22k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 4.17k, False: 1.04k]
  ------------------
 1320|  4.17k|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.04k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.04k, Folded]
  ------------------
 1322|  1.04k|                pos.visit(dec_visitor{});
 1323|  5.22k|            return r;
 1324|  5.22k|        } else {
 1325|  3.98k|            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.98k|            auto newcount = count - idx;
 1330|  3.98k|            auto newn =
 1331|  3.98k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 2.85k, False: 1.13k]
  ------------------
 1332|  2.85k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  2.85k|                                                     norefs_tag{})) relaxed_t,
 1334|  2.85k|                          node)
 1335|  3.98k|                       : node_t::make_inner_r_e(e);
 1336|  3.98k|            auto newr = newn->relaxed();
 1337|  3.98k|            IMMER_TRY {
  ------------------
  |  |   49|  3.98k|#define IMMER_TRY try
  ------------------
 1338|  3.98k|                auto subs =
 1339|  3.98k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 2.85k, False: 1.13k]
  ------------------
 1340|  3.98k|                           : pos.towards_sub_oh(
 1341|  1.13k|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  3.98k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 2.85k, False: 1.13k]
  ------------------
 1343|  2.85k|                    pos.each_left(dec_visitor{}, idx);
 1344|  3.98k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  3.98k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 3.98k, False: 0]
  ------------------
 1346|  3.98k|                pos.copy_sizes(
 1347|  3.98k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  3.98k|                newr->d.count    = newcount;
 1349|  3.98k|                newn->inner()[0] = get<1>(subs);
 1350|  3.98k|                std::copy(node->inner() + idx + 1,
 1351|  3.98k|                          node->inner() + count,
 1352|  3.98k|                          newn->inner() + 1);
 1353|  3.98k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 1.13k, False: 2.85k]
  ------------------
 1354|  1.13k|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|  1.13k|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 1.13k, Folded]
  ------------------
 1356|  1.13k|                        pos.visit(dec_visitor{});
 1357|  1.13k|                }
 1358|  3.98k|                return std::make_tuple(pos.shift(), newn);
 1359|  3.98k|            }
 1360|  3.98k|            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.98k|        }
 1373|  9.21k|    }
_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.42k|    {
 1304|  3.42k|        auto idx    = pos.subindex(first);
 1305|  3.42k|        auto count  = pos.count();
 1306|  3.42k|        auto node   = pos.node();
 1307|  3.42k|        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.42k|                      && !node_t::embed_relaxed && node->can_mutate(e);
  ------------------
  |  Branch (1311:26): [True: 0, Folded]
  |  Branch (1311:52): [True: 1.40k, False: 2.01k]
  ------------------
 1312|  3.42k|        auto left_size          = pos.size_before(idx);
 1313|  3.42k|        auto child_size         = pos.size_sbh(idx, left_size);
 1314|  3.42k|        auto dropped_size       = first;
 1315|  3.42k|        auto child_dropped_size = dropped_size - left_size;
 1316|  3.42k|        if (Collapse && pos.shift() > BL && idx == pos.count() - 1) {
  ------------------
  |  Branch (1316:13): [True: 3.42k, Folded]
  |  Branch (1316:25): [True: 1.92k, False: 1.50k]
  |  Branch (1316:45): [True: 1.70k, False: 215]
  ------------------
 1317|  1.70k|            auto r = mutate ? pos.towards_sub_oh(this_t{}, first, idx, e)
  ------------------
  |  Branch (1317:22): [True: 313, False: 1.39k]
  ------------------
 1318|  1.70k|                            : pos.towards_sub_oh(no_mut_t{}, first, idx, e);
 1319|  1.70k|            if (mutate)
  ------------------
  |  Branch (1319:17): [True: 313, False: 1.39k]
  ------------------
 1320|    313|                pos.visit(dec_left_visitor{}, idx);
 1321|  1.39k|            else if (Mutating)
  ------------------
  |  Branch (1321:22): [True: 1.39k, Folded]
  ------------------
 1322|  1.39k|                pos.visit(dec_visitor{});
 1323|  1.70k|            return r;
 1324|  1.71k|        } else {
 1325|  1.71k|            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.71k|            auto newcount = count - idx;
 1330|  1.71k|            auto newn =
 1331|  1.71k|                mutate ? (node->impl.d.data.inner.relaxed = new (
  ------------------
  |  Branch (1331:17): [True: 1.09k, False: 624]
  ------------------
 1332|  1.09k|                              node_t::heap::allocate(node_t::max_sizeof_relaxed,
 1333|  1.09k|                                                     norefs_tag{})) relaxed_t,
 1334|  1.09k|                          node)
 1335|  1.71k|                       : node_t::make_inner_r_e(e);
 1336|  1.71k|            auto newr = newn->relaxed();
 1337|  1.71k|            IMMER_TRY {
  ------------------
  |  |   49|  1.71k|#define IMMER_TRY try
  ------------------
 1338|  1.71k|                auto subs =
 1339|  1.71k|                    mutate ? pos.towards_sub_oh(no_collapse_t{}, first, idx, e)
  ------------------
  |  Branch (1339:21): [True: 1.09k, False: 624]
  ------------------
 1340|  1.71k|                           : pos.towards_sub_oh(
 1341|    624|                                 no_collapse_no_mut_t{}, first, idx, e);
 1342|  1.71k|                if (mutate)
  ------------------
  |  Branch (1342:21): [True: 1.09k, False: 624]
  ------------------
 1343|  1.09k|                    pos.each_left(dec_visitor{}, idx);
 1344|  1.71k|                newr->d.sizes[0] = child_size - child_dropped_size;
 1345|  1.71k|                assert(newr->d.sizes[0]);
  ------------------
  |  Branch (1345:17): [True: 1.71k, False: 0]
  ------------------
 1346|  1.71k|                pos.copy_sizes(
 1347|  1.71k|                    idx + 1, newcount - 1, newr->d.sizes[0], newr->d.sizes + 1);
 1348|  1.71k|                newr->d.count    = newcount;
 1349|  1.71k|                newn->inner()[0] = get<1>(subs);
 1350|  1.71k|                std::copy(node->inner() + idx + 1,
 1351|  1.71k|                          node->inner() + count,
 1352|  1.71k|                          newn->inner() + 1);
 1353|  1.71k|                if (!mutate) {
  ------------------
  |  Branch (1353:21): [True: 624, False: 1.09k]
  ------------------
 1354|    624|                    node_t::inc_nodes(newn->inner() + 1, newcount - 1);
 1355|    624|                    if (Mutating)
  ------------------
  |  Branch (1355:25): [True: 624, Folded]
  ------------------
 1356|    624|                        pos.visit(dec_visitor{});
 1357|    624|                }
 1358|  1.71k|                return std::make_tuple(pos.shift(), newn);
 1359|  1.71k|            }
 1360|  1.71k|            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.71k|        }
 1373|  3.42k|    }
_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|  11.5k|        {
  350|  11.5k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 11.5k, False: 0]
  ------------------
  351|  11.5k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 10.4k, False: 1.09k]
  ------------------
  352|  11.5k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  10.4k|                                                 shiftl,
  354|  10.4k|                                                 sizel,
  355|  10.4k|                                                 this_t{},
  356|  10.4k|                                                 posr,
  357|  10.4k|                                                 first,
  358|  10.4k|                                                 size_t{})
  359|  11.5k|                       : posr.first_sub_inner(
  360|  1.09k|                             rrb{}, first, rootl, shiftl, sizel);
  361|  11.5k|        }
_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|  27.6k|    {
  383|  27.6k|        auto nl = posl.node();
  384|  27.6k|        auto nr = posr.node();
  385|  27.6k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 8.17k, False: 19.5k]
  ------------------
  386|  8.17k|            return true;
  387|  19.5k|        auto cl = posl.count();
  388|  19.5k|        auto cr = posr.count();
  389|  19.5k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 19.5k, False: 0]
  ------------------
  390|  19.5k|        auto sbr = size_t{};
  391|  19.5k|        auto i   = count_t{};
  392|  19.5k|        auto j   = count_t{};
  393|  62.5k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 51.3k, False: 11.2k]
  ------------------
  394|  51.3k|            auto sbl = posl.size_before(i);
  395|  81.5k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 65.1k, False: 16.4k]
  |  Branch (395:34): [True: 30.1k, False: 34.9k]
  ------------------
  396|  30.1k|                ;
  397|  51.3k|            auto res =
  398|  51.3k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 31.2k, False: 20.0k]
  ------------------
  399|  51.3k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  51.3k|                    : posl.nth_sub(i,
  401|  20.0k|                                   for_each_chunk_p_visitor{},
  402|  20.0k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  51.3k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 8.30k, False: 43.0k]
  ------------------
  404|  8.30k|                return false;
  405|  51.3k|        }
  406|  11.2k|        return true;
  407|  19.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|  8.74k|        {
  337|  8.74k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  8.74k|        }
_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|  9.42k|    {
  428|  9.42k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 4.43k, False: 4.98k]
  ------------------
  429|  4.43k|            return true;
  430|  4.98k|        auto cl = posl.count();
  431|  4.98k|        auto cr = posr.count();
  432|  4.98k|        auto mp = std::min(cl, cr);
  433|  4.98k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 3.59k, False: 1.39k]
  ------------------
  434|  4.98k|                          posl.node()->leaf() + mp,
  435|  4.98k|                          posr.node()->leaf()) &&
  436|  3.59k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 3.21k, False: 373]
  ------------------
  437|  3.59k|                          posl.node()->leaf() + posl.count(),
  438|  3.59k|                          first + (idx + mp));
  439|  9.42k|    }
_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|  20.3k|        {
  330|  20.3k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  20.3k|        }
_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.64k|    {
  413|  4.64k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  4.64k|    }
_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.64k|    {
  383|  4.64k|        auto nl = posl.node();
  384|  4.64k|        auto nr = posr.node();
  385|  4.64k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 4.64k]
  ------------------
  386|      0|            return true;
  387|  4.64k|        auto cl = posl.count();
  388|  4.64k|        auto cr = posr.count();
  389|  4.64k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 4.64k, False: 0]
  ------------------
  390|  4.64k|        auto sbr = size_t{};
  391|  4.64k|        auto i   = count_t{};
  392|  4.64k|        auto j   = count_t{};
  393|  13.3k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 11.1k, False: 2.19k]
  ------------------
  394|  11.1k|            auto sbl = posl.size_before(i);
  395|  17.2k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 12.7k, False: 4.48k]
  |  Branch (395:34): [True: 6.15k, False: 6.63k]
  ------------------
  396|  6.15k|                ;
  397|  11.1k|            auto res =
  398|  11.1k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 6.75k, False: 4.36k]
  ------------------
  399|  11.1k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  11.1k|                    : posl.nth_sub(i,
  401|  4.36k|                                   for_each_chunk_p_visitor{},
  402|  4.36k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  11.1k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 2.45k, False: 8.66k]
  ------------------
  404|  2.45k|                return false;
  405|  11.1k|        }
  406|  2.19k|        return true;
  407|  4.64k|    }
_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|  3.77k|        {
  337|  3.77k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.77k|        }
_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|  6.84k|    {
  428|  6.84k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 3.95k, False: 2.88k]
  ------------------
  429|  3.95k|            return true;
  430|  2.88k|        auto cl = posl.count();
  431|  2.88k|        auto cr = posr.count();
  432|  2.88k|        auto mp = std::min(cl, cr);
  433|  2.88k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 2.65k, False: 229]
  ------------------
  434|  2.88k|                          posl.node()->leaf() + mp,
  435|  2.88k|                          posr.node()->leaf()) &&
  436|  2.65k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 2.42k, False: 230]
  ------------------
  437|  2.65k|                          posl.node()->leaf() + posl.count(),
  438|  2.65k|                          first + (idx + mp));
  439|  6.84k|    }
_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.23k|        {
  330|  2.23k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.23k|        }
_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.66k|    {
  413|  2.66k|        return this_t::visit_relaxed(posl, posr, first, idx);
  414|  2.66k|    }
_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.66k|    {
  383|  2.66k|        auto nl = posl.node();
  384|  2.66k|        auto nr = posr.node();
  385|  2.66k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.66k]
  ------------------
  386|      0|            return true;
  387|  2.66k|        auto cl = posl.count();
  388|  2.66k|        auto cr = posr.count();
  389|  2.66k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.66k, False: 0]
  ------------------
  390|  2.66k|        auto sbr = size_t{};
  391|  2.66k|        auto i   = count_t{};
  392|  2.66k|        auto j   = count_t{};
  393|  12.4k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 10.1k, False: 2.34k]
  ------------------
  394|  10.1k|            auto sbl = posl.size_before(i);
  395|  17.3k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 13.3k, False: 3.99k]
  |  Branch (395:34): [True: 7.18k, False: 6.15k]
  ------------------
  396|  7.18k|                ;
  397|  10.1k|            auto res =
  398|  10.1k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 5.67k, False: 4.47k]
  ------------------
  399|  10.1k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  10.1k|                    : posl.nth_sub(i,
  401|  4.47k|                                   for_each_chunk_p_visitor{},
  402|  4.47k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  10.1k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 324, False: 9.83k]
  ------------------
  404|    324|                return false;
  405|  10.1k|        }
  406|  2.34k|        return true;
  407|  2.66k|    }
_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.74k|        {
  337|  3.74k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  3.74k|        }
_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|    830|        {
  330|    830|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    830|        }
_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|  1.09k|        {
  330|  1.09k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  1.09k|        }
_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.84k|    {
  420|  1.84k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.84k, False: 0]
  ------------------
  421|  1.84k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.84k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.84k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  10.2k|    {
  444|  10.2k|        auto node = pos.node();
  445|  10.2k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 6.70k, False: 3.56k]
  |  Branch (445:33): [True: 1.89k, False: 1.67k]
  ------------------
  446|  10.2k|    }
_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|  13.3k|    {
  451|  13.3k|        auto node = pos.node();
  452|  13.3k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 8.11k, False: 5.24k]
  |  Branch (452:33): [True: 3.36k, False: 1.88k]
  ------------------
  453|  5.24k|                                           node->leaf() + pos.count(),
  454|  5.24k|                                           other->leaf());
  455|  13.3k|    }
_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.71k|    {
  444|  7.71k|        auto node = pos.node();
  445|  7.71k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 2.60k, False: 5.11k]
  |  Branch (445:33): [True: 2.77k, False: 2.33k]
  ------------------
  446|  7.71k|    }
_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.98k|    {
  451|  2.98k|        auto node = pos.node();
  452|  2.98k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 1.52k, False: 1.45k]
  |  Branch (452:33): [True: 775, False: 683]
  ------------------
  453|  1.45k|                                           node->leaf() + pos.count(),
  454|  1.45k|                                           other->leaf());
  455|  2.98k|    }
_ZN5immer6detail4rbts14equals_visitor13visit_regularIRNS1_11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEESE_EEbOT_PT0_:
  443|  4.00k|    {
  444|  4.00k|        auto node = pos.node();
  445|  4.00k|        return node == other || pos.each_pred_zip(this_t{}, other);
  ------------------
  |  Branch (445:16): [True: 473, False: 3.52k]
  |  Branch (445:33): [True: 2.34k, False: 1.18k]
  ------------------
  446|  4.00k|    }
_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|   357k|    {
  113|   357k|        auto data = as_const(pos.node()->leaf());
  114|   357k|        return fn(data, data + pos.count());
  115|   357k|    }
_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.33M|        return [iter](auto f, auto e) mutable {
  368|  1.33M|            if (f == &*iter) {
  ------------------
  |  Branch (368:17): [True: 163k, False: 1.17M]
  ------------------
  369|   163k|                iter += e - f;
  370|   163k|                return true;
  371|   163k|            }
  372|  5.40M|            for (; f != e; ++f, ++iter)
  ------------------
  |  Branch (372:20): [True: 4.23M, False: 1.17M]
  ------------------
  373|  4.23M|                if (*f != *iter)
  ------------------
  |  Branch (373:21): [True: 3.15k, False: 4.23M]
  ------------------
  374|  3.15k|                    return false;
  375|  1.17M|            return true;
  376|  1.17M|        };
_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|  9.11M|    {
   54|  9.11M|        return pos.towards(this_t{}, idx);
   55|  9.11M|    }
_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|   979k|    {
   60|   979k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   979k|    }
_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|   384k|    {
   54|   384k|        return pos.towards(this_t{}, idx);
   55|   384k|    }
_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|   360k|    {
   60|   360k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|   360k|    }
_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.05M|    {
   54|  1.05M|        return pos.towards(this_t{}, idx);
   55|  1.05M|    }
_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|  24.0k|    {
   60|  24.0k|        return std::make_tuple(pos.node()->leaf(), pos.index(idx), pos.count());
   61|  24.0k|    }
_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|   114k|    {
   54|   114k|        return pos.towards(this_t{}, idx);
   55|   114k|    }
_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|  96.6k|    {
  107|  96.6k|        return pos.each_pred(this_t{}, fn);
  108|  96.6k|    }
_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|    746|        {
  330|    746|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|    746|        }
_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.39k|    {
  420|  6.39k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 6.39k, False: 0]
  ------------------
  421|  6.39k|                   ? this_t::visit_regular(posl, posr.node())
  422|  6.39k|                   : this_t::visit_regular(posr, posl.node());
  423|  6.39k|    }
_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|   962k|    {
  113|   962k|        auto data = as_const(pos.node()->leaf());
  114|   962k|        return fn(data, data + pos.count());
  115|   962k|    }
_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|  20.4k|    {
  107|  20.4k|        return pos.each_pred(this_t{}, fn);
  108|  20.4k|    }
_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|  19.1k|    {
  113|  19.1k|        auto data = as_const(pos.node()->leaf());
  114|  19.1k|        return fn(data, data + pos.count());
  115|  19.1k|    }
_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|  6.51k|    {
  107|  6.51k|        return pos.each_pred(this_t{}, fn);
  108|  6.51k|    }
_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.49k|        {
  330|  2.49k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  2.49k|        }
_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.62k|    {
  383|  2.62k|        auto nl = posl.node();
  384|  2.62k|        auto nr = posr.node();
  385|  2.62k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 2.62k]
  ------------------
  386|      0|            return true;
  387|  2.62k|        auto cl = posl.count();
  388|  2.62k|        auto cr = posr.count();
  389|  2.62k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 2.62k, False: 0]
  ------------------
  390|  2.62k|        auto sbr = size_t{};
  391|  2.62k|        auto i   = count_t{};
  392|  2.62k|        auto j   = count_t{};
  393|  9.10k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 7.26k, False: 1.84k]
  ------------------
  394|  7.26k|            auto sbl = posl.size_before(i);
  395|  11.4k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 9.13k, False: 2.29k]
  |  Branch (395:34): [True: 4.17k, False: 4.96k]
  ------------------
  396|  4.17k|                ;
  397|  7.26k|            auto res =
  398|  7.26k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.66k, False: 2.59k]
  ------------------
  399|  7.26k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  7.26k|                    : posl.nth_sub(i,
  401|  2.59k|                                   for_each_chunk_p_visitor{},
  402|  2.59k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  7.26k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 780, False: 6.48k]
  ------------------
  404|    780|                return false;
  405|  7.26k|        }
  406|  1.84k|        return true;
  407|  2.62k|    }
_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.71k|        {
  337|  5.71k|            return posl.nth_sub_leaf(i, this_t{}, posr, first, idx);
  338|  5.71k|        }
_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.71k|    {
  428|  5.71k|        if (posl.node() == posr.node())
  ------------------
  |  Branch (428:13): [True: 3.52k, False: 2.19k]
  ------------------
  429|  3.52k|            return true;
  430|  2.19k|        auto cl = posl.count();
  431|  2.19k|        auto cr = posr.count();
  432|  2.19k|        auto mp = std::min(cl, cr);
  433|  2.19k|        return std::equal(posl.node()->leaf(),
  ------------------
  |  Branch (433:16): [True: 1.80k, False: 395]
  ------------------
  434|  2.19k|                          posl.node()->leaf() + mp,
  435|  2.19k|                          posr.node()->leaf()) &&
  436|  1.80k|               std::equal(posl.node()->leaf() + mp,
  ------------------
  |  Branch (436:16): [True: 1.80k, False: 0]
  ------------------
  437|  1.80k|                          posl.node()->leaf() + posl.count(),
  438|  1.80k|                          first + (idx + mp));
  439|  5.71k|    }
_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.31k|        {
  330|  3.31k|            return posl.nth_sub(i, this_t{}, posr, first, idx);
  331|  3.31k|        }
_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|  1.98k|    {
  383|  1.98k|        auto nl = posl.node();
  384|  1.98k|        auto nr = posr.node();
  385|  1.98k|        if (nl == nr)
  ------------------
  |  Branch (385:13): [True: 0, False: 1.98k]
  ------------------
  386|      0|            return true;
  387|  1.98k|        auto cl = posl.count();
  388|  1.98k|        auto cr = posr.count();
  389|  1.98k|        assert(cr > 0);
  ------------------
  |  Branch (389:9): [True: 1.98k, False: 0]
  ------------------
  390|  1.98k|        auto sbr = size_t{};
  391|  1.98k|        auto i   = count_t{};
  392|  1.98k|        auto j   = count_t{};
  393|  9.12k|        for (; i < cl; ++i) {
  ------------------
  |  Branch (393:16): [True: 7.44k, False: 1.68k]
  ------------------
  394|  7.44k|            auto sbl = posl.size_before(i);
  395|  12.8k|            for (; j + 1 < cr && (sbr = posr.size_before(j)) < sbl; ++j)
  ------------------
  |  Branch (395:20): [True: 11.2k, False: 1.63k]
  |  Branch (395:34): [True: 5.39k, False: 5.80k]
  ------------------
  396|  5.39k|                ;
  397|  7.44k|            auto res =
  398|  7.44k|                sbl == sbr
  ------------------
  |  Branch (398:17): [True: 4.71k, False: 2.73k]
  ------------------
  399|  7.44k|                    ? posr.nth_sub(j, this_aux_t{}, i, posl, first, idx + sbl)
  400|  7.44k|                    : posl.nth_sub(i,
  401|  2.73k|                                   for_each_chunk_p_visitor{},
  402|  2.73k|                                   this_t::equal_chunk_p(first + (idx + sbl)));
  403|  7.44k|            if (!res)
  ------------------
  |  Branch (403:17): [True: 308, False: 7.13k]
  ------------------
  404|    308|                return false;
  405|  7.44k|        }
  406|  1.68k|        return true;
  407|  1.98k|    }
_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.32k|    {
  420|  1.32k|        return posl.count() >= posr.count()
  ------------------
  |  Branch (420:16): [True: 1.32k, False: 0]
  ------------------
  421|  1.32k|                   ? this_t::visit_regular(posl, posr.node())
  422|  1.32k|                   : this_t::visit_regular(posr, posl.node());
  423|  1.32k|    }
_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|   572k|    {
  107|   572k|        return pos.each_pred(this_t{}, fn);
  108|   572k|    }
_ZN5immer6detail4rbts14equals_visitor13equal_chunk_pINS1_16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaOT_:
  366|  34.2k|    {
  367|  34.2k|        return [iter](auto f, auto e) mutable {
  368|  34.2k|            if (f == &*iter) {
  369|  34.2k|                iter += e - f;
  370|  34.2k|                return true;
  371|  34.2k|            }
  372|  34.2k|            for (; f != e; ++f, ++iter)
  373|  34.2k|                if (*f != *iter)
  374|  34.2k|                    return false;
  375|  34.2k|            return true;
  376|  34.2k|        };
  377|  34.2k|    }
_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.44k|        {
  350|  1.44k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 1.44k, False: 0]
  ------------------
  351|  1.44k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 1.09k, False: 351]
  ------------------
  352|  1.44k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  1.09k|                                                 shiftl,
  354|  1.09k|                                                 sizel,
  355|  1.09k|                                                 this_t{},
  356|  1.09k|                                                 posr,
  357|  1.09k|                                                 first,
  358|  1.09k|                                                 size_t{})
  359|  1.44k|                       : posr.first_sub_inner(
  360|    351|                             rrb{}, first, rootl, shiftl, sizel);
  361|  1.44k|        }
_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.51k|        {
  350|  6.51k|            assert(shiftl <= posr.shift());
  ------------------
  |  Branch (350:13): [True: 6.51k, False: 0]
  ------------------
  351|  6.51k|            return shiftl == posr.shift()
  ------------------
  |  Branch (351:20): [True: 6.51k, False: 0]
  ------------------
  352|  6.51k|                       ? visit_maybe_relaxed_sub(rootl,
  353|  6.51k|                                                 shiftl,
  354|  6.51k|                                                 sizel,
  355|  6.51k|                                                 this_t{},
  356|  6.51k|                                                 posr,
  357|  6.51k|                                                 first,
  358|  6.51k|                                                 size_t{})
  359|  6.51k|                       : posr.first_sub_inner(
  360|      0|                             rrb{}, first, rootl, shiftl, sizel);
  361|  6.51k|        }
_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|  6.82k|    {
  451|  6.82k|        auto node = pos.node();
  452|  6.82k|        return node == other || std::equal(node->leaf(),
  ------------------
  |  Branch (452:16): [True: 3.72k, False: 3.10k]
  |  Branch (452:33): [True: 1.41k, False: 1.68k]
  ------------------
  453|  3.10k|                                           node->leaf() + pos.count(),
  454|  3.10k|                                           other->leaf());
  455|  6.82k|    }

_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|  30.2M|{
 1839|  30.2M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 30.2M, False: 0]
  ------------------
 1840|  30.2M|    auto relaxed = node->relaxed();
 1841|  30.2M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 27.7M, False: 2.46M]
  ------------------
 1842|  27.7M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 27.7M, False: 0]
  ------------------
 1843|  27.7M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  27.7M|            .visit(v, std::forward<Args>(args)...);
 1845|  27.7M|    } else {
 1846|  2.46M|        return make_regular_sub_pos(node, shift, size)
 1847|  2.46M|            .visit(v, std::forward<Args>(args)...);
 1848|  2.46M|    }
 1849|  30.2M|}
_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|  94.9M|{
 1829|  94.9M|    assert(node);
  ------------------
  |  Branch (1829:5): [True: 94.9M, False: 0]
  ------------------
 1830|  94.9M|    assert(relaxed);
  ------------------
  |  Branch (1830:5): [True: 94.9M, False: 0]
  ------------------
 1831|  94.9M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1831:5): [True: 94.9M, False: 0]
  ------------------
 1832|  94.9M|    return {node, shift, relaxed};
 1833|  94.9M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1813|  35.5M|    {
 1814|  35.5M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  35.5M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1431|  57.9M|    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|  11.5M|    {
 1477|  11.5M|        each_left(v, relaxed_->d.count, args...);
 1478|  11.5M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1623|  11.7M|    {
 1624|  11.7M|        auto p = node_->inner();
 1625|  11.7M|        auto s = size_t{};
 1626|  11.7M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 2.06M, False: 9.64M]
  ------------------
 1627|  9.08M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 7.02M, False: 2.06M]
  ------------------
 1628|  7.02M|                IMMER_PREFETCH(p + i + 1);
 1629|  7.02M|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|  7.02M|                    .visit(v, args...);
 1631|  7.02M|                s = relaxed_->d.sizes[i];
 1632|  7.02M|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 7.02M, False: 0]
  ------------------
 1633|  7.02M|            }
 1634|  9.64M|        } else {
 1635|  9.64M|            auto ss = shift_ - B;
 1636|  38.3M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 28.6M, False: 9.64M]
  ------------------
 1637|  28.6M|                visit_maybe_relaxed_sub(
 1638|  28.6M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  28.6M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 28.6M, False: 0]
  ------------------
 1641|  28.6M|            }
 1642|  9.64M|        }
 1643|  11.7M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1430|  54.8M|    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|  6.01M|{
 1045|  6.01M|    assert(node);
  ------------------
  |  Branch (1045:5): [True: 6.01M, False: 0]
  ------------------
 1046|  6.01M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1046:5): [True: 6.01M, False: 0]
  ------------------
 1047|  6.01M|    assert(size > 0);
  ------------------
  |  Branch (1047:5): [True: 6.01M, False: 0]
  ------------------
 1048|  6.01M|    assert(size <= (branches<NodeT::bits, size_t> << shift));
  ------------------
  |  Branch (1048:5): [True: 6.01M, False: 0]
  ------------------
 1049|  6.01M|    return {node, shift, size};
 1050|  6.01M|}
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1036|  2.47M|    {
 1037|  2.47M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.47M|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  785|  8.04M|    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|   554k|    {
  826|   554k|        return each_regular(*this, v, args...);
  827|   554k|    }
_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|   554k|{
  344|   554k|    constexpr auto B  = bits<Pos>;
  345|   554k|    constexpr auto BL = bits_leaf<Pos>;
  346|   554k|    auto n            = p.node()->inner();
  347|   554k|    auto last         = p.count() - 1;
  348|   554k|    auto e            = n + last;
  349|   554k|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 49.5k, False: 504k]
  ------------------
  350|   103k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 53.8k, False: 49.5k]
  ------------------
  351|  53.8k|            IMMER_PREFETCH(n + 1);
  352|  53.8k|            make_full_leaf_pos(*n).visit(v, args...);
  353|  53.8k|        }
  354|  49.5k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|   504k|    } else {
  356|   504k|        auto ss = p.shift() - B;
  357|  1.20M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 701k, False: 504k]
  ------------------
  358|   701k|            make_full_pos(*n, ss).visit(v, args...);
  359|   504k|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|   504k|    }
  361|   554k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  787|  7.69M|    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.29M|{
  215|  4.29M|    assert(node);
  ------------------
  |  Branch (215:5): [True: 4.29M, False: 0]
  ------------------
  216|  4.29M|    return {node};
  217|  4.29M|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  207|  1.16M|    {
  208|  1.16M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.16M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  199|  3.24M|    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.64M|    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.00M|{
  120|  1.00M|    assert(node);
  ------------------
  |  Branch (120:5): [True: 1.00M, False: 0]
  ------------------
  121|  1.00M|    assert(size > 0);
  ------------------
  |  Branch (121:5): [True: 1.00M, False: 0]
  ------------------
  122|  1.00M|    return {node, size};
  123|  1.00M|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  786|  4.13M|    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|   439k|    {
  113|   439k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|   439k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  104|  1.01M|    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.09M|    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.13M|    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.10M|{
 1413|  6.10M|    assert(node);
  ------------------
  |  Branch (1413:5): [True: 6.10M, False: 0]
  ------------------
 1414|  6.10M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (1414:5): [True: 6.10M, False: 0]
  ------------------
 1415|  6.10M|    return {node, shift};
 1416|  6.10M|}
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
 1405|  3.17M|    {
 1406|  3.17M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.17M|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
 1159|  4.04M|    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|   229k|    {
 1186|   229k|        auto p = node_->inner();
 1187|   229k|        auto e = p + branches<B>;
 1188|   229k|        if (shift_ == BL) {
  ------------------
  |  Branch (1188:13): [True: 175k, False: 53.9k]
  ------------------
 1189|   877k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1189:20): [True: 702k, False: 175k]
  ------------------
 1190|   702k|                IMMER_PREFETCH(p + 1);
 1191|   702k|                make_full_leaf_pos(*p).visit(v, args...);
 1192|   702k|            }
 1193|   175k|        } else {
 1194|  53.9k|            auto ss = shift_ - B;
 1195|   269k|            for (; p != e; ++p)
  ------------------
  |  Branch (1195:20): [True: 215k, False: 53.9k]
  ------------------
 1196|   215k|                make_full_pos(*p, ss).visit(v, args...);
 1197|  53.9k|        }
 1198|   229k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5countEv:
 1158|  1.86M|    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.19M|{
  691|  5.19M|    assert(node);
  ------------------
  |  Branch (691:5): [True: 5.19M, False: 0]
  ------------------
  692|  5.19M|    assert(shift >= NodeT::bits_leaf);
  ------------------
  |  Branch (692:5): [True: 5.19M, False: 0]
  ------------------
  693|  5.19M|    assert(size > 0);
  ------------------
  |  Branch (693:5): [True: 5.19M, False: 0]
  ------------------
  694|  5.19M|    return {node, shift, size};
  695|  5.19M|}
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  336|  2.12M|    {
  337|  2.12M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.12M|    }
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  231|  9.47M|    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|  1.99M|    {
  244|  1.99M|        return each_regular(*this, v, args...);
  245|  1.99M|    }
_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|  1.99M|{
  344|  1.99M|    constexpr auto B  = bits<Pos>;
  345|  1.99M|    constexpr auto BL = bits_leaf<Pos>;
  346|  1.99M|    auto n            = p.node()->inner();
  347|  1.99M|    auto last         = p.count() - 1;
  348|  1.99M|    auto e            = n + last;
  349|  1.99M|    if (p.shift() == BL) {
  ------------------
  |  Branch (349:9): [True: 382k, False: 1.61M]
  ------------------
  350|   769k|        for (; n != e; ++n) {
  ------------------
  |  Branch (350:16): [True: 386k, False: 382k]
  ------------------
  351|   386k|            IMMER_PREFETCH(n + 1);
  352|   386k|            make_full_leaf_pos(*n).visit(v, args...);
  353|   386k|        }
  354|   382k|        make_leaf_pos(*n, p.size()).visit(v, args...);
  355|  1.61M|    } else {
  356|  1.61M|        auto ss = p.shift() - B;
  357|  3.84M|        for (; n != e; ++n)
  ------------------
  |  Branch (357:16): [True: 2.23M, False: 1.61M]
  ------------------
  358|  2.23M|            make_full_pos(*n, ss).visit(v, args...);
  359|  1.61M|        make_regular_pos(*n, ss, p.size()).visit(v, args...);
  360|  1.61M|    }
  361|  1.99M|}
_ZNK5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  233|  9.05M|    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.0M|    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|  6.53M|    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|  12.6M|    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.48M|    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.65M|{
   65|  1.65M|    return {node};
   66|  1.65M|}
_ZN5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   57|  1.65M|    {
   58|  1.65M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
   59|  1.65M|    }
_ZNK5immer6detail4rbts17empty_regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   41|  1.65M|    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|  18.0M|{
  152|  18.0M|    assert(node);
  ------------------
  |  Branch (152:5): [True: 18.0M, False: 0]
  ------------------
  153|  18.0M|    assert(count <= branches<NodeT::bits_leaf>);
  ------------------
  |  Branch (153:5): [True: 18.0M, False: 0]
  ------------------
  154|  18.0M|    return {node, count};
  155|  18.0M|}
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
  144|  10.1M|    {
  145|  10.1M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  10.1M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
  136|  15.6M|    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.69M|    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.55M|{
   89|  1.55M|    assert(node);
  ------------------
  |  Branch (89:5): [True: 1.55M, False: 0]
  ------------------
   90|  1.55M|    return {node};
   91|  1.55M|}
_ZN5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_11dec_visitorEJEEEDcT_DpOT0_:
   81|  1.55M|    {
   82|  1.55M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
   83|  1.55M|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4nodeEv:
   75|  1.55M|    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.86k|    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|   415k|    {
 1814|   415k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   415k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1433|  11.0M|    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.51M|    {
 1444|  5.51M|        return size_sbh(offset, size_before(offset));
 1445|  5.51M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
 1448|  5.84M|    {
 1449|  5.84M|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (1449:9): [True: 5.84M, False: 0]
  ------------------
 1450|  5.84M|        return relaxed_->d.sizes[offset] - size_before_hint;
 1451|  5.84M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
 1438|  16.6M|    {
 1439|  16.6M|        return offset ? relaxed_->d.sizes[offset - 1] : 0;
  ------------------
  |  Branch (1439:16): [True: 10.4M, False: 6.23M]
  ------------------
 1440|  16.6M|    }
_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|   400k|    {
 1738|   400k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 400k, False: 0]
  ------------------
 1739|   400k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 400k, False: 0]
  ------------------
 1740|   400k|        auto child   = node_->inner()[offset_hint];
 1741|   400k|        auto is_leaf = shift_ == BL;
 1742|   400k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 400k]
  ------------------
 1743|   400k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|   400k|                   : visit_maybe_relaxed_sub(
 1745|   400k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|   400k|    }
_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|   400k|{
 1839|   400k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 400k, False: 0]
  ------------------
 1840|   400k|    auto relaxed = node->relaxed();
 1841|   400k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 237k, False: 163k]
  ------------------
 1842|   237k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 237k, False: 0]
  ------------------
 1843|   237k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   237k|            .visit(v, std::forward<Args>(args)...);
 1845|   237k|    } else {
 1846|   163k|        return make_regular_sub_pos(node, shift, size)
 1847|   163k|            .visit(v, std::forward<Args>(args)...);
 1848|   163k|    }
 1849|   400k|}
_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|   163k|    {
 1037|   163k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   163k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  788|  2.34M|    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|   467k|    {
  953|   467k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   467k|    }
_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|   467k|{
  678|   467k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 467k, False: 0]
  ------------------
  679|   467k|    constexpr auto B  = bits<Pos>;
  680|   467k|    constexpr auto BL = bits_leaf<Pos>;
  681|   467k|    auto child        = p.node()->inner()[offset_hint];
  682|   467k|    auto is_leaf      = p.shift() == BL;
  683|   467k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 467k]
  ------------------
  684|   467k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   467k|                         .visit(v, args...);
  686|   467k|}
_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|  1.95M|    {
  337|  1.95M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  1.95M|    }
_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.49M|    {
  331|  1.49M|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.49M|    }
_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.49M|{
  678|  1.49M|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.49M, False: 0]
  ------------------
  679|  1.49M|    constexpr auto B  = bits<Pos>;
  680|  1.49M|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.49M|    auto child        = p.node()->inner()[offset_hint];
  682|  1.49M|    auto is_leaf      = p.shift() == BL;
  683|  1.49M|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.49M]
  ------------------
  684|  1.49M|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.49M|                         .visit(v, args...);
  686|  1.49M|}
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1432|  21.0M|    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|   326k|    {
 1037|   326k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   326k|    }
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|  48.0k|    {
  145|  48.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  48.0k|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  139|  1.14M|    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|   296k|{
 1839|   296k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 296k, False: 0]
  ------------------
 1840|   296k|    auto relaxed = node->relaxed();
 1841|   296k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 268k, False: 27.7k]
  ------------------
 1842|   268k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 268k, False: 0]
  ------------------
 1843|   268k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   268k|            .visit(v, std::forward<Args>(args)...);
 1845|   268k|    } else {
 1846|  27.7k|        return make_regular_sub_pos(node, shift, size)
 1847|  27.7k|            .visit(v, std::forward<Args>(args)...);
 1848|  27.7k|    }
 1849|   296k|}
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|   268k|    {
 1814|   268k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   268k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1454|  29.8M|    {
 1455|  29.8M|        auto offset = idx >> shift_;
 1456|  40.2M|        while (relaxed_->d.sizes[offset] <= idx)
  ------------------
  |  Branch (1456:16): [True: 10.4M, False: 29.8M]
  ------------------
 1457|  10.4M|            ++offset;
 1458|  29.8M|        return offset;
 1459|  29.8M|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7relaxedEv:
 1435|   268k|    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|   268k|    {
 1687|   268k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 268k, False: 0]
  ------------------
 1688|   268k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 55.7k, False: 213k]
  ------------------
 1689|   268k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|   268k|    }
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|   268k|    {
 1699|   268k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|   268k|    }
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|   268k|    {
 1718|   268k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 268k, False: 0]
  ------------------
 1719|   268k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 55.7k, False: 213k]
  |  Branch (1719:9): [True: 268k, False: 0]
  ------------------
 1720|   268k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   268k|        auto child     = node_->inner()[offset_hint];
 1722|   268k|        auto is_leaf   = shift_ == BL;
 1723|   268k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   268k|        auto next_idx  = idx - left_size_hint;
 1725|   268k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 45.0k, False: 223k]
  ------------------
 1726|   268k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  45.0k|                         .visit(v, next_idx, args...)
 1728|   268k|                   : visit_maybe_relaxed_sub(
 1729|   223k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   268k|    }
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|  45.0k|    {
  145|  45.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  45.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|  27.7k|    {
 1037|  27.7k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  27.7k|    }
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|  27.7k|    {
  939|  27.7k|        return towards_oh_ch_regular(
  940|  27.7k|            *this, v, idx, offset_hint, count(), args...);
  941|  27.7k|    }
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|  27.7k|{
  633|  27.7k|    constexpr auto B  = bits<Pos>;
  634|  27.7k|    constexpr auto BL = bits_leaf<Pos>;
  635|  27.7k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 27.7k, False: 0]
  ------------------
  636|  27.7k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 27.7k, False: 0]
  ------------------
  637|  27.7k|    auto is_leaf = p.shift() == BL;
  638|  27.7k|    auto child   = p.node()->inner()[offset_hint];
  639|  27.7k|    auto is_full = offset_hint + 1 != count_hint;
  640|  27.7k|    return is_full
  ------------------
  |  Branch (640:12): [True: 20.7k, False: 6.92k]
  ------------------
  641|  27.7k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 7.64k, False: 13.1k]
  ------------------
  642|  20.7k|                          : make_full_pos(child, p.shift() - B)
  643|  13.1k|                                .visit(v, idx, args...))
  644|  27.7k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 3.35k, False: 3.57k]
  ------------------
  645|  6.92k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  6.92k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  3.57k|                            .visit(v, idx, args...));
  648|  27.7k|}
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|  23.5k|    {
  208|  23.5k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  23.5k|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
  202|   442k|    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|  18.9k|    {
 1406|  18.9k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  18.9k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5indexEm:
 1162|  2.22M|    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|  18.9k|    {
 1330|  18.9k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  18.9k|    }
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|  18.9k|    {
 1337|  18.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 18.9k, False: 0]
  ------------------
 1338|  18.9k|        auto is_leaf = shift_ == BL;
 1339|  18.9k|        auto child   = node_->inner()[offset_hint];
 1340|  18.9k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 13.9k, False: 5.01k]
  ------------------
 1341|  18.9k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  18.9k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  18.9k|    }
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|  4.11k|    {
  113|  4.11k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  4.11k|    }
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|  3.94k|    {
  337|  3.94k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.94k|    }
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|  3.94k|    {
  317|  3.94k|        return towards_oh_ch_regular(
  318|  3.94k|            *this, v, idx, offset_hint, count(), args...);
  319|  3.94k|    }
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|  3.94k|{
  633|  3.94k|    constexpr auto B  = bits<Pos>;
  634|  3.94k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.94k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.94k, False: 0]
  ------------------
  636|  3.94k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.94k, False: 0]
  ------------------
  637|  3.94k|    auto is_leaf = p.shift() == BL;
  638|  3.94k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.94k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.94k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.81k, False: 1.13k]
  ------------------
  641|  3.94k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.00k, False: 806]
  ------------------
  642|  2.81k|                          : make_full_pos(child, p.shift() - B)
  643|    806|                                .visit(v, idx, args...))
  644|  3.94k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 762, False: 368]
  ------------------
  645|  1.13k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.13k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    368|                            .visit(v, idx, args...));
  648|  3.94k|}
_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.2k|{
 1839|  48.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 48.2k, False: 0]
  ------------------
 1840|  48.2k|    auto relaxed = node->relaxed();
 1841|  48.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 42.2k, False: 5.98k]
  ------------------
 1842|  42.2k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 42.2k, False: 0]
  ------------------
 1843|  42.2k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  42.2k|            .visit(v, std::forward<Args>(args)...);
 1845|  42.2k|    } else {
 1846|  5.98k|        return make_regular_sub_pos(node, shift, size)
 1847|  5.98k|            .visit(v, std::forward<Args>(args)...);
 1848|  5.98k|    }
 1849|  48.2k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
 1813|  42.2k|    {
 1814|  42.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  42.2k|    }
_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|  32.7k|    {
 1687|  32.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 32.7k, False: 0]
  ------------------
 1688|  32.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 32.7k]
  ------------------
 1689|  32.7k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  32.7k|    }
_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|  32.7k|    {
 1699|  32.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  32.7k|    }
_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|  32.7k|    {
 1718|  32.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 32.7k, False: 0]
  ------------------
 1719|  32.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 32.7k]
  |  Branch (1719:9): [True: 32.7k, False: 0]
  ------------------
 1720|  32.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  32.7k|        auto child     = node_->inner()[offset_hint];
 1722|  32.7k|        auto is_leaf   = shift_ == BL;
 1723|  32.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  32.7k|        auto next_idx  = idx - left_size_hint;
 1725|  32.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 2.00k, False: 30.7k]
  ------------------
 1726|  32.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  2.00k|                         .visit(v, next_idx, args...)
 1728|  32.7k|                   : visit_maybe_relaxed_sub(
 1729|  30.7k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  32.7k|    }
_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.00k|    {
  145|  2.00k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.00k|    }
_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.3k|    {
 1687|  22.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 22.3k, False: 0]
  ------------------
 1688|  22.3k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 15.1k, False: 7.28k]
  ------------------
 1689|  22.3k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  22.3k|    }
_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.3k|    {
 1699|  22.3k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  22.3k|    }
_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.3k|    {
 1718|  22.3k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 22.3k, False: 0]
  ------------------
 1719|  22.3k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 15.1k, False: 7.28k]
  |  Branch (1719:9): [True: 22.3k, False: 0]
  ------------------
 1720|  22.3k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  22.3k|        auto child     = node_->inner()[offset_hint];
 1722|  22.3k|        auto is_leaf   = shift_ == BL;
 1723|  22.3k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  22.3k|        auto next_idx  = idx - left_size_hint;
 1725|  22.3k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 5.33k, False: 17.0k]
  ------------------
 1726|  22.3k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  5.33k|                         .visit(v, next_idx, args...)
 1728|  22.3k|                   : visit_maybe_relaxed_sub(
 1729|  17.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  22.3k|    }
_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|  5.33k|    {
  145|  5.33k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.33k|    }
_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|  17.0k|{
 1839|  17.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 17.0k, False: 0]
  ------------------
 1840|  17.0k|    auto relaxed = node->relaxed();
 1841|  17.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.9k, False: 4.12k]
  ------------------
 1842|  12.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.9k, False: 0]
  ------------------
 1843|  12.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.9k|    } else {
 1846|  4.12k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.12k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.12k|    }
 1849|  17.0k|}
_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.9k|    {
 1814|  12.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  12.9k|    }
_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|  4.12k|    {
 1037|  4.12k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.12k|    }
_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.76k|    {
  928|  6.76k|        return towards_oh_ch_regular(
  929|  6.76k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.76k|    }
_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.76k|{
  633|  6.76k|    constexpr auto B  = bits<Pos>;
  634|  6.76k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.76k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.76k, False: 0]
  ------------------
  636|  6.76k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.76k, False: 0]
  ------------------
  637|  6.76k|    auto is_leaf = p.shift() == BL;
  638|  6.76k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.76k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.76k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.52k, False: 4.24k]
  ------------------
  641|  6.76k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.83k, False: 691]
  ------------------
  642|  2.52k|                          : make_full_pos(child, p.shift() - B)
  643|    691|                                .visit(v, idx, args...))
  644|  6.76k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 920, False: 3.32k]
  ------------------
  645|  4.24k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  4.24k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  3.32k|                            .visit(v, idx, args...));
  648|  6.76k|}
_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.78k|    {
  208|  5.78k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.78k|    }
_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.11k|    {
 1406|  2.11k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.11k|    }
_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.36k|    {
 1337|  3.36k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.36k, False: 0]
  ------------------
 1338|  3.36k|        auto is_leaf = shift_ == BL;
 1339|  3.36k|        auto child   = node_->inner()[offset_hint];
 1340|  3.36k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 2.34k, False: 1.02k]
  ------------------
 1341|  3.36k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.36k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.36k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
 1161|   184k|    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.23k|    {
  113|  2.23k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.23k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
  336|  5.14k|    {
  337|  5.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  5.14k|    }
_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|  5.14k|    {
  306|  5.14k|        return towards_oh_ch_regular(
  307|  5.14k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.14k|    }
_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|  5.14k|{
  633|  5.14k|    constexpr auto B  = bits<Pos>;
  634|  5.14k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.14k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.14k, False: 0]
  ------------------
  636|  5.14k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.14k, False: 0]
  ------------------
  637|  5.14k|    auto is_leaf = p.shift() == BL;
  638|  5.14k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.14k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.14k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.01k, False: 3.13k]
  ------------------
  641|  5.14k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.60k, False: 406]
  ------------------
  642|  2.01k|                          : make_full_pos(child, p.shift() - B)
  643|    406|                                .visit(v, idx, args...))
  644|  5.14k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.31k, False: 1.82k]
  ------------------
  645|  3.13k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  3.13k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.82k|                            .visit(v, idx, args...));
  648|  5.14k|}
_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|  5.98k|    {
 1037|  5.98k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  5.98k|    }
_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.33k|    {
  928|  3.33k|        return towards_oh_ch_regular(
  929|  3.33k|            *this, v, idx, offset_hint, count(), args...);
  930|  3.33k|    }
_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.33k|{
  633|  3.33k|    constexpr auto B  = bits<Pos>;
  634|  3.33k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.33k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.33k, False: 0]
  ------------------
  636|  3.33k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.33k, False: 0]
  ------------------
  637|  3.33k|    auto is_leaf = p.shift() == BL;
  638|  3.33k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.33k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.33k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.64k, False: 691]
  ------------------
  641|  3.33k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 772, False: 1.87k]
  ------------------
  642|  2.64k|                          : make_full_pos(child, p.shift() - B)
  643|  1.87k|                                .visit(v, idx, args...))
  644|  3.33k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 691, False: 0]
  ------------------
  645|    691|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    691|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  3.33k|}
_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.40k|    {
  208|  1.40k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.40k|    }
_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.45k|    {
 1406|  2.45k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.45k|    }
_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.20k|    {
 1337|  1.20k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.20k, False: 0]
  ------------------
 1338|  1.20k|        auto is_leaf = shift_ == BL;
 1339|  1.20k|        auto child   = node_->inner()[offset_hint];
 1340|  1.20k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 631, False: 576]
  ------------------
 1341|  1.20k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.20k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.20k|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_19slice_right_visitorISC_Lb1EEEJRmEEEDcT_DpOT0_:
  112|    691|    {
  113|    691|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    691|    }
_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.1k|{
 1839|  22.1k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.1k, False: 0]
  ------------------
 1840|  22.1k|    auto relaxed = node->relaxed();
 1841|  22.1k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 15.3k, False: 6.85k]
  ------------------
 1842|  15.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 15.3k, False: 0]
  ------------------
 1843|  15.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  15.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  15.3k|    } else {
 1846|  6.85k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.85k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.85k|    }
 1849|  22.1k|}
_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.3k|    {
 1814|  15.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  15.3k|    }
_ZNK5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8subindexEm:
 1434|  9.43M|    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.75k|    {
 1706|  4.75k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.75k, False: 0]
  ------------------
 1707|  4.75k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.95k, False: 807]
  ------------------
 1708|  4.75k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.75k|    }
_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.75k|    {
 1718|  4.75k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.75k, False: 0]
  ------------------
 1719|  4.75k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.95k, False: 807]
  |  Branch (1719:9): [True: 4.75k, False: 0]
  ------------------
 1720|  4.75k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.75k|        auto child     = node_->inner()[offset_hint];
 1722|  4.75k|        auto is_leaf   = shift_ == BL;
 1723|  4.75k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.75k|        auto next_idx  = idx - left_size_hint;
 1725|  4.75k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.75k]
  ------------------
 1726|  4.75k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.75k|                   : visit_maybe_relaxed_sub(
 1729|  4.75k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.75k|    }
_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|  59.7k|    {
 1706|  59.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 59.7k, False: 0]
  ------------------
 1707|  59.7k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 15.8k, False: 43.9k]
  ------------------
 1708|  59.7k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  59.7k|    }
_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|  59.7k|    {
 1718|  59.7k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 59.7k, False: 0]
  ------------------
 1719|  59.7k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 15.8k, False: 43.9k]
  |  Branch (1719:9): [True: 59.7k, False: 0]
  ------------------
 1720|  59.7k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  59.7k|        auto child     = node_->inner()[offset_hint];
 1722|  59.7k|        auto is_leaf   = shift_ == BL;
 1723|  59.7k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  59.7k|        auto next_idx  = idx - left_size_hint;
 1725|  59.7k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 8.41k, False: 51.3k]
  ------------------
 1726|  59.7k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  8.41k|                         .visit(v, next_idx, args...)
 1728|  59.7k|                   : visit_maybe_relaxed_sub(
 1729|  51.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  59.7k|    }
_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|  8.41k|    {
  145|  8.41k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  8.41k|    }
_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|  51.3k|{
 1839|  51.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 51.3k, False: 0]
  ------------------
 1840|  51.3k|    auto relaxed = node->relaxed();
 1841|  51.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 49.1k, False: 2.14k]
  ------------------
 1842|  49.1k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 49.1k, False: 0]
  ------------------
 1843|  49.1k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  49.1k|            .visit(v, std::forward<Args>(args)...);
 1845|  49.1k|    } else {
 1846|  2.14k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.14k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.14k|    }
 1849|  51.3k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18slice_left_visitorISC_Lb0EEEJRmEEEDcT_DpOT0_:
 1813|  49.1k|    {
 1814|  49.1k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  49.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|  2.14k|    {
 1037|  2.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.14k|    }
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE11size_beforeEj:
  791|   203k|    {
  792|   203k|        return size_t{offset} << shift_;
  793|   203k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE8size_sbhEjm:
  803|  29.3k|    {
  804|  29.3k|        assert(size_before_hint == size_before(offset));
  ------------------
  |  Branch (804:9): [True: 29.3k, False: 0]
  ------------------
  805|  29.3k|        return offset == subindex(size_ - 1) ? size_ - size_before_hint
  ------------------
  |  Branch (805:16): [True: 15.5k, False: 13.7k]
  ------------------
  806|  29.3k|                                             : size_t{1} << shift_;
  807|  29.3k|    }
_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.75k|    {
  947|  7.75k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  7.75k|    }
_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.75k|{
  654|  7.75k|    constexpr auto B  = bits<Pos>;
  655|  7.75k|    constexpr auto BL = bits_leaf<Pos>;
  656|  7.75k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 7.75k, False: 0]
  ------------------
  657|  7.75k|    auto is_leaf = p.shift() == BL;
  658|  7.75k|    auto child   = p.node()->inner()[offset_hint];
  659|  7.75k|    auto lsize   = offset_hint << p.shift();
  660|  7.75k|    auto size    = p.this_size();
  661|  7.75k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  7.75k|    return is_full
  ------------------
  |  Branch (662:12): [True: 7.75k, False: 0]
  ------------------
  663|  7.75k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 4.71k, False: 3.04k]
  ------------------
  664|  7.75k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  7.75k|                      : make_full_pos(child, p.shift() - B)
  666|  3.04k|                            .visit(v, idx - lsize, args...))
  667|  7.75k|               : (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.75k|}
_ZNK5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9this_sizeEv:
  794|  29.3k|    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.99k|    {
  208|  8.99k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  8.99k|    }
_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.04k|    {
 1406|  5.04k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  5.04k|    }
_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|  39.3k|    {
 1171|  39.3k|        return size_t{offset} << shift_;
 1172|  39.3k|    }
_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.28k|    {
 1349|  6.28k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 6.28k, False: 0]
  ------------------
 1350|  6.28k|        auto is_leaf = shift_ == BL;
 1351|  6.28k|        auto child   = node_->inner()[offset_hint];
 1352|  6.28k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  6.28k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 4.28k, False: 2.00k]
  ------------------
 1354|  6.28k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  6.28k|                   : make_full_pos(child, shift_ - B)
 1356|  2.00k|                         .visit(v, idx - lsize, args...);
 1357|  6.28k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1175|  15.7k|    {
 1176|  15.7k|        auto e = sizes + n;
 1177|  39.1k|        for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (1177:16): [True: 23.4k, False: 15.7k]
  ------------------
 1178|  23.4k|            init = *sizes = init + (size_t{1} << shift_);
 1179|       |            assert(init);
  ------------------
  |  Branch (1179:13): [True: 23.4k, False: 0]
  ------------------
 1180|  23.4k|        }
 1181|  15.7k|    }
_ZNK5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
 1160|   788k|    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|   231k|    {
  811|   231k|        if (n) {
  ------------------
  |  Branch (811:13): [True: 226k, False: 5.40k]
  ------------------
  812|   226k|            auto last = offset + n - 1;
  813|   226k|            auto e    = sizes + n - 1;
  814|   452k|            for (; sizes != e; ++sizes) {
  ------------------
  |  Branch (814:20): [True: 226k, False: 226k]
  ------------------
  815|   226k|                init = *sizes = init + (size_t{1} << shift_);
  816|   226k|                assert(init);
  ------------------
  |  Branch (816:17): [True: 226k, False: 0]
  ------------------
  817|   226k|            }
  818|   226k|            *sizes = init + size(last);
  819|       |            assert(*sizes);
  ------------------
  |  Branch (819:13): [True: 226k, False: 0]
  ------------------
  820|   226k|        }
  821|   231k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEj:
  797|   242k|    {
  798|   242k|        return offset == subindex(size_ - 1) ? size_ - size_before(offset)
  ------------------
  |  Branch (798:16): [True: 124k, False: 117k]
  ------------------
  799|   242k|                                             : size_t{1} << shift_;
  800|   242k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10copy_sizesEjjmPm:
 1462|  4.85M|    {
 1463|  4.85M|        auto e     = sizes + n;
 1464|  4.85M|        auto prev  = size_before(offset);
 1465|  4.85M|        auto these = relaxed_->d.sizes + offset;
 1466|  13.8M|        for (; sizes != e; ++sizes, ++these) {
  ------------------
  |  Branch (1466:16): [True: 9.02M, False: 4.85M]
  ------------------
 1467|  9.02M|            auto this_size = *these;
 1468|  9.02M|            init = *sizes = init + (this_size - prev);
 1469|  9.02M|            assert(init);
  ------------------
  |  Branch (1469:13): [True: 9.02M, False: 0]
  ------------------
 1470|  9.02M|            prev = this_size;
 1471|  9.02M|        }
 1472|  4.85M|    }
_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.85k|    {
 1037|  6.85k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.85k|    }
_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.94k|    {
  947|  3.94k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.94k|    }
_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.94k|{
  654|  3.94k|    constexpr auto B  = bits<Pos>;
  655|  3.94k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.94k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.94k, False: 0]
  ------------------
  657|  3.94k|    auto is_leaf = p.shift() == BL;
  658|  3.94k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.94k|    auto lsize   = offset_hint << p.shift();
  660|  3.94k|    auto size    = p.this_size();
  661|  3.94k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.94k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.24k, False: 2.70k]
  ------------------
  663|  3.94k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.24k]
  ------------------
  664|  1.24k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.24k|                      : make_full_pos(child, p.shift() - B)
  666|  1.24k|                            .visit(v, idx - lsize, args...))
  667|  3.94k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 2.70k]
  ------------------
  668|  2.70k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  2.70k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  2.70k|                            .visit(v, idx - lsize, args...));
  672|  3.94k|}
_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.51k|    {
 1406|  1.51k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.51k|    }
_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.70k|    {
 1037|  2.70k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.70k|    }
_ZN5immer6detail4rbts30make_singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEEEDaPT_j:
  766|  7.86k|{
  767|  7.86k|    assert(leaf);
  ------------------
  |  Branch (767:5): [True: 7.86k, False: 0]
  ------------------
  768|  7.86k|    IMMER_ASSERT_TAGGED(leaf->kind() == NodeT::kind_t::leaf);
  ------------------
  |  |   68|  7.86k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (768:5): [True: 7.86k, False: 0]
  ------------------
  769|  7.86k|    assert(count > 0);
  ------------------
  |  Branch (769:5): [True: 7.86k, False: 0]
  ------------------
  770|  7.86k|    return singleton_regular_sub_pos<NodeT>{leaf, count};
  771|  7.86k|}
_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.86k|    {
  760|  7.86k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  761|  7.86k|    }
_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.86k|{
 1839|  7.86k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 7.86k, False: 0]
  ------------------
 1840|  7.86k|    auto relaxed = node->relaxed();
 1841|  7.86k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 5.56k, False: 2.30k]
  ------------------
 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|  2.30k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.30k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.30k|    }
 1849|  7.86k|}
_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.56k|    {
 1814|  5.56k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.56k|    }
_ZNK5immer6detail4rbts25singleton_regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  735|  27.3k|    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.86k|    {
  745|  7.86k|    }
_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.41M|    {
  145|  2.41M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.41M|    }
_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|  20.4M|    {
 1814|  20.4M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  20.4M|    }
_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.86k|    {
  745|  7.86k|    }
_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.41M|    {
  145|  2.41M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  2.41M|    }
_ZNK5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  137|  2.41M|    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|  20.4M|    {
 1814|  20.4M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  20.4M|    }
_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|  18.2k|    {
 1763|  18.2k|        auto child      = node_->inner()[0];
 1764|  18.2k|        auto child_size = relaxed_->d.sizes[0];
 1765|  18.2k|        auto is_leaf    = shift_ == BL;
 1766|  18.2k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 18.2k, False: 0]
  ------------------
 1767|  18.2k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 18.2k]
  ------------------
 1768|  18.2k|                       : visit_maybe_relaxed_sub(
 1769|  18.2k|                             child, shift_ - B, child_size, v, args...);
 1770|  18.2k|    }
_ZNK5immer6detail4rbts14empty_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
   76|  7.86k|    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.91M|    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|  18.2k|{
 1839|  18.2k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 18.2k, False: 0]
  ------------------
 1840|  18.2k|    auto relaxed = node->relaxed();
 1841|  18.2k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 17.9k, False: 382]
  ------------------
 1842|  17.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 17.9k, False: 0]
  ------------------
 1843|  17.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  17.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  17.9k|    } else {
 1846|    382|        return make_regular_sub_pos(node, shift, size)
 1847|    382|            .visit(v, std::forward<Args>(args)...);
 1848|    382|    }
 1849|  18.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|  17.9k|    {
 1814|  17.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  17.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|    382|    {
 1037|    382|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    382|    }
_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|    841|    {
  971|    841|        auto is_leaf = shift_ == BL;
  972|    841|        auto child   = node_->inner()[0];
  973|    841|        auto is_full = size_ >= (size_t{1} << shift_);
  974|    841|        return is_full
  ------------------
  |  Branch (974:16): [True: 841, False: 0]
  ------------------
  975|    841|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 841]
  ------------------
  976|    841|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|    841|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|    841|                   : (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|    841|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  201|   147k|    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.24k|    {
 1406|  1.24k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.24k|    }
_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|    400|    {
 1362|    400|        auto is_leaf = shift_ == BL;
 1363|    400|        auto child   = node_->inner()[0];
 1364|    400|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 400]
  ------------------
 1365|    400|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|    400|    }
_ZN5immer6detail4rbts12null_sub_pos13each_left_subINS1_34concat_rebalance_plan_fill_visitorEJRNS1_21concat_rebalance_planILj2ELj2EEEEEEvT_DpOT0_:
  711|   129k|    {
  712|   129k|    }
_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|   143k|    {
 1305|   143k|        each_i(v, 1, branches<B>, args...);
 1306|   143k|    }
_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|   143k|    {
 1264|   143k|        auto p = node_->inner() + i;
 1265|   143k|        auto e = node_->inner() + n;
 1266|   143k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 68.3k, False: 75.1k]
  ------------------
 1267|   273k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 204k, False: 68.3k]
  ------------------
 1268|   204k|                IMMER_PREFETCH(p + 1);
 1269|   204k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   204k|            }
 1271|  75.1k|        } else {
 1272|  75.1k|            auto ss = shift_ - B;
 1273|   300k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 225k, False: 75.1k]
  ------------------
 1274|   225k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  75.1k|        }
 1276|   143k|    }
_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|  1.08M|    {
  208|  1.08M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.08M|    }
_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|   781k|    {
 1406|   781k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   781k|    }
_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|   129k|    {
  712|   129k|    }
_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|   143k|    {
 1305|   143k|        each_i(v, 1, branches<B>, args...);
 1306|   143k|    }
_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|   143k|    {
 1264|   143k|        auto p = node_->inner() + i;
 1265|   143k|        auto e = node_->inner() + n;
 1266|   143k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 68.3k, False: 75.1k]
  ------------------
 1267|   273k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 204k, False: 68.3k]
  ------------------
 1268|   204k|                IMMER_PREFETCH(p + 1);
 1269|   204k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|   204k|            }
 1271|  75.1k|        } else {
 1272|  75.1k|            auto ss = shift_ - B;
 1273|   300k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 225k, False: 75.1k]
  ------------------
 1274|   225k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  75.1k|        }
 1276|   143k|    }
_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|  1.08M|    {
  208|  1.08M|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.08M|    }
_ZNK5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE4sizeEv:
  200|  1.08M|    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|   781k|    {
 1406|   781k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   781k|    }
_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|    841|    {
  754|    841|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|    841|    }
_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|    841|    {
  145|    841|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    841|    }
_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|    841|    {
 1371|    841|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 841, False: 0]
  ------------------
 1372|    841|        auto child = node_->inner()[0];
 1373|    841|        return make_full_leaf_pos(child).visit(v, args...);
 1374|    841|    }
_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.68k|    {
  208|  2.68k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  2.68k|    }
_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|   147k|    {
  907|   147k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 130k, False: 17.2k]
  ------------------
  908|   130k|            each_right_sub_(v, 1, args...);
  909|   147k|    }
_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|   130k|    {
  880|   130k|        auto last  = count() - 1;
  881|   130k|        auto lsize = size_ - (last << shift_);
  882|   130k|        auto n     = node()->inner() + i;
  883|   130k|        auto e     = node()->inner() + last;
  884|   130k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 62.4k, False: 68.3k]
  ------------------
  885|   184k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 122k, False: 62.4k]
  ------------------
  886|   122k|                IMMER_PREFETCH(n + 1);
  887|   122k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   122k|            }
  889|  62.4k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  68.3k|        } else {
  891|  68.3k|            auto ss = shift_ - B;
  892|   182k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 113k, False: 68.3k]
  ------------------
  893|   113k|                make_full_pos(*n, ss).visit(v, args...);
  894|  68.3k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  68.3k|        }
  896|   130k|    }
_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|   641k|    {
 1037|   641k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   641k|    }
_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|   147k|    {
  907|   147k|        if (count() > 1)
  ------------------
  |  Branch (907:13): [True: 130k, False: 17.2k]
  ------------------
  908|   130k|            each_right_sub_(v, 1, args...);
  909|   147k|    }
_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|   130k|    {
  880|   130k|        auto last  = count() - 1;
  881|   130k|        auto lsize = size_ - (last << shift_);
  882|   130k|        auto n     = node()->inner() + i;
  883|   130k|        auto e     = node()->inner() + last;
  884|   130k|        if (shift() == BL) {
  ------------------
  |  Branch (884:13): [True: 62.4k, False: 68.3k]
  ------------------
  885|   184k|            for (; n != e; ++n) {
  ------------------
  |  Branch (885:20): [True: 122k, False: 62.4k]
  ------------------
  886|   122k|                IMMER_PREFETCH(n + 1);
  887|   122k|                make_full_leaf_pos(*n).visit(v, args...);
  888|   122k|            }
  889|  62.4k|            make_leaf_sub_pos(*n, lsize).visit(v, args...);
  890|  68.3k|        } else {
  891|  68.3k|            auto ss = shift_ - B;
  892|   182k|            for (; n != e; ++n)
  ------------------
  |  Branch (892:20): [True: 113k, False: 68.3k]
  ------------------
  893|   113k|                make_full_pos(*n, ss).visit(v, args...);
  894|  68.3k|            make_regular_sub_pos(*n, ss, lsize).visit(v, args...);
  895|  68.3k|        }
  896|   130k|    }
_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|   641k|    {
 1037|   641k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   641k|    }
_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.84k|    {
  754|  1.84k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  1.84k|    }
_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.84k|    {
  145|  1.84k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  1.84k|    }
_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.84k|    {
  987|  1.84k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 1.84k, False: 0]
  ------------------
  988|  1.84k|        auto child   = node_->inner()[0];
  989|  1.84k|        auto is_full = size_ >= branches<BL>;
  990|  1.84k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 1.84k, False: 0]
  ------------------
  991|  1.84k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  1.84k|    }
_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.18k|    {
  145|  5.18k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.18k|    }
_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.95M|    {
 1648|  2.95M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  2.95M|    }
_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.95M|    {
 1654|  2.95M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 2.95M, False: 0]
  ------------------
 1655|  2.95M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 2.95M, False: 0]
  ------------------
 1656|  2.95M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  2.95M|        auto p = node_->inner();
 1658|  2.95M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 368k, False: 2.58M]
  ------------------
 1659|   981k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 612k, False: 368k]
  ------------------
 1660|   612k|                IMMER_PREFETCH(p + i + 1);
 1661|   612k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   612k|                    .visit(v, args...);
 1663|   612k|                s = relaxed_->d.sizes[i];
 1664|   612k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 612k, False: 0]
  ------------------
 1665|   612k|            }
 1666|  2.58M|        } else {
 1667|  2.58M|            auto ss = shift_ - B;
 1668|  9.15M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.57M, False: 2.58M]
  ------------------
 1669|  6.57M|                visit_maybe_relaxed_sub(
 1670|  6.57M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.57M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.57M, False: 0]
  ------------------
 1673|  6.57M|            }
 1674|  2.58M|        }
 1675|  2.95M|    }
_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|  13.3M|{
 1839|  13.3M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.3M, False: 0]
  ------------------
 1840|  13.3M|    auto relaxed = node->relaxed();
 1841|  13.3M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.7M, False: 572k]
  ------------------
 1842|  12.7M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.7M, False: 0]
  ------------------
 1843|  12.7M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.7M|            .visit(v, std::forward<Args>(args)...);
 1845|  12.7M|    } else {
 1846|   572k|        return make_regular_sub_pos(node, shift, size)
 1847|   572k|            .visit(v, std::forward<Args>(args)...);
 1848|   572k|    }
 1849|  13.3M|}
_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.95M|    {
 1648|  2.95M|        each_right(v, 1, std::forward<Args>(args)...);
 1649|  2.95M|    }
_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.95M|    {
 1654|  2.95M|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 2.95M, False: 0]
  ------------------
 1655|  2.95M|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 2.95M, False: 0]
  ------------------
 1656|  2.95M|        auto s = relaxed_->d.sizes[start - 1];
 1657|  2.95M|        auto p = node_->inner();
 1658|  2.95M|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 368k, False: 2.58M]
  ------------------
 1659|   981k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 612k, False: 368k]
  ------------------
 1660|   612k|                IMMER_PREFETCH(p + i + 1);
 1661|   612k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|   612k|                    .visit(v, args...);
 1663|   612k|                s = relaxed_->d.sizes[i];
 1664|   612k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 612k, False: 0]
  ------------------
 1665|   612k|            }
 1666|  2.58M|        } else {
 1667|  2.58M|            auto ss = shift_ - B;
 1668|  9.15M|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 6.57M, False: 2.58M]
  ------------------
 1669|  6.57M|                visit_maybe_relaxed_sub(
 1670|  6.57M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|  6.57M|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 6.57M, False: 0]
  ------------------
 1673|  6.57M|            }
 1674|  2.58M|        }
 1675|  2.95M|    }
_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|  13.3M|{
 1839|  13.3M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 13.3M, False: 0]
  ------------------
 1840|  13.3M|    auto relaxed = node->relaxed();
 1841|  13.3M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 12.7M, False: 572k]
  ------------------
 1842|  12.7M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 12.7M, False: 0]
  ------------------
 1843|  12.7M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  12.7M|            .visit(v, std::forward<Args>(args)...);
 1845|  12.7M|    } else {
 1846|   572k|        return make_regular_sub_pos(node, shift, size)
 1847|   572k|            .visit(v, std::forward<Args>(args)...);
 1848|   572k|    }
 1849|  13.3M|}
_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.18k|    {
  754|  5.18k|        return make_leaf_sub_pos(leaf_, count_).visit(v, args...);
  755|  5.18k|    }
_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.18k|    {
  145|  5.18k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.18k|    }
_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.18k|    {
 1775|  5.18k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 5.18k, False: 0]
  ------------------
 1776|  5.18k|        auto child      = node_->inner()[0];
 1777|  5.18k|        auto child_size = relaxed_->d.sizes[0];
 1778|  5.18k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|  5.18k|    }
_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.30k|    {
 1037|  2.30k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.30k|    }
_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|   508k|{
 1839|   508k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 508k, False: 0]
  ------------------
 1840|   508k|    auto relaxed = node->relaxed();
 1841|   508k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 494k, False: 14.1k]
  ------------------
 1842|   494k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 494k, False: 0]
  ------------------
 1843|   494k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   494k|            .visit(v, std::forward<Args>(args)...);
 1845|   494k|    } else {
 1846|  14.1k|        return make_regular_sub_pos(node, shift, size)
 1847|  14.1k|            .visit(v, std::forward<Args>(args)...);
 1848|  14.1k|    }
 1849|   508k|}
_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|   494k|    {
 1814|   494k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   494k|    }
_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|   494k|{
 1839|   494k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 494k, False: 0]
  ------------------
 1840|   494k|    auto relaxed = node->relaxed();
 1841|   494k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 472k, False: 22.6k]
  ------------------
 1842|   472k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 472k, False: 0]
  ------------------
 1843|   472k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   472k|            .visit(v, std::forward<Args>(args)...);
 1845|   472k|    } else {
 1846|  22.6k|        return make_regular_sub_pos(node, shift, size)
 1847|  22.6k|            .visit(v, std::forward<Args>(args)...);
 1848|  22.6k|    }
 1849|   494k|}
_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|   472k|    {
 1814|   472k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   472k|    }
_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.12M|    {
 1751|  2.12M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.12M|        auto child      = node_->inner()[offset];
 1753|  2.12M|        auto child_size = size(offset);
 1754|  2.12M|        auto is_leaf    = shift_ == BL;
 1755|  2.12M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 2.12M]
  ------------------
 1756|  2.12M|                       : visit_maybe_relaxed_sub(
 1757|  2.12M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.12M|    }
_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.12M|{
 1839|  2.12M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.12M, False: 0]
  ------------------
 1840|  2.12M|    auto relaxed = node->relaxed();
 1841|  2.12M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.11M, False: 2.45k]
  ------------------
 1842|  2.11M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.11M, False: 0]
  ------------------
 1843|  2.11M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.11M|            .visit(v, std::forward<Args>(args)...);
 1845|  2.11M|    } else {
 1846|  2.45k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.45k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.45k|    }
 1849|  2.12M|}
_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.11M|    {
 1814|  2.11M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.11M|    }
_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|  5.95k|    {
 1037|  5.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  5.95k|    }
_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.50k|    {
  959|  3.50k|        auto offset  = count() - 1;
  960|  3.50k|        auto child   = node_->inner()[offset];
  961|  3.50k|        auto is_leaf = shift_ == BL;
  962|  3.50k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|  3.50k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 3.50k]
  ------------------
  964|  3.50k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  3.50k|                             .visit(v, args...);
  966|  3.50k|    }
_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|   892k|    {
  914|   892k|        each_left(v, count() - 1, args...);
  915|   892k|    }
_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|   892k|    {
  874|   892k|        return each_left_regular(*this, v, last, args...);
  875|   892k|    }
_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|   892k|{
  576|   892k|    constexpr auto B  = bits<Pos>;
  577|   892k|    constexpr auto BL = bits_leaf<Pos>;
  578|   892k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 892k, False: 0]
  ------------------
  579|   892k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 408k, False: 484k]
  ------------------
  580|   408k|        auto n = p.node()->inner();
  581|   408k|        auto e = n + last;
  582|  1.16M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 754k, False: 408k]
  ------------------
  583|   754k|            IMMER_PREFETCH(n + 1);
  584|   754k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   754k|        }
  586|   484k|    } else {
  587|   484k|        auto n  = p.node()->inner();
  588|   484k|        auto e  = n + last;
  589|   484k|        auto ss = p.shift() - B;
  590|   926k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 442k, False: 484k]
  ------------------
  591|   442k|            make_full_pos(*n, ss).visit(v, args...);
  592|   484k|    }
  593|   892k|}
_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|   892k|    {
  914|   892k|        each_left(v, count() - 1, args...);
  915|   892k|    }
_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|   892k|    {
  874|   892k|        return each_left_regular(*this, v, last, args...);
  875|   892k|    }
_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|   892k|{
  576|   892k|    constexpr auto B  = bits<Pos>;
  577|   892k|    constexpr auto BL = bits_leaf<Pos>;
  578|   892k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 892k, False: 0]
  ------------------
  579|   892k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 408k, False: 484k]
  ------------------
  580|   408k|        auto n = p.node()->inner();
  581|   408k|        auto e = n + last;
  582|  1.16M|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 754k, False: 408k]
  ------------------
  583|   754k|            IMMER_PREFETCH(n + 1);
  584|   754k|            make_full_leaf_pos(*n).visit(v, args...);
  585|   754k|        }
  586|   484k|    } else {
  587|   484k|        auto n  = p.node()->inner();
  588|   484k|        auto e  = n + last;
  589|   484k|        auto ss = p.shift() - B;
  590|   926k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 442k, False: 484k]
  ------------------
  591|   442k|            make_full_pos(*n, ss).visit(v, args...);
  592|   484k|    }
  593|   892k|}
_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|   746k|    {
 1763|   746k|        auto child      = node_->inner()[0];
 1764|   746k|        auto child_size = relaxed_->d.sizes[0];
 1765|   746k|        auto is_leaf    = shift_ == BL;
 1766|   746k|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 746k, False: 0]
  ------------------
 1767|   746k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 746k]
  ------------------
 1768|   746k|                       : visit_maybe_relaxed_sub(
 1769|   746k|                             child, shift_ - B, child_size, v, args...);
 1770|   746k|    }
_ZNK5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5shiftEv:
  106|   508k|    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|   746k|{
 1839|   746k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 746k, False: 0]
  ------------------
 1840|   746k|    auto relaxed = node->relaxed();
 1841|   746k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 638k, False: 108k]
  ------------------
 1842|   638k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 638k, False: 0]
  ------------------
 1843|   638k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   638k|            .visit(v, std::forward<Args>(args)...);
 1845|   638k|    } else {
 1846|   108k|        return make_regular_sub_pos(node, shift, size)
 1847|   108k|            .visit(v, std::forward<Args>(args)...);
 1848|   108k|    }
 1849|   746k|}
_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|   638k|    {
 1814|   638k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   638k|    }
_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|   108k|    {
 1037|   108k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   108k|    }
_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|    738|    {
  959|    738|        auto offset  = count() - 1;
  960|    738|        auto child   = node_->inner()[offset];
  961|    738|        auto is_leaf = shift_ == BL;
  962|    738|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|    738|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 0, False: 738]
  ------------------
  964|    738|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|    738|                             .visit(v, args...);
  966|    738|    }
_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.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_policyELb0ELb1EEELj2ELj2EEEE9first_subINS1_20concat_right_visitorISC_EEJRSD_RNS1_8leaf_posISC_EEEEEDcT_DpOT0_:
  970|  63.5k|    {
  971|  63.5k|        auto is_leaf = shift_ == BL;
  972|  63.5k|        auto child   = node_->inner()[0];
  973|  63.5k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  63.5k|        return is_full
  ------------------
  |  Branch (974:16): [True: 63.5k, False: 0]
  ------------------
  975|  63.5k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 63.5k]
  ------------------
  976|  63.5k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  63.5k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  63.5k|                   : (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|  63.5k|    }
_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|   136k|    {
 1406|   136k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|   136k|    }
_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|  72.5k|    {
 1362|  72.5k|        auto is_leaf = shift_ == BL;
 1363|  72.5k|        auto child   = node_->inner()[0];
 1364|  72.5k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 72.5k]
  ------------------
 1365|  72.5k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|  72.5k|    }
_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|   135k|    {
  959|   135k|        auto offset  = count() - 1;
  960|   135k|        auto child   = node_->inner()[offset];
  961|   135k|        auto is_leaf = shift_ == BL;
  962|   135k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   135k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 64.7k, False: 71.0k]
  ------------------
  964|   135k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  71.0k|                             .visit(v, args...);
  966|   135k|    }
_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|  67.4k|    {
  145|  67.4k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  67.4k|    }
_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|  67.4k|    {
 1371|  67.4k|        assert(shift_ == BL);
  ------------------
  |  Branch (1371:9): [True: 67.4k, False: 0]
  ------------------
 1372|  67.4k|        auto child = node_->inner()[0];
 1373|  67.4k|        return make_full_leaf_pos(child).visit(v, args...);
 1374|  67.4k|    }
_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|   145k|    {
  208|   145k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   145k|    }
_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|  72.2k|    {
 1037|  72.2k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  72.2k|    }
_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|   115k|    {
  959|   115k|        auto offset  = count() - 1;
  960|   115k|        auto child   = node_->inner()[offset];
  961|   115k|        auto is_leaf = shift_ == BL;
  962|   115k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   115k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 65.7k, False: 50.2k]
  ------------------
  964|   115k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|  50.2k|                             .visit(v, args...);
  966|   115k|    }
_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|  77.7k|    {
  145|  77.7k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  77.7k|    }
_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|  77.7k|    {
  987|  77.7k|        assert(shift_ == BL);
  ------------------
  |  Branch (987:9): [True: 77.7k, False: 0]
  ------------------
  988|  77.7k|        auto child   = node_->inner()[0];
  989|  77.7k|        auto is_full = size_ >= branches<BL>;
  990|  77.7k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (990:16): [True: 77.7k, False: 0]
  ------------------
  991|  77.7k|                       : make_leaf_sub_pos(child, size_).visit(v, args...);
  992|  77.7k|    }
_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|   363k|    {
  145|   363k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   363k|    }
_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|  62.8k|    {
 1037|  62.8k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  62.8k|    }
_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|   637k|    {
  959|   637k|        auto offset  = count() - 1;
  960|   637k|        auto child   = node_->inner()[offset];
  961|   637k|        auto is_leaf = shift_ == BL;
  962|   637k|        auto lsize   = size_ - (size_t{offset} << shift_);
  963|   637k|        return is_leaf ? make_leaf_sub_pos(child, lsize).visit(v, args...)
  ------------------
  |  Branch (963:16): [True: 278k, False: 358k]
  ------------------
  964|   637k|                       : make_regular_sub_pos(child, shift_ - B, lsize)
  965|   358k|                             .visit(v, args...);
  966|   637k|    }
_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|   363k|    {
  145|   363k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   363k|    }
_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|   363k|    {
 1775|   363k|        assert(shift_ == BL);
  ------------------
  |  Branch (1775:9): [True: 363k, False: 0]
  ------------------
 1776|   363k|        auto child      = node_->inner()[0];
 1777|   363k|        auto child_size = relaxed_->d.sizes[0];
 1778|   363k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1779|   363k|    }
_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|   736k|    {
 1037|   736k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   736k|    }
_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.45M|    {
 1618|  4.45M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.45M|    }
_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.45M|    {
 1624|  4.45M|        auto p = node_->inner();
 1625|  4.45M|        auto s = size_t{};
 1626|  4.45M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 100k, False: 4.35M]
  ------------------
 1627|   294k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 194k, False: 100k]
  ------------------
 1628|   194k|                IMMER_PREFETCH(p + i + 1);
 1629|   194k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   194k|                    .visit(v, args...);
 1631|   194k|                s = relaxed_->d.sizes[i];
 1632|   194k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 194k, False: 0]
  ------------------
 1633|   194k|            }
 1634|  4.35M|        } else {
 1635|  4.35M|            auto ss = shift_ - B;
 1636|  11.1M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 6.78M, False: 4.35M]
  ------------------
 1637|  6.78M|                visit_maybe_relaxed_sub(
 1638|  6.78M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  6.78M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 6.78M, False: 0]
  ------------------
 1641|  6.78M|            }
 1642|  4.35M|        }
 1643|  4.45M|    }
_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.45M|    {
 1618|  4.45M|        each_left(v, relaxed_->d.count - 1, args...);
 1619|  4.45M|    }
_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.45M|    {
 1624|  4.45M|        auto p = node_->inner();
 1625|  4.45M|        auto s = size_t{};
 1626|  4.45M|        if (shift_ == BL) {
  ------------------
  |  Branch (1626:13): [True: 100k, False: 4.35M]
  ------------------
 1627|   294k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1627:39): [True: 194k, False: 100k]
  ------------------
 1628|   194k|                IMMER_PREFETCH(p + i + 1);
 1629|   194k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1630|   194k|                    .visit(v, args...);
 1631|   194k|                s = relaxed_->d.sizes[i];
 1632|   194k|                assert(s);
  ------------------
  |  Branch (1632:17): [True: 194k, False: 0]
  ------------------
 1633|   194k|            }
 1634|  4.35M|        } else {
 1635|  4.35M|            auto ss = shift_ - B;
 1636|  11.1M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1636:39): [True: 6.78M, False: 4.35M]
  ------------------
 1637|  6.78M|                visit_maybe_relaxed_sub(
 1638|  6.78M|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1639|  6.78M|                s = relaxed_->d.sizes[i];
 1640|       |                assert(s);
  ------------------
  |  Branch (1640:17): [True: 6.78M, False: 0]
  ------------------
 1641|  6.78M|            }
 1642|  4.35M|        }
 1643|  4.45M|    }
_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.82M|    {
 1763|  1.82M|        auto child      = node_->inner()[0];
 1764|  1.82M|        auto child_size = relaxed_->d.sizes[0];
 1765|  1.82M|        auto is_leaf    = shift_ == BL;
 1766|  1.82M|        assert(child_size);
  ------------------
  |  Branch (1766:9): [True: 1.82M, False: 0]
  ------------------
 1767|  1.82M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1767:16): [True: 0, False: 1.82M]
  ------------------
 1768|  1.82M|                       : visit_maybe_relaxed_sub(
 1769|  1.82M|                             child, shift_ - B, child_size, v, args...);
 1770|  1.82M|    }
_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.82M|{
 1839|  1.82M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.82M, False: 0]
  ------------------
 1840|  1.82M|    auto relaxed = node->relaxed();
 1841|  1.82M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.81M, False: 6.34k]
  ------------------
 1842|  1.81M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.81M, False: 0]
  ------------------
 1843|  1.81M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.81M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.81M|    } else {
 1846|  6.34k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.34k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.34k|    }
 1849|  1.82M|}
_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.81M|    {
 1814|  1.81M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.81M|    }
_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|  6.34k|    {
 1037|  6.34k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.34k|    }
_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|   115k|    {
 1751|   115k|        auto offset     = relaxed_->d.count - 1;
 1752|   115k|        auto child      = node_->inner()[offset];
 1753|   115k|        auto child_size = size(offset);
 1754|   115k|        auto is_leaf    = shift_ == BL;
 1755|   115k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 0, False: 115k]
  ------------------
 1756|   115k|                       : visit_maybe_relaxed_sub(
 1757|   115k|                             child, shift_ - B, child_size, v, args...);
 1758|   115k|    }
_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|   115k|{
 1839|   115k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 115k, False: 0]
  ------------------
 1840|   115k|    auto relaxed = node->relaxed();
 1841|   115k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 115k, False: 380]
  ------------------
 1842|   115k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 115k, False: 0]
  ------------------
 1843|   115k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   115k|            .visit(v, std::forward<Args>(args)...);
 1845|   115k|    } else {
 1846|    380|        return make_regular_sub_pos(node, shift, size)
 1847|    380|            .visit(v, std::forward<Args>(args)...);
 1848|    380|    }
 1849|   115k|}
_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|   115k|    {
 1814|   115k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   115k|    }
_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|  3.96k|    {
  971|  3.96k|        auto is_leaf = shift_ == BL;
  972|  3.96k|        auto child   = node_->inner()[0];
  973|  3.96k|        auto is_full = size_ >= (size_t{1} << shift_);
  974|  3.96k|        return is_full
  ------------------
  |  Branch (974:16): [True: 3.96k, False: 0]
  ------------------
  975|  3.96k|                   ? (is_leaf
  ------------------
  |  Branch (975:23): [True: 0, False: 3.96k]
  ------------------
  976|  3.96k|                          ? make_full_leaf_pos(child).visit(v, args...)
  977|  3.96k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
  978|  3.96k|                   : (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|  3.96k|    }
_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|  6.24k|    {
 1406|  6.24k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  6.24k|    }
_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|  2.27k|    {
 1362|  2.27k|        auto is_leaf = shift_ == BL;
 1363|  2.27k|        auto child   = node_->inner()[0];
 1364|  2.27k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1364:16): [True: 0, False: 2.27k]
  ------------------
 1365|  2.27k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1366|  2.27k|    }
_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|  5.98k|    {
 1751|  5.98k|        auto offset     = relaxed_->d.count - 1;
 1752|  5.98k|        auto child      = node_->inner()[offset];
 1753|  5.98k|        auto child_size = size(offset);
 1754|  5.98k|        auto is_leaf    = shift_ == BL;
 1755|  5.98k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 2.76k, False: 3.21k]
  ------------------
 1756|  5.98k|                       : visit_maybe_relaxed_sub(
 1757|  3.21k|                             child, shift_ - B, child_size, v, args...);
 1758|  5.98k|    }
_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|  3.21k|{
 1839|  3.21k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 3.21k, False: 0]
  ------------------
 1840|  3.21k|    auto relaxed = node->relaxed();
 1841|  3.21k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.01k, False: 1.20k]
  ------------------
 1842|  2.01k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.01k, False: 0]
  ------------------
 1843|  2.01k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.01k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.01k|    } else {
 1846|  1.20k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.20k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.20k|    }
 1849|  3.21k|}
_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|  2.01k|    {
 1814|  2.01k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.01k|    }
_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|  27.9k|    {
 1751|  27.9k|        auto offset     = relaxed_->d.count - 1;
 1752|  27.9k|        auto child      = node_->inner()[offset];
 1753|  27.9k|        auto child_size = size(offset);
 1754|  27.9k|        auto is_leaf    = shift_ == BL;
 1755|  27.9k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 12.0k, False: 15.8k]
  ------------------
 1756|  27.9k|                       : visit_maybe_relaxed_sub(
 1757|  15.8k|                             child, shift_ - B, child_size, v, args...);
 1758|  27.9k|    }
_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|  15.8k|{
 1839|  15.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 15.8k, False: 0]
  ------------------
 1840|  15.8k|    auto relaxed = node->relaxed();
 1841|  15.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 3.25k, False: 12.6k]
  ------------------
 1842|  3.25k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 3.25k, False: 0]
  ------------------
 1843|  3.25k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  3.25k|            .visit(v, std::forward<Args>(args)...);
 1845|  12.6k|    } else {
 1846|  12.6k|        return make_regular_sub_pos(node, shift, size)
 1847|  12.6k|            .visit(v, std::forward<Args>(args)...);
 1848|  12.6k|    }
 1849|  15.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|  3.25k|    {
 1814|  3.25k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  3.25k|    }
_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|  2.18M|    {
 1751|  2.18M|        auto offset     = relaxed_->d.count - 1;
 1752|  2.18M|        auto child      = node_->inner()[offset];
 1753|  2.18M|        auto child_size = size(offset);
 1754|  2.18M|        auto is_leaf    = shift_ == BL;
 1755|  2.18M|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1755:16): [True: 85.3k, False: 2.10M]
  ------------------
 1756|  2.18M|                       : visit_maybe_relaxed_sub(
 1757|  2.10M|                             child, shift_ - B, child_size, v, args...);
 1758|  2.18M|    }
_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|  2.10M|{
 1839|  2.10M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.10M, False: 0]
  ------------------
 1840|  2.10M|    auto relaxed = node->relaxed();
 1841|  2.10M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.72M, False: 377k]
  ------------------
 1842|  1.72M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.72M, False: 0]
  ------------------
 1843|  1.72M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.72M|            .visit(v, std::forward<Args>(args)...);
 1845|  1.72M|    } else {
 1846|   377k|        return make_regular_sub_pos(node, shift, size)
 1847|   377k|            .visit(v, std::forward<Args>(args)...);
 1848|   377k|    }
 1849|  2.10M|}
_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.72M|    {
 1814|  1.72M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.72M|    }
_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|  22.6k|    {
 1037|  22.6k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  22.6k|    }
_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.1k|    {
 1037|  14.1k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  14.1k|    }
_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.1k|{
 1839|  14.1k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 14.1k, False: 0]
  ------------------
 1840|  14.1k|    auto relaxed = node->relaxed();
 1841|  14.1k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.03k, False: 8.10k]
  ------------------
 1842|  6.03k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.03k, False: 0]
  ------------------
 1843|  6.03k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.03k|            .visit(v, std::forward<Args>(args)...);
 1845|  8.10k|    } else {
 1846|  8.10k|        return make_regular_sub_pos(node, shift, size)
 1847|  8.10k|            .visit(v, std::forward<Args>(args)...);
 1848|  8.10k|    }
 1849|  14.1k|}
_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.03k|    {
 1814|  6.03k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.03k|    }
_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|  8.10k|    {
 1037|  8.10k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  8.10k|    }
_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|  62.6k|    {
 1814|  62.6k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  62.6k|    }
_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|  57.6k|    {
 1738|  57.6k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 57.6k, False: 0]
  ------------------
 1739|  57.6k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 57.6k, False: 0]
  ------------------
 1740|  57.6k|        auto child   = node_->inner()[offset_hint];
 1741|  57.6k|        auto is_leaf = shift_ == BL;
 1742|  57.6k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 57.6k]
  ------------------
 1743|  57.6k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  57.6k|                   : visit_maybe_relaxed_sub(
 1745|  57.6k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  57.6k|    }
_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|  57.6k|{
 1839|  57.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 57.6k, False: 0]
  ------------------
 1840|  57.6k|    auto relaxed = node->relaxed();
 1841|  57.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 8.93k, False: 48.7k]
  ------------------
 1842|  8.93k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 8.93k, False: 0]
  ------------------
 1843|  8.93k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  8.93k|            .visit(v, std::forward<Args>(args)...);
 1845|  48.7k|    } else {
 1846|  48.7k|        return make_regular_sub_pos(node, shift, size)
 1847|  48.7k|            .visit(v, std::forward<Args>(args)...);
 1848|  48.7k|    }
 1849|  57.6k|}
_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|  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_policyELb0ELb1EEELj2ELj2EEEE7last_ohINS1_21push_tail_mut_visitorISC_Lb1EEEJRNSA_5applyIS7_E4type4editERPSC_EEEDcT_jDpOT0_:
  952|   202k|    {
  953|   202k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|   202k|    }
_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|   202k|{
  678|   202k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 202k, False: 0]
  ------------------
  679|   202k|    constexpr auto B  = bits<Pos>;
  680|   202k|    constexpr auto BL = bits_leaf<Pos>;
  681|   202k|    auto child        = p.node()->inner()[offset_hint];
  682|   202k|    auto is_leaf      = p.shift() == BL;
  683|   202k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 202k]
  ------------------
  684|   202k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   202k|                         .visit(v, args...);
  686|   202k|}
_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|   960k|    {
  337|   960k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   960k|    }
_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|   757k|    {
  331|   757k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|   757k|    }
_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|   757k|{
  678|   757k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 757k, False: 0]
  ------------------
  679|   757k|    constexpr auto B  = bits<Pos>;
  680|   757k|    constexpr auto BL = bits_leaf<Pos>;
  681|   757k|    auto child        = p.node()->inner()[offset_hint];
  682|   757k|    auto is_leaf      = p.shift() == BL;
  683|   757k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 757k]
  ------------------
  684|   757k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|   757k|                         .visit(v, args...);
  686|   757k|}
_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.77k|    {
  331|  1.77k|        return last_oh_regular(*this, v, offset_hint, args...);
  332|  1.77k|    }
_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.77k|{
  678|  1.77k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.77k, False: 0]
  ------------------
  679|  1.77k|    constexpr auto B  = bits<Pos>;
  680|  1.77k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.77k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.77k|    auto is_leaf      = p.shift() == BL;
  683|  1.77k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.77k]
  ------------------
  684|  1.77k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.77k|                         .visit(v, args...);
  686|  1.77k|}
_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|  3.17k|    {
  337|  3.17k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.17k|    }
_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.39k|    {
  953|  1.39k|        return last_oh_regular(*this, v, offset_hint, args...);
  954|  1.39k|    }
_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.39k|{
  678|  1.39k|    assert(offset_hint == p.count() - 1);
  ------------------
  |  Branch (678:5): [True: 1.39k, False: 0]
  ------------------
  679|  1.39k|    constexpr auto B  = bits<Pos>;
  680|  1.39k|    constexpr auto BL = bits_leaf<Pos>;
  681|  1.39k|    auto child        = p.node()->inner()[offset_hint];
  682|  1.39k|    auto is_leaf      = p.shift() == BL;
  683|  1.39k|    return is_leaf ? make_leaf_pos(child, p.size()).visit(v, args...)
  ------------------
  |  Branch (683:12): [True: 0, False: 1.39k]
  ------------------
  684|  1.39k|                   : make_regular_pos(child, p.shift() - B, p.size())
  685|  1.39k|                         .visit(v, args...);
  686|  1.39k|}
_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|  8.04k|    {
 1738|  8.04k|        assert(offset_hint == count() - 1);
  ------------------
  |  Branch (1738:9): [True: 8.04k, False: 0]
  ------------------
 1739|  8.04k|        assert(child_size_hint == size(offset_hint));
  ------------------
  |  Branch (1739:9): [True: 8.04k, False: 0]
  ------------------
 1740|  8.04k|        auto child   = node_->inner()[offset_hint];
 1741|  8.04k|        auto is_leaf = shift_ == BL;
 1742|  8.04k|        return is_leaf
  ------------------
  |  Branch (1742:16): [True: 0, False: 8.04k]
  ------------------
 1743|  8.04k|                   ? make_leaf_sub_pos(child, child_size_hint).visit(v, args...)
 1744|  8.04k|                   : visit_maybe_relaxed_sub(
 1745|  8.04k|                         child, shift_ - B, child_size_hint, v, args...);
 1746|  8.04k|    }
_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|  8.04k|{
 1839|  8.04k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 8.04k, False: 0]
  ------------------
 1840|  8.04k|    auto relaxed = node->relaxed();
 1841|  8.04k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 6.99k, False: 1.05k]
  ------------------
 1842|  6.99k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 6.99k, False: 0]
  ------------------
 1843|  6.99k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  6.99k|            .visit(v, std::forward<Args>(args)...);
 1845|  6.99k|    } else {
 1846|  1.05k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.05k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.05k|    }
 1849|  8.04k|}
_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.99k|    {
 1814|  6.99k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  6.99k|    }
_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.05k|    {
 1037|  1.05k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.05k|    }
_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|   160k|    {
 1037|   160k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   160k|    }
_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|  23.8k|{
 1839|  23.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 23.8k, False: 0]
  ------------------
 1840|  23.8k|    auto relaxed = node->relaxed();
 1841|  23.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 17.9k, False: 5.89k]
  ------------------
 1842|  17.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 17.9k, False: 0]
  ------------------
 1843|  17.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  17.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  17.9k|    } else {
 1846|  5.89k|        return make_regular_sub_pos(node, shift, size)
 1847|  5.89k|            .visit(v, std::forward<Args>(args)...);
 1848|  5.89k|    }
 1849|  23.8k|}
_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|  17.9k|    {
 1814|  17.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  17.9k|    }
_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|  76.5k|    {
 1687|  76.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 76.5k, False: 0]
  ------------------
 1688|  76.5k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 16.6k, False: 59.8k]
  ------------------
 1689|  76.5k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  76.5k|    }
_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|  76.5k|    {
 1699|  76.5k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  76.5k|    }
_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|  76.5k|    {
 1718|  76.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 76.5k, False: 0]
  ------------------
 1719|  76.5k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 16.6k, False: 59.8k]
  |  Branch (1719:9): [True: 76.5k, False: 0]
  ------------------
 1720|  76.5k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  76.5k|        auto child     = node_->inner()[offset_hint];
 1722|  76.5k|        auto is_leaf   = shift_ == BL;
 1723|  76.5k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  76.5k|        auto next_idx  = idx - left_size_hint;
 1725|  76.5k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 14.4k, False: 62.0k]
  ------------------
 1726|  76.5k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  14.4k|                         .visit(v, next_idx, args...)
 1728|  76.5k|                   : visit_maybe_relaxed_sub(
 1729|  62.0k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  76.5k|    }
_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|  14.4k|    {
  145|  14.4k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  14.4k|    }
_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|  62.0k|{
 1839|  62.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 62.0k, False: 0]
  ------------------
 1840|  62.0k|    auto relaxed = node->relaxed();
 1841|  62.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 58.5k, False: 3.48k]
  ------------------
 1842|  58.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 58.5k, False: 0]
  ------------------
 1843|  58.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  58.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  58.5k|    } else {
 1846|  3.48k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.48k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.48k|    }
 1849|  62.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|  58.5k|    {
 1814|  58.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  58.5k|    }
_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.48k|    {
 1037|  3.48k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.48k|    }
_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|  9.38k|    {
  939|  9.38k|        return towards_oh_ch_regular(
  940|  9.38k|            *this, v, idx, offset_hint, count(), args...);
  941|  9.38k|    }
_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|  9.38k|{
  633|  9.38k|    constexpr auto B  = bits<Pos>;
  634|  9.38k|    constexpr auto BL = bits_leaf<Pos>;
  635|  9.38k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 9.38k, False: 0]
  ------------------
  636|  9.38k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 9.38k, False: 0]
  ------------------
  637|  9.38k|    auto is_leaf = p.shift() == BL;
  638|  9.38k|    auto child   = p.node()->inner()[offset_hint];
  639|  9.38k|    auto is_full = offset_hint + 1 != count_hint;
  640|  9.38k|    return is_full
  ------------------
  |  Branch (640:12): [True: 7.40k, False: 1.97k]
  ------------------
  641|  9.38k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.32k, False: 6.07k]
  ------------------
  642|  7.40k|                          : make_full_pos(child, p.shift() - B)
  643|  6.07k|                                .visit(v, idx, args...))
  644|  9.38k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 592, False: 1.38k]
  ------------------
  645|  1.97k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.97k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.38k|                            .visit(v, idx, args...));
  648|  9.38k|}
_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|  8.20k|    {
  208|  8.20k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  8.20k|    }
_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|  9.70k|    {
 1406|  9.70k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  9.70k|    }
_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|  9.70k|    {
 1330|  9.70k|        return towards_oh(v, idx, offset_hint, args...);
 1331|  9.70k|    }
_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|  9.70k|    {
 1337|  9.70k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 9.70k, False: 0]
  ------------------
 1338|  9.70k|        auto is_leaf = shift_ == BL;
 1339|  9.70k|        auto child   = node_->inner()[offset_hint];
 1340|  9.70k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 6.39k, False: 3.31k]
  ------------------
 1341|  9.70k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  9.70k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  9.70k|    }
_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.17k|    {
  113|  1.17k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  1.17k|    }
_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.00k|    {
  337|  2.00k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  2.00k|    }
_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.00k|    {
  317|  2.00k|        return towards_oh_ch_regular(
  318|  2.00k|            *this, v, idx, offset_hint, count(), args...);
  319|  2.00k|    }
_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.00k|{
  633|  2.00k|    constexpr auto B  = bits<Pos>;
  634|  2.00k|    constexpr auto BL = bits_leaf<Pos>;
  635|  2.00k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 2.00k, False: 0]
  ------------------
  636|  2.00k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 2.00k, False: 0]
  ------------------
  637|  2.00k|    auto is_leaf = p.shift() == BL;
  638|  2.00k|    auto child   = p.node()->inner()[offset_hint];
  639|  2.00k|    auto is_full = offset_hint + 1 != count_hint;
  640|  2.00k|    return is_full
  ------------------
  |  Branch (640:12): [True: 804, False: 1.20k]
  ------------------
  641|  2.00k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 483, False: 321]
  ------------------
  642|    804|                          : make_full_pos(child, p.shift() - B)
  643|    321|                                .visit(v, idx, args...))
  644|  2.00k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 582, False: 623]
  ------------------
  645|  1.20k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  1.20k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|    623|                            .visit(v, idx, args...));
  648|  2.00k|}
_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|  5.89k|    {
 1037|  5.89k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  5.89k|    }
_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|  67.4k|{
 1839|  67.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 67.4k, False: 0]
  ------------------
 1840|  67.4k|    auto relaxed = node->relaxed();
 1841|  67.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 54.8k, False: 12.5k]
  ------------------
 1842|  54.8k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 54.8k, False: 0]
  ------------------
 1843|  54.8k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  54.8k|            .visit(v, std::forward<Args>(args)...);
 1845|  54.8k|    } else {
 1846|  12.5k|        return make_regular_sub_pos(node, shift, size)
 1847|  12.5k|            .visit(v, std::forward<Args>(args)...);
 1848|  12.5k|    }
 1849|  67.4k|}
_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|  54.8k|    {
 1814|  54.8k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  54.8k|    }
_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|  32.5k|    {
 1687|  32.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 32.5k, False: 0]
  ------------------
 1688|  32.5k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 32.5k]
  ------------------
 1689|  32.5k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  32.5k|    }
_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|  32.5k|    {
 1699|  32.5k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  32.5k|    }
_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|  32.5k|    {
 1718|  32.5k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 32.5k, False: 0]
  ------------------
 1719|  32.5k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 32.5k]
  |  Branch (1719:9): [True: 32.5k, False: 0]
  ------------------
 1720|  32.5k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  32.5k|        auto child     = node_->inner()[offset_hint];
 1722|  32.5k|        auto is_leaf   = shift_ == BL;
 1723|  32.5k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  32.5k|        auto next_idx  = idx - left_size_hint;
 1725|  32.5k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 1.07k, False: 31.4k]
  ------------------
 1726|  32.5k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  1.07k|                         .visit(v, next_idx, args...)
 1728|  32.5k|                   : visit_maybe_relaxed_sub(
 1729|  31.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  32.5k|    }
_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|  25.9k|    {
 1687|  25.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 25.9k, False: 0]
  ------------------
 1688|  25.9k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 0, False: 25.9k]
  ------------------
 1689|  25.9k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  25.9k|    }
_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|  25.9k|    {
 1699|  25.9k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  25.9k|    }
_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|  25.9k|    {
 1718|  25.9k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 25.9k, False: 0]
  ------------------
 1719|  25.9k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 0, False: 25.9k]
  |  Branch (1719:9): [True: 25.9k, False: 0]
  ------------------
 1720|  25.9k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  25.9k|        auto child     = node_->inner()[offset_hint];
 1722|  25.9k|        auto is_leaf   = shift_ == BL;
 1723|  25.9k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  25.9k|        auto next_idx  = idx - left_size_hint;
 1725|  25.9k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 570, False: 25.4k]
  ------------------
 1726|  25.9k|                   ? make_leaf_sub_pos(child, next_size)
 1727|    570|                         .visit(v, next_idx, args...)
 1728|  25.9k|                   : visit_maybe_relaxed_sub(
 1729|  25.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  25.9k|    }
_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|    570|    {
  145|    570|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    570|    }
_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|  25.4k|{
 1839|  25.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 25.4k, False: 0]
  ------------------
 1840|  25.4k|    auto relaxed = node->relaxed();
 1841|  25.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 23.9k, False: 1.51k]
  ------------------
 1842|  23.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 23.9k, False: 0]
  ------------------
 1843|  23.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  23.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  23.9k|    } else {
 1846|  1.51k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.51k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.51k|    }
 1849|  25.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|  23.9k|    {
 1814|  23.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  23.9k|    }
_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.51k|    {
 1037|  1.51k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.51k|    }
_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.41k|    {
  928|  2.41k|        return towards_oh_ch_regular(
  929|  2.41k|            *this, v, idx, offset_hint, count(), args...);
  930|  2.41k|    }
_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.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: 2.01k, False: 403]
  ------------------
  641|  2.41k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 726, False: 1.28k]
  ------------------
  642|  2.01k|                          : make_full_pos(child, p.shift() - B)
  643|  1.28k|                                .visit(v, idx, args...))
  644|  2.41k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 403, False: 0]
  ------------------
  645|    403|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    403|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  2.41k|}
_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.51k|    {
  208|  1.51k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.51k|    }
_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|  1.86k|    {
 1406|  1.86k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.86k|    }
_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.36k|    {
 1337|  1.36k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.36k, False: 0]
  ------------------
 1338|  1.36k|        auto is_leaf = shift_ == BL;
 1339|  1.36k|        auto child   = node_->inner()[offset_hint];
 1340|  1.36k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 786, False: 583]
  ------------------
 1341|  1.36k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.36k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.36k|    }
_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.06k|    {
 1337|  3.06k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 3.06k, False: 0]
  ------------------
 1338|  3.06k|        auto is_leaf = shift_ == BL;
 1339|  3.06k|        auto child   = node_->inner()[offset_hint];
 1340|  3.06k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 1.96k, False: 1.10k]
  ------------------
 1341|  3.06k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  3.06k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  3.06k|    }
_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.34k|    {
  208|  5.34k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.34k|    }
_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.32k|    {
 1406|  4.32k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.32k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1405|  3.74k|    {
 1406|  3.74k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.74k|    }
_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|  8.15k|    {
 1337|  8.15k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 8.15k, False: 0]
  ------------------
 1338|  8.15k|        auto is_leaf = shift_ == BL;
 1339|  8.15k|        auto child   = node_->inner()[offset_hint];
 1340|  8.15k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 6.63k, False: 1.51k]
  ------------------
 1341|  8.15k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  8.15k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  8.15k|    }
_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.43k|    {
  208|  9.43k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  9.43k|    }
_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|  3.28k|    {
 1406|  3.28k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.28k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1310|  4.22k|    {
 1311|  4.22k|        each_i(v, start, branches<B>, args...);
 1312|  4.22k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE6each_iINS1_11dec_visitorEJEEEvT_jjDpOT0_:
 1263|  6.43k|    {
 1264|  6.43k|        auto p = node_->inner() + i;
 1265|  6.43k|        auto e = node_->inner() + n;
 1266|  6.43k|        if (shift_ == BL) {
  ------------------
  |  Branch (1266:13): [True: 3.73k, False: 2.69k]
  ------------------
 1267|  11.5k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1267:20): [True: 7.80k, False: 3.73k]
  ------------------
 1268|  7.80k|                IMMER_PREFETCH(p + 1);
 1269|  7.80k|                make_full_leaf_pos(*p).visit(v, args...);
 1270|  7.80k|            }
 1271|  3.73k|        } else {
 1272|  2.69k|            auto ss = shift_ - B;
 1273|  8.16k|            for (; p != e; ++p)
  ------------------
  |  Branch (1273:20): [True: 5.46k, False: 2.69k]
  ------------------
 1274|  5.46k|                make_full_pos(*p, ss).visit(v, args...);
 1275|  2.69k|        }
 1276|  6.43k|    }
_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|    403|    {
  113|    403|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    403|    }
_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.58k|    {
  306|  5.58k|        return towards_oh_ch_regular(
  307|  5.58k|            *this, v, idx, offset_hint, count(), args...);
  308|  5.58k|    }
_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.58k|{
  633|  5.58k|    constexpr auto B  = bits<Pos>;
  634|  5.58k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.58k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.58k, False: 0]
  ------------------
  636|  5.58k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.58k, False: 0]
  ------------------
  637|  5.58k|    auto is_leaf = p.shift() == BL;
  638|  5.58k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.58k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.58k|    return is_full
  ------------------
  |  Branch (640:12): [True: 2.82k, False: 2.75k]
  ------------------
  641|  5.58k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.75k, False: 1.07k]
  ------------------
  642|  2.82k|                          : make_full_pos(child, p.shift() - B)
  643|  1.07k|                                .visit(v, idx, args...))
  644|  5.58k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.20k, False: 1.55k]
  ------------------
  645|  2.75k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.75k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.55k|                            .visit(v, idx, args...));
  648|  5.58k|}
_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.38k|    {
  113|  2.38k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.38k|    }
_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|  6.20k|    {
  337|  6.20k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  6.20k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
  336|  3.95k|    {
  337|  3.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.95k|    }
_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.82k|    {
  306|  3.82k|        return towards_oh_ch_regular(
  307|  3.82k|            *this, v, idx, offset_hint, count(), args...);
  308|  3.82k|    }
_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.82k|{
  633|  3.82k|    constexpr auto B  = bits<Pos>;
  634|  3.82k|    constexpr auto BL = bits_leaf<Pos>;
  635|  3.82k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 3.82k, False: 0]
  ------------------
  636|  3.82k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 3.82k, False: 0]
  ------------------
  637|  3.82k|    auto is_leaf = p.shift() == BL;
  638|  3.82k|    auto child   = p.node()->inner()[offset_hint];
  639|  3.82k|    auto is_full = offset_hint + 1 != count_hint;
  640|  3.82k|    return is_full
  ------------------
  |  Branch (640:12): [True: 1.01k, False: 2.80k]
  ------------------
  641|  3.82k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 723, False: 294]
  ------------------
  642|  1.01k|                          : make_full_pos(child, p.shift() - B)
  643|    294|                                .visit(v, idx, args...))
  644|  3.82k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.71k, False: 1.08k]
  ------------------
  645|  2.80k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.80k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  1.08k|                            .visit(v, idx, args...));
  648|  3.82k|}
_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.53k|    {
  113|  2.53k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.53k|    }
_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|  3.19k|    {
  337|  3.19k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  3.19k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
  285|  5.58k|    {
  286|  5.58k|        return each_right_regular(*this, v, start, args...);
  287|  5.58k|    }
_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.58k|{
  598|  5.58k|    constexpr auto B  = bits<Pos>;
  599|  5.58k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  5.58k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 2.95k, False: 2.62k]
  ------------------
  602|  2.95k|        auto n    = p.node()->inner() + start;
  603|  2.95k|        auto last = p.count() - 1;
  604|  2.95k|        auto e    = p.node()->inner() + last;
  605|  2.95k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 1.75k, False: 1.20k]
  ------------------
  606|  3.00k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 1.25k, False: 1.75k]
  ------------------
  607|  1.25k|                IMMER_PREFETCH(n + 1);
  608|  1.25k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  1.25k|            }
  610|  1.75k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  1.75k|        }
  612|  2.95k|    } else {
  613|  2.62k|        auto n    = p.node()->inner() + start;
  614|  2.62k|        auto last = p.count() - 1;
  615|  2.62k|        auto e    = p.node()->inner() + last;
  616|  2.62k|        auto ss   = p.shift() - B;
  617|  2.62k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 1.07k, False: 1.55k]
  ------------------
  618|  2.14k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 1.06k, False: 1.07k]
  ------------------
  619|  1.06k|                make_full_pos(*n, ss).visit(v, args...);
  620|  1.07k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  1.07k|        }
  622|  2.62k|    }
  623|  5.58k|}
_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|  9.60k|    {
  928|  9.60k|        return towards_oh_ch_regular(
  929|  9.60k|            *this, v, idx, offset_hint, count(), args...);
  930|  9.60k|    }
_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|  9.60k|{
  633|  9.60k|    constexpr auto B  = bits<Pos>;
  634|  9.60k|    constexpr auto BL = bits_leaf<Pos>;
  635|  9.60k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 9.60k, False: 0]
  ------------------
  636|  9.60k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 9.60k, False: 0]
  ------------------
  637|  9.60k|    auto is_leaf = p.shift() == BL;
  638|  9.60k|    auto child   = p.node()->inner()[offset_hint];
  639|  9.60k|    auto is_full = offset_hint + 1 != count_hint;
  640|  9.60k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.77k, False: 5.83k]
  ------------------
  641|  9.60k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.62k, False: 2.14k]
  ------------------
  642|  3.77k|                          : make_full_pos(child, p.shift() - B)
  643|  2.14k|                                .visit(v, idx, args...))
  644|  9.60k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 1.17k, False: 4.65k]
  ------------------
  645|  5.83k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  5.83k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  4.65k|                            .visit(v, idx, args...));
  648|  9.60k|}
_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.46k|    {
  928|  6.46k|        return towards_oh_ch_regular(
  929|  6.46k|            *this, v, idx, offset_hint, count(), args...);
  930|  6.46k|    }
_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.46k|{
  633|  6.46k|    constexpr auto B  = bits<Pos>;
  634|  6.46k|    constexpr auto BL = bits_leaf<Pos>;
  635|  6.46k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 6.46k, False: 0]
  ------------------
  636|  6.46k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 6.46k, False: 0]
  ------------------
  637|  6.46k|    auto is_leaf = p.shift() == BL;
  638|  6.46k|    auto child   = p.node()->inner()[offset_hint];
  639|  6.46k|    auto is_full = offset_hint + 1 != count_hint;
  640|  6.46k|    return is_full
  ------------------
  |  Branch (640:12): [True: 3.54k, False: 2.92k]
  ------------------
  641|  6.46k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 2.07k, False: 1.46k]
  ------------------
  642|  3.54k|                          : make_full_pos(child, p.shift() - B)
  643|  1.46k|                                .visit(v, idx, args...))
  644|  6.46k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 818, False: 2.11k]
  ------------------
  645|  2.92k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  2.92k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  2.11k|                            .visit(v, idx, args...));
  648|  6.46k|}
_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.1k|    {
  868|  15.1k|        return each_right_regular(*this, v, start, args...);
  869|  15.1k|    }
_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.1k|{
  598|  15.1k|    constexpr auto B  = bits<Pos>;
  599|  15.1k|    constexpr auto BL = bits_leaf<Pos>;
  600|       |
  601|  15.1k|    if (p.shift() == BL) {
  ------------------
  |  Branch (601:9): [True: 4.69k, False: 10.4k]
  ------------------
  602|  4.69k|        auto n    = p.node()->inner() + start;
  603|  4.69k|        auto last = p.count() - 1;
  604|  4.69k|        auto e    = p.node()->inner() + last;
  605|  4.69k|        if (n <= e) {
  ------------------
  |  Branch (605:13): [True: 2.83k, False: 1.85k]
  ------------------
  606|  4.81k|            for (; n != e; ++n) {
  ------------------
  |  Branch (606:20): [True: 1.98k, False: 2.83k]
  ------------------
  607|  1.98k|                IMMER_PREFETCH(n + 1);
  608|  1.98k|                make_full_leaf_pos(*n).visit(v, args...);
  609|  1.98k|            }
  610|  2.83k|            make_leaf_pos(*n, p.size()).visit(v, args...);
  611|  2.83k|        }
  612|  10.4k|    } else {
  613|  10.4k|        auto n    = p.node()->inner() + start;
  614|  10.4k|        auto last = p.count() - 1;
  615|  10.4k|        auto e    = p.node()->inner() + last;
  616|  10.4k|        auto ss   = p.shift() - B;
  617|  10.4k|        if (n <= e) {
  ------------------
  |  Branch (617:13): [True: 5.84k, False: 4.65k]
  ------------------
  618|  9.28k|            for (; n != e; ++n)
  ------------------
  |  Branch (618:20): [True: 3.44k, False: 5.84k]
  ------------------
  619|  3.44k|                make_full_pos(*n, ss).visit(v, args...);
  620|  5.84k|            make_regular_pos(*n, ss, p.size()).visit(v, args...);
  621|  5.84k|        }
  622|  10.4k|    }
  623|  15.1k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1813|  43.2k|    {
 1814|  43.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  43.2k|    }
_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|  21.2k|    {
 1687|  21.2k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 21.2k, False: 0]
  ------------------
 1688|  21.2k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 17.0k, False: 4.17k]
  ------------------
 1689|  21.2k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  21.2k|    }
_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|  21.2k|    {
 1699|  21.2k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  21.2k|    }
_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|  21.2k|    {
 1718|  21.2k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 21.2k, False: 0]
  ------------------
 1719|  21.2k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 17.0k, False: 4.17k]
  |  Branch (1719:9): [True: 21.2k, False: 0]
  ------------------
 1720|  21.2k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  21.2k|        auto child     = node_->inner()[offset_hint];
 1722|  21.2k|        auto is_leaf   = shift_ == BL;
 1723|  21.2k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  21.2k|        auto next_idx  = idx - left_size_hint;
 1725|  21.2k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 3.90k, False: 17.3k]
  ------------------
 1726|  21.2k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  3.90k|                         .visit(v, next_idx, args...)
 1728|  21.2k|                   : visit_maybe_relaxed_sub(
 1729|  17.3k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  21.2k|    }
_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|  3.90k|    {
  145|  3.90k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.90k|    }
_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|  17.3k|{
 1839|  17.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 17.3k, False: 0]
  ------------------
 1840|  17.3k|    auto relaxed = node->relaxed();
 1841|  17.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 10.2k, False: 7.02k]
  ------------------
 1842|  10.2k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 10.2k, False: 0]
  ------------------
 1843|  10.2k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  10.2k|            .visit(v, std::forward<Args>(args)...);
 1845|  10.2k|    } else {
 1846|  7.02k|        return make_regular_sub_pos(node, shift, size)
 1847|  7.02k|            .visit(v, std::forward<Args>(args)...);
 1848|  7.02k|    }
 1849|  17.3k|}
_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|  10.2k|    {
 1814|  10.2k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  10.2k|    }
_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.02k|    {
 1037|  7.02k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  7.02k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_17dec_right_visitorEJjEEEDcT_DpOT0_:
 1036|  11.1k|    {
 1037|  11.1k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  11.1k|    }
_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|  16.8k|    {
 1687|  16.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 16.8k, False: 0]
  ------------------
 1688|  16.8k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 10.9k, False: 5.90k]
  ------------------
 1689|  16.8k|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  16.8k|    }
_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|  16.8k|    {
 1699|  16.8k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  16.8k|    }
_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|  16.8k|    {
 1718|  16.8k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 16.8k, False: 0]
  ------------------
 1719|  16.8k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 10.9k, False: 5.90k]
  |  Branch (1719:9): [True: 16.8k, False: 0]
  ------------------
 1720|  16.8k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  16.8k|        auto child     = node_->inner()[offset_hint];
 1722|  16.8k|        auto is_leaf   = shift_ == BL;
 1723|  16.8k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  16.8k|        auto next_idx  = idx - left_size_hint;
 1725|  16.8k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 6.39k, False: 10.4k]
  ------------------
 1726|  16.8k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  6.39k|                         .visit(v, next_idx, args...)
 1728|  16.8k|                   : visit_maybe_relaxed_sub(
 1729|  10.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  16.8k|    }
_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|  6.39k|    {
  145|  6.39k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  6.39k|    }
_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|  10.4k|{
 1839|  10.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 10.4k, False: 0]
  ------------------
 1840|  10.4k|    auto relaxed = node->relaxed();
 1841|  10.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 7.46k, False: 2.95k]
  ------------------
 1842|  7.46k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 7.46k, False: 0]
  ------------------
 1843|  7.46k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  7.46k|            .visit(v, std::forward<Args>(args)...);
 1845|  7.46k|    } else {
 1846|  2.95k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.95k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.95k|    }
 1849|  10.4k|}
_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|  7.46k|    {
 1814|  7.46k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  7.46k|    }
_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|  2.95k|    {
 1037|  2.95k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.95k|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10each_rightINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1653|  53.7k|    {
 1654|  53.7k|        assert(start > 0);
  ------------------
  |  Branch (1654:9): [True: 53.7k, False: 0]
  ------------------
 1655|  53.7k|        assert(start <= relaxed_->d.count);
  ------------------
  |  Branch (1655:9): [True: 53.7k, False: 0]
  ------------------
 1656|  53.7k|        auto s = relaxed_->d.sizes[start - 1];
 1657|  53.7k|        auto p = node_->inner();
 1658|  53.7k|        if (shift_ == BL) {
  ------------------
  |  Branch (1658:13): [True: 4.97k, False: 48.7k]
  ------------------
 1659|  12.0k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1659:34): [True: 7.03k, False: 4.97k]
  ------------------
 1660|  7.03k|                IMMER_PREFETCH(p + i + 1);
 1661|  7.03k|                make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
 1662|  7.03k|                    .visit(v, args...);
 1663|  7.03k|                s = relaxed_->d.sizes[i];
 1664|  7.03k|                assert(s);
  ------------------
  |  Branch (1664:17): [True: 7.03k, False: 0]
  ------------------
 1665|  7.03k|            }
 1666|  48.7k|        } else {
 1667|  48.7k|            auto ss = shift_ - B;
 1668|   150k|            for (auto i = start; i < relaxed_->d.count; ++i) {
  ------------------
  |  Branch (1668:34): [True: 101k, False: 48.7k]
  ------------------
 1669|   101k|                visit_maybe_relaxed_sub(
 1670|   101k|                    p[i], ss, relaxed_->d.sizes[i] - s, v, args...);
 1671|   101k|                s = relaxed_->d.sizes[i];
 1672|       |                assert(s);
  ------------------
  |  Branch (1672:17): [True: 101k, False: 0]
  ------------------
 1673|   101k|            }
 1674|  48.7k|        }
 1675|  53.7k|    }
_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|  12.5k|    {
 1037|  12.5k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  12.5k|    }
_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|  5.58k|    {
  928|  5.58k|        return towards_oh_ch_regular(
  929|  5.58k|            *this, v, idx, offset_hint, count(), args...);
  930|  5.58k|    }
_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|  5.58k|{
  633|  5.58k|    constexpr auto B  = bits<Pos>;
  634|  5.58k|    constexpr auto BL = bits_leaf<Pos>;
  635|  5.58k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 5.58k, False: 0]
  ------------------
  636|  5.58k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 5.58k, False: 0]
  ------------------
  637|  5.58k|    auto is_leaf = p.shift() == BL;
  638|  5.58k|    auto child   = p.node()->inner()[offset_hint];
  639|  5.58k|    auto is_full = offset_hint + 1 != count_hint;
  640|  5.58k|    return is_full
  ------------------
  |  Branch (640:12): [True: 4.90k, False: 679]
  ------------------
  641|  5.58k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 1.21k, False: 3.69k]
  ------------------
  642|  4.90k|                          : make_full_pos(child, p.shift() - B)
  643|  3.69k|                                .visit(v, idx, args...))
  644|  5.58k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 679, False: 0]
  ------------------
  645|    679|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|    679|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|      0|                            .visit(v, idx, args...));
  648|  5.58k|}
_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.78k|    {
  208|  1.78k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  1.78k|    }
_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|  4.27k|    {
 1406|  4.27k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  4.27k|    }
_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.15k|    {
 1337|  1.15k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.15k, False: 0]
  ------------------
 1338|  1.15k|        auto is_leaf = shift_ == BL;
 1339|  1.15k|        auto child   = node_->inner()[offset_hint];
 1340|  1.15k|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 576, False: 579]
  ------------------
 1341|  1.15k|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.15k|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.15k|    }
_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|    679|    {
  113|    679|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|    679|    }
_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|    701|    {
  145|    701|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|    701|    }
_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|  45.6k|{
 1839|  45.6k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 45.6k, False: 0]
  ------------------
 1840|  45.6k|    auto relaxed = node->relaxed();
 1841|  45.6k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 37.4k, False: 8.14k]
  ------------------
 1842|  37.4k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 37.4k, False: 0]
  ------------------
 1843|  37.4k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  37.4k|            .visit(v, std::forward<Args>(args)...);
 1845|  37.4k|    } else {
 1846|  8.14k|        return make_regular_sub_pos(node, shift, size)
 1847|  8.14k|            .visit(v, std::forward<Args>(args)...);
 1848|  8.14k|    }
 1849|  45.6k|}
_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|  37.4k|    {
 1814|  37.4k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  37.4k|    }
_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|  5.18k|    {
 1706|  5.18k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 5.18k, False: 0]
  ------------------
 1707|  5.18k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 4.51k, False: 671]
  ------------------
 1708|  5.18k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  5.18k|    }
_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|  5.18k|    {
 1718|  5.18k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 5.18k, False: 0]
  ------------------
 1719|  5.18k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 4.51k, False: 671]
  |  Branch (1719:9): [True: 5.18k, False: 0]
  ------------------
 1720|  5.18k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  5.18k|        auto child     = node_->inner()[offset_hint];
 1722|  5.18k|        auto is_leaf   = shift_ == BL;
 1723|  5.18k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  5.18k|        auto next_idx  = idx - left_size_hint;
 1725|  5.18k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 5.18k]
  ------------------
 1726|  5.18k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  5.18k|                   : visit_maybe_relaxed_sub(
 1729|  5.18k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  5.18k|    }
_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.25k|    {
 1706|  4.25k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 4.25k, False: 0]
  ------------------
 1707|  4.25k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 3.59k, False: 663]
  ------------------
 1708|  4.25k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  4.25k|    }
_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.25k|    {
 1718|  4.25k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 4.25k, False: 0]
  ------------------
 1719|  4.25k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 3.59k, False: 663]
  |  Branch (1719:9): [True: 4.25k, False: 0]
  ------------------
 1720|  4.25k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  4.25k|        auto child     = node_->inner()[offset_hint];
 1722|  4.25k|        auto is_leaf   = shift_ == BL;
 1723|  4.25k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  4.25k|        auto next_idx  = idx - left_size_hint;
 1725|  4.25k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 0, False: 4.25k]
  ------------------
 1726|  4.25k|                   ? make_leaf_sub_pos(child, next_size)
 1727|      0|                         .visit(v, next_idx, args...)
 1728|  4.25k|                   : visit_maybe_relaxed_sub(
 1729|  4.25k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  4.25k|    }
_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.25k|{
 1839|  4.25k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 4.25k, False: 0]
  ------------------
 1840|  4.25k|    auto relaxed = node->relaxed();
 1841|  4.25k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.73k, False: 1.52k]
  ------------------
 1842|  2.73k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.73k, False: 0]
  ------------------
 1843|  2.73k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.73k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.73k|    } 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|  4.25k|}
_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.73k|    {
 1814|  2.73k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.73k|    }
_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.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_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb1ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  2.02k|    {
  947|  2.02k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  2.02k|    }
_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.02k|{
  654|  2.02k|    constexpr auto B  = bits<Pos>;
  655|  2.02k|    constexpr auto BL = bits_leaf<Pos>;
  656|  2.02k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 2.02k, False: 0]
  ------------------
  657|  2.02k|    auto is_leaf = p.shift() == BL;
  658|  2.02k|    auto child   = p.node()->inner()[offset_hint];
  659|  2.02k|    auto lsize   = offset_hint << p.shift();
  660|  2.02k|    auto size    = p.this_size();
  661|  2.02k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  2.02k|    return is_full
  ------------------
  |  Branch (662:12): [True: 1.05k, False: 970]
  ------------------
  663|  2.02k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 1.05k]
  ------------------
  664|  1.05k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  1.05k|                      : make_full_pos(child, p.shift() - B)
  666|  1.05k|                            .visit(v, idx - lsize, args...))
  667|  2.02k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 970]
  ------------------
  668|    970|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|    970|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|    970|                            .visit(v, idx - lsize, args...));
  672|  2.02k|}
_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.76k|    {
 1406|  2.76k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.76k|    }
_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.71k|    {
 1349|  1.71k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 1.71k, False: 0]
  ------------------
 1350|  1.71k|        auto is_leaf = shift_ == BL;
 1351|  1.71k|        auto child   = node_->inner()[offset_hint];
 1352|  1.71k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  1.71k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 1.71k]
  ------------------
 1354|  1.71k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  1.71k|                   : make_full_pos(child, shift_ - B)
 1356|  1.71k|                         .visit(v, idx - lsize, args...);
 1357|  1.71k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1405|    313|    {
 1406|    313|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|    313|    }
_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|  1.89k|    {
 1349|  1.89k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 1.89k, False: 0]
  ------------------
 1350|  1.89k|        auto is_leaf = shift_ == BL;
 1351|  1.89k|        auto child   = node_->inner()[offset_hint];
 1352|  1.89k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  1.89k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 1.19k, False: 701]
  ------------------
 1354|  1.89k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  1.89k|                   : make_full_pos(child, shift_ - B)
 1356|    701|                         .visit(v, idx - lsize, args...);
 1357|  1.89k|    }
_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.15k|    {
  208|  3.15k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  3.15k|    }
_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.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_policyELb0ELb1EEELj2ELj2EEEE14towards_sub_ohINS1_22slice_left_mut_visitorISC_Lb0ELb0EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
 1348|  7.54k|    {
 1349|  7.54k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 7.54k, False: 0]
  ------------------
 1350|  7.54k|        auto is_leaf = shift_ == BL;
 1351|  7.54k|        auto child   = node_->inner()[offset_hint];
 1352|  7.54k|        auto lsize   = size_t{offset_hint} << shift_;
 1353|  7.54k|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 5.81k, False: 1.73k]
  ------------------
 1354|  7.54k|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|  7.54k|                   : make_full_pos(child, shift_ - B)
 1356|  1.73k|                         .visit(v, idx - lsize, args...);
 1357|  7.54k|    }
_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|  12.4k|    {
  208|  12.4k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  12.4k|    }
_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.27k|    {
 1406|  3.27k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.27k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE9each_leftINS1_11dec_visitorEJEEEvT_jDpOT0_:
 1316|  2.20k|    {
 1317|  2.20k|        each_i(v, 0, last, args...);
 1318|  2.20k|    }
_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|    970|    {
 1037|    970|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    970|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1036|  4.17k|    {
 1037|  4.17k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.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_Lb0ELb1EEEJRNSA_5applyIS7_E4type4editEEEEDcT_mjDpOT0_:
  946|  3.27k|    {
  947|  3.27k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  3.27k|    }
_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.27k|{
  654|  3.27k|    constexpr auto B  = bits<Pos>;
  655|  3.27k|    constexpr auto BL = bits_leaf<Pos>;
  656|  3.27k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 3.27k, False: 0]
  ------------------
  657|  3.27k|    auto is_leaf = p.shift() == BL;
  658|  3.27k|    auto child   = p.node()->inner()[offset_hint];
  659|  3.27k|    auto lsize   = offset_hint << p.shift();
  660|  3.27k|    auto size    = p.this_size();
  661|  3.27k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  3.27k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.27k, False: 0]
  ------------------
  663|  3.27k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 1.96k, False: 1.31k]
  ------------------
  664|  3.27k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.27k|                      : make_full_pos(child, p.shift() - B)
  666|  1.31k|                            .visit(v, idx - lsize, args...))
  667|  3.27k|               : (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.27k|}
_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|  8.16k|    {
  947|  8.16k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  8.16k|    }
_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|  8.16k|{
  654|  8.16k|    constexpr auto B  = bits<Pos>;
  655|  8.16k|    constexpr auto BL = bits_leaf<Pos>;
  656|  8.16k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 8.16k, False: 0]
  ------------------
  657|  8.16k|    auto is_leaf = p.shift() == BL;
  658|  8.16k|    auto child   = p.node()->inner()[offset_hint];
  659|  8.16k|    auto lsize   = offset_hint << p.shift();
  660|  8.16k|    auto size    = p.this_size();
  661|  8.16k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  8.16k|    return is_full
  ------------------
  |  Branch (662:12): [True: 8.16k, False: 0]
  ------------------
  663|  8.16k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 6.63k, False: 1.53k]
  ------------------
  664|  8.16k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  8.16k|                      : make_full_pos(child, p.shift() - B)
  666|  1.53k|                            .visit(v, idx - lsize, args...))
  667|  8.16k|               : (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|  8.16k|}
_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.44k|    {
  874|  7.44k|        return each_left_regular(*this, v, last, args...);
  875|  7.44k|    }
_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.44k|{
  576|  7.44k|    constexpr auto B  = bits<Pos>;
  577|  7.44k|    constexpr auto BL = bits_leaf<Pos>;
  578|  7.44k|    assert(last < p.count());
  ------------------
  |  Branch (578:5): [True: 7.44k, False: 0]
  ------------------
  579|  7.44k|    if (p.shift() == BL) {
  ------------------
  |  Branch (579:9): [True: 1.96k, False: 5.48k]
  ------------------
  580|  1.96k|        auto n = p.node()->inner();
  581|  1.96k|        auto e = n + last;
  582|  3.92k|        for (; n != e; ++n) {
  ------------------
  |  Branch (582:16): [True: 1.96k, False: 1.96k]
  ------------------
  583|  1.96k|            IMMER_PREFETCH(n + 1);
  584|  1.96k|            make_full_leaf_pos(*n).visit(v, args...);
  585|  1.96k|        }
  586|  5.48k|    } else {
  587|  5.48k|        auto n  = p.node()->inner();
  588|  5.48k|        auto e  = n + last;
  589|  5.48k|        auto ss = p.shift() - B;
  590|  7.68k|        for (; n != e; ++n)
  ------------------
  |  Branch (590:16): [True: 2.19k, False: 5.48k]
  ------------------
  591|  2.19k|            make_full_pos(*n, ss).visit(v, args...);
  592|  5.48k|    }
  593|  7.44k|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_16dec_left_visitorEJRjEEEDcT_DpOT0_:
 1813|  5.18k|    {
 1814|  5.18k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  5.18k|    }
_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|   178k|    {
 1706|   178k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 178k, False: 0]
  ------------------
 1707|   178k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 9.94k, False: 168k]
  ------------------
 1708|   178k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|   178k|    }
_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|   178k|    {
 1718|   178k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 178k, False: 0]
  ------------------
 1719|   178k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 9.94k, False: 168k]
  |  Branch (1719:9): [True: 178k, False: 0]
  ------------------
 1720|   178k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|   178k|        auto child     = node_->inner()[offset_hint];
 1722|   178k|        auto is_leaf   = shift_ == BL;
 1723|   178k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|   178k|        auto next_idx  = idx - left_size_hint;
 1725|   178k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 11.1k, False: 167k]
  ------------------
 1726|   178k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  11.1k|                         .visit(v, next_idx, args...)
 1728|   178k|                   : visit_maybe_relaxed_sub(
 1729|   167k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|   178k|    }
_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|  11.1k|    {
  145|  11.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  11.1k|    }
_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|   167k|{
 1839|   167k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 167k, False: 0]
  ------------------
 1840|   167k|    auto relaxed = node->relaxed();
 1841|   167k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 166k, False: 1.40k]
  ------------------
 1842|   166k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 166k, False: 0]
  ------------------
 1843|   166k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   166k|            .visit(v, std::forward<Args>(args)...);
 1845|   166k|    } else {
 1846|  1.40k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.40k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.40k|    }
 1849|   167k|}
_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|   166k|    {
 1814|   166k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   166k|    }
_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.40k|    {
 1037|  1.40k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.40k|    }
_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|  74.1k|    {
 1706|  74.1k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1706:9): [True: 74.1k, False: 0]
  ------------------
 1707|  74.1k|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1707:26): [True: 23.4k, False: 50.6k]
  ------------------
 1708|  74.1k|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size, args...);
 1709|  74.1k|    }
_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|  74.1k|    {
 1718|  74.1k|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 74.1k, False: 0]
  ------------------
 1719|  74.1k|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 23.4k, False: 50.6k]
  |  Branch (1719:9): [True: 74.1k, False: 0]
  ------------------
 1720|  74.1k|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  74.1k|        auto child     = node_->inner()[offset_hint];
 1722|  74.1k|        auto is_leaf   = shift_ == BL;
 1723|  74.1k|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  74.1k|        auto next_idx  = idx - left_size_hint;
 1725|  74.1k|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 13.6k, False: 60.4k]
  ------------------
 1726|  74.1k|                   ? make_leaf_sub_pos(child, next_size)
 1727|  13.6k|                         .visit(v, next_idx, args...)
 1728|  74.1k|                   : visit_maybe_relaxed_sub(
 1729|  60.4k|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  74.1k|    }
_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.6k|    {
  145|  13.6k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  13.6k|    }
_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|  60.4k|{
 1839|  60.4k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 60.4k, False: 0]
  ------------------
 1840|  60.4k|    auto relaxed = node->relaxed();
 1841|  60.4k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 55.9k, False: 4.52k]
  ------------------
 1842|  55.9k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 55.9k, False: 0]
  ------------------
 1843|  55.9k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  55.9k|            .visit(v, std::forward<Args>(args)...);
 1845|  55.9k|    } else {
 1846|  4.52k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.52k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.52k|    }
 1849|  60.4k|}
_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|  55.9k|    {
 1814|  55.9k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  55.9k|    }
_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|  4.52k|    {
 1037|  4.52k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.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|  8.14k|    {
 1037|  8.14k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  8.14k|    }
_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|  4.17k|    {
  947|  4.17k|        return towards_sub_oh_regular(*this, v, idx, offset_hint, args...);
  948|  4.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_Lb1ELb1EEEJRNSB_5applyIS8_E4type4editEEEEDcOT_T0_mjDpOT1_:
  653|  4.17k|{
  654|  4.17k|    constexpr auto B  = bits<Pos>;
  655|  4.17k|    constexpr auto BL = bits_leaf<Pos>;
  656|  4.17k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (656:5): [True: 4.17k, False: 0]
  ------------------
  657|  4.17k|    auto is_leaf = p.shift() == BL;
  658|  4.17k|    auto child   = p.node()->inner()[offset_hint];
  659|  4.17k|    auto lsize   = offset_hint << p.shift();
  660|  4.17k|    auto size    = p.this_size();
  661|  4.17k|    auto is_full = (size - lsize) >= (size_t{1} << p.shift());
  662|  4.17k|    return is_full
  ------------------
  |  Branch (662:12): [True: 3.10k, False: 1.07k]
  ------------------
  663|  4.17k|               ? (is_leaf
  ------------------
  |  Branch (663:19): [True: 0, False: 3.10k]
  ------------------
  664|  3.10k|                      ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
  665|  3.10k|                      : make_full_pos(child, p.shift() - B)
  666|  3.10k|                            .visit(v, idx - lsize, args...))
  667|  4.17k|               : (is_leaf
  ------------------
  |  Branch (667:19): [True: 0, False: 1.07k]
  ------------------
  668|  1.07k|                      ? make_leaf_sub_pos(child, size - lsize)
  669|      0|                            .visit(v, idx - lsize, args...)
  670|  1.07k|                      : make_regular_sub_pos(child, p.shift() - B, size - lsize)
  671|  1.07k|                            .visit(v, idx - lsize, args...));
  672|  4.17k|}
_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.42k|    {
 1406|  3.42k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.42k|    }
_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|    313|    {
 1349|    313|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1349:9): [True: 313, False: 0]
  ------------------
 1350|    313|        auto is_leaf = shift_ == BL;
 1351|    313|        auto child   = node_->inner()[offset_hint];
 1352|    313|        auto lsize   = size_t{offset_hint} << shift_;
 1353|    313|        return is_leaf
  ------------------
  |  Branch (1353:16): [True: 0, False: 313]
  ------------------
 1354|    313|                   ? make_full_leaf_pos(child).visit(v, idx - lsize, args...)
 1355|    313|                   : make_full_pos(child, shift_ - B)
 1356|    313|                         .visit(v, idx - lsize, args...);
 1357|    313|    }
_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.07k|    {
 1037|  1.07k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.07k|    }
_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|  18.0k|{
 1839|  18.0k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 18.0k, False: 0]
  ------------------
 1840|  18.0k|    auto relaxed = node->relaxed();
 1841|  18.0k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 11.5k, False: 6.51k]
  ------------------
 1842|  11.5k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 11.5k, False: 0]
  ------------------
 1843|  11.5k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  11.5k|            .visit(v, std::forward<Args>(args)...);
 1845|  11.5k|    } else {
 1846|  6.51k|        return make_regular_sub_pos(node, shift, size)
 1847|  6.51k|            .visit(v, std::forward<Args>(args)...);
 1848|  6.51k|    }
 1849|  18.0k|}
_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|  11.5k|    {
 1814|  11.5k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  11.5k|    }
_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|  11.5k|{
 1839|  11.5k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 11.5k, False: 0]
  ------------------
 1840|  11.5k|    auto relaxed = node->relaxed();
 1841|  11.5k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 8.38k, False: 3.18k]
  ------------------
 1842|  8.38k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 8.38k, False: 0]
  ------------------
 1843|  8.38k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  8.38k|            .visit(v, std::forward<Args>(args)...);
 1845|  8.38k|    } else {
 1846|  3.18k|        return make_regular_sub_pos(node, shift, size)
 1847|  3.18k|            .visit(v, std::forward<Args>(args)...);
 1848|  3.18k|    }
 1849|  11.5k|}
_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|  8.38k|    {
 1814|  8.38k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  8.38k|    }
_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|  31.2k|    {
 1794|  31.2k|        auto child      = node_->inner()[offset];
 1795|  31.2k|        auto child_size = size(offset);
 1796|  31.2k|        auto is_leaf    = shift_ == BL;
 1797|  31.2k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 8.39k, False: 22.8k]
  ------------------
 1798|  31.2k|                       : visit_maybe_relaxed_sub(
 1799|  22.8k|                             child, shift_ - B, child_size, v, args...);
 1800|  31.2k|    }
_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|  8.74k|    {
  145|  8.74k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  8.74k|    }
_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|  8.74k|    {
 1805|  8.74k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 8.74k, False: 0]
  ------------------
 1806|  8.74k|        auto child      = node_->inner()[offset];
 1807|  8.74k|        auto child_size = size(offset);
 1808|  8.74k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  8.74k|    }
_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|  9.42k|    {
  145|  9.42k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  9.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_11relaxed_posISC_EERNS1_16rrbtree_iteratorIiSB_Lj2ELj2EEERmEEEDcPT_jmT0_DpOT1_:
 1838|  22.8k|{
 1839|  22.8k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 22.8k, False: 0]
  ------------------
 1840|  22.8k|    auto relaxed = node->relaxed();
 1841|  22.8k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 20.3k, False: 2.49k]
  ------------------
 1842|  20.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 20.3k, False: 0]
  ------------------
 1843|  20.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  20.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  20.3k|    } else {
 1846|  2.49k|        return make_regular_sub_pos(node, shift, size)
 1847|  2.49k|            .visit(v, std::forward<Args>(args)...);
 1848|  2.49k|    }
 1849|  22.8k|}
_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|  20.3k|    {
 1814|  20.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  20.3k|    }
_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|  20.3k|    {
 1794|  20.3k|        auto child      = node_->inner()[offset];
 1795|  20.3k|        auto child_size = size(offset);
 1796|  20.3k|        auto is_leaf    = shift_ == BL;
 1797|  20.3k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 20.3k]
  ------------------
 1798|  20.3k|                       : visit_maybe_relaxed_sub(
 1799|  20.3k|                             child, shift_ - B, child_size, v, args...);
 1800|  20.3k|    }
_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|  20.3k|{
 1839|  20.3k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 20.3k, False: 0]
  ------------------
 1840|  20.3k|    auto relaxed = node->relaxed();
 1841|  20.3k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 19.3k, False: 1.06k]
  ------------------
 1842|  19.3k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 19.3k, False: 0]
  ------------------
 1843|  19.3k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  19.3k|            .visit(v, std::forward<Args>(args)...);
 1845|  19.3k|    } 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|  20.3k|}
_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|  19.3k|    {
 1814|  19.3k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  19.3k|    }
_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.45k|    {
 1037|  1.45k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.45k|    }
_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|  6.75k|    {
 1794|  6.75k|        auto child      = node_->inner()[offset];
 1795|  6.75k|        auto child_size = size(offset);
 1796|  6.75k|        auto is_leaf    = shift_ == BL;
 1797|  6.75k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.77k, False: 2.97k]
  ------------------
 1798|  6.75k|                       : visit_maybe_relaxed_sub(
 1799|  2.97k|                             child, shift_ - B, child_size, v, args...);
 1800|  6.75k|    }
_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|  3.77k|    {
  145|  3.77k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.77k|    }
_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|  3.77k|    {
 1026|  3.77k|        assert(shift_ == BL);
  ------------------
  |  Branch (1026:9): [True: 3.77k, False: 0]
  ------------------
 1027|  3.77k|        auto child   = node_->inner()[idx];
 1028|  3.77k|        auto lsize   = size(idx);
 1029|  3.77k|        auto is_full = idx + 1 < count();
 1030|  3.77k|        return is_full ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1030:16): [True: 3.09k, False: 681]
  ------------------
 1031|  3.77k|                       : make_leaf_sub_pos(child, lsize).visit(v, args...);
 1032|  3.77k|    }
_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|  6.84k|    {
  208|  6.84k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  6.84k|    }
_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|  2.97k|{
 1839|  2.97k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.97k, False: 0]
  ------------------
 1840|  2.97k|    auto relaxed = node->relaxed();
 1841|  2.97k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 2.23k, False: 746]
  ------------------
 1842|  2.23k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 2.23k, False: 0]
  ------------------
 1843|  2.23k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  2.23k|            .visit(v, std::forward<Args>(args)...);
 1845|  2.23k|    } else {
 1846|    746|        return make_regular_sub_pos(node, shift, size)
 1847|    746|            .visit(v, std::forward<Args>(args)...);
 1848|    746|    }
 1849|  2.97k|}
_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.23k|    {
 1814|  2.23k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  2.23k|    }
_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.23k|    {
 1008|  2.23k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 2.23k, False: 0]
  ------------------
 1009|  2.23k|        auto is_leaf = shift_ == BL;
 1010|  2.23k|        auto child   = node_->inner()[idx];
 1011|  2.23k|        auto lsize   = size(idx);
 1012|  2.23k|        auto is_full = idx + 1 < count();
 1013|  2.23k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.83k, False: 393]
  ------------------
 1014|  2.23k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 1.83k]
  ------------------
 1015|  1.83k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.83k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  2.23k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 0, False: 393]
  ------------------
 1018|    393|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    393|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|    393|                                .visit(v, args...));
 1021|  2.23k|    }
_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.66k|    {
 1406|  2.66k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  2.66k|    }
_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.67k|    {
 1794|  5.67k|        auto child      = node_->inner()[offset];
 1795|  5.67k|        auto child_size = size(offset);
 1796|  5.67k|        auto is_leaf    = shift_ == BL;
 1797|  5.67k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 3.74k, False: 1.92k]
  ------------------
 1798|  5.67k|                       : visit_maybe_relaxed_sub(
 1799|  1.92k|                             child, shift_ - B, child_size, v, args...);
 1800|  5.67k|    }
_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.74k|    {
  145|  3.74k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  3.74k|    }
_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.74k|    {
 1397|  3.74k|        assert(shift_ == BL);
  ------------------
  |  Branch (1397:9): [True: 3.74k, False: 0]
  ------------------
 1398|  3.74k|        assert(idx < count());
  ------------------
  |  Branch (1398:9): [True: 3.74k, False: 0]
  ------------------
 1399|  3.74k|        auto child = node_->inner()[idx];
 1400|  3.74k|        return make_full_leaf_pos(child).visit(v, args...);
 1401|  3.74k|    }
_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.92k|{
 1839|  1.92k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.92k, False: 0]
  ------------------
 1840|  1.92k|    auto relaxed = node->relaxed();
 1841|  1.92k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 830, False: 1.09k]
  ------------------
 1842|    830|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 830, False: 0]
  ------------------
 1843|    830|        return make_relaxed_pos(node, shift, relaxed)
 1844|    830|            .visit(v, std::forward<Args>(args)...);
 1845|  1.09k|    } else {
 1846|  1.09k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.09k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.09k|    }
 1849|  1.92k|}
_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|    830|    {
 1814|    830|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    830|    }
_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|    830|    {
 1387|    830|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 830, False: 0]
  ------------------
 1388|    830|        auto is_leaf = shift_ == BL;
 1389|    830|        auto child   = node_->inner()[idx];
 1390|    830|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 830]
  ------------------
 1391|    830|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|    830|    }
_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|  1.09k|    {
 1037|  1.09k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.09k|    }
_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|  1.09k|    {
 1387|  1.09k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 1.09k, False: 0]
  ------------------
 1388|  1.09k|        auto is_leaf = shift_ == BL;
 1389|  1.09k|        auto child   = node_->inner()[idx];
 1390|  1.09k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 0, False: 1.09k]
  ------------------
 1391|  1.09k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  1.09k|    }
_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.84k|    {
 1406|  1.84k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.84k|    }
_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.56k|    {
 1223|  3.56k|        auto p  = node_->inner();
 1224|  3.56k|        auto p2 = other->inner();
 1225|  3.56k|        auto e  = p + branches<B>;
 1226|  3.56k|        if (shift_ == BL) {
  ------------------
  |  Branch (1226:13): [True: 2.69k, False: 871]
  ------------------
 1227|  10.8k|            for (; p != e; ++p, ++p2) {
  ------------------
  |  Branch (1227:20): [True: 9.26k, False: 1.54k]
  ------------------
 1228|  9.26k|                IMMER_PREFETCH(p + 1);
 1229|  9.26k|                if (!make_full_leaf_pos(*p).visit(v, *p2, args...))
  ------------------
  |  Branch (1229:21): [True: 1.15k, False: 8.11k]
  ------------------
 1230|  1.15k|                    return false;
 1231|  9.26k|            }
 1232|  2.69k|        } else {
 1233|    871|            auto ss = shift_ - B;
 1234|  3.08k|            for (; p != e; ++p, ++p2)
  ------------------
  |  Branch (1234:20): [True: 2.73k, False: 346]
  ------------------
 1235|  2.73k|                if (!make_full_pos(*p, ss).visit(v, *p2, args...))
  ------------------
  |  Branch (1235:21): [True: 525, False: 2.21k]
  ------------------
 1236|    525|                    return false;
 1237|    871|        }
 1238|  1.89k|        return true;
 1239|  3.56k|    }
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  207|  13.3k|    {
  208|  13.3k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  13.3k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
 1405|  8.43k|    {
 1406|  8.43k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  8.43k|    }
_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|  5.11k|    {
  838|  5.11k|        return each_pred_zip_regular(*this, v, other, args...);
  839|  5.11k|    }
_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|  5.11k|{
  393|  5.11k|    constexpr auto B  = bits<Pos>;
  394|  5.11k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  5.11k|    auto n    = p.node()->inner();
  397|  5.11k|    auto n2   = other->inner();
  398|  5.11k|    auto last = p.count() - 1;
  399|  5.11k|    auto e    = n + last;
  400|  5.11k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 1.62k, False: 3.48k]
  ------------------
  401|  3.58k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 2.40k, False: 1.17k]
  ------------------
  402|  2.40k|            IMMER_PREFETCH(n + 1);
  403|  2.40k|            IMMER_PREFETCH(n2 + 1);
  404|  2.40k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 448, False: 1.95k]
  ------------------
  405|    448|                return false;
  406|  2.40k|        }
  407|  1.17k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  3.48k|    } else {
  409|  3.48k|        auto ss = p.shift() - B;
  410|  6.86k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 4.09k, False: 2.77k]
  ------------------
  411|  4.09k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 718, False: 3.37k]
  ------------------
  412|    718|                return false;
  413|  2.77k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  3.48k|    }
  415|  5.11k|}
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  112|  2.98k|    {
  113|  2.98k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  2.98k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRPSC_EEEDcT_DpOT0_:
  336|  4.00k|    {
  337|  4.00k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  4.00k|    }
_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.52k|    {
  256|  3.52k|        return each_pred_zip_regular(*this, v, other, args...);
  257|  3.52k|    }
_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.52k|{
  393|  3.52k|    constexpr auto B  = bits<Pos>;
  394|  3.52k|    constexpr auto BL = bits_leaf<Pos>;
  395|       |
  396|  3.52k|    auto n    = p.node()->inner();
  397|  3.52k|    auto n2   = other->inner();
  398|  3.52k|    auto last = p.count() - 1;
  399|  3.52k|    auto e    = n + last;
  400|  3.52k|    if (p.shift() == BL) {
  ------------------
  |  Branch (400:9): [True: 2.09k, False: 1.43k]
  ------------------
  401|  3.50k|        for (; n != e; ++n, ++n2) {
  ------------------
  |  Branch (401:16): [True: 1.69k, False: 1.81k]
  ------------------
  402|  1.69k|            IMMER_PREFETCH(n + 1);
  403|  1.69k|            IMMER_PREFETCH(n2 + 1);
  404|  1.69k|            if (!make_full_leaf_pos(*n).visit(v, *n2, args...))
  ------------------
  |  Branch (404:17): [True: 281, False: 1.41k]
  ------------------
  405|    281|                return false;
  406|  1.69k|        }
  407|  1.81k|        return make_leaf_pos(*n, p.size()).visit(v, *n2, args...);
  408|  2.09k|    } else {
  409|  1.43k|        auto ss = p.shift() - B;
  410|  2.83k|        for (; n != e; ++n, ++n2)
  ------------------
  |  Branch (410:16): [True: 1.60k, False: 1.23k]
  ------------------
  411|  1.60k|            if (!make_full_pos(*n, ss).visit(v, *n2, args...))
  ------------------
  |  Branch (411:17): [True: 206, False: 1.39k]
  ------------------
  412|    206|                return false;
  413|  1.23k|        return make_regular_pos(*n, ss, p.size()).visit(v, *n2, args...);
  414|  1.43k|    }
  415|  3.52k|}
_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|  4.47k|    {
 1387|  4.47k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 4.47k, False: 0]
  ------------------
 1388|  4.47k|        auto is_leaf = shift_ == BL;
 1389|  4.47k|        auto child   = node_->inner()[idx];
 1390|  4.47k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.16k, False: 1.31k]
  ------------------
 1391|  4.47k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  4.47k|    }
_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|   357k|    {
  208|   357k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   357k|    }
_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|  9.49M|{
 1839|  9.49M|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 9.49M, False: 0]
  ------------------
 1840|  9.49M|    auto relaxed = node->relaxed();
 1841|  9.49M|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 9.11M, False: 384k]
  ------------------
 1842|  9.11M|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 9.11M, False: 0]
  ------------------
 1843|  9.11M|        return make_relaxed_pos(node, shift, relaxed)
 1844|  9.11M|            .visit(v, std::forward<Args>(args)...);
 1845|  9.11M|    } else {
 1846|   384k|        return make_regular_sub_pos(node, shift, size)
 1847|   384k|            .visit(v, std::forward<Args>(args)...);
 1848|   384k|    }
 1849|  9.49M|}
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1813|  9.11M|    {
 1814|  9.11M|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  9.11M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1679|  9.11M|    {
 1680|  9.11M|        return towards_oh(v, idx, subindex(idx), args...);
 1681|  9.11M|    }
_ZN5immer6detail4rbts11relaxed_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE10towards_ohINS1_18region_for_visitorIiEEJEEEDcT_mjDpOT0_:
 1686|  9.11M|    {
 1687|  9.11M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1687:9): [True: 9.11M, False: 0]
  ------------------
 1688|  9.11M|        auto left_size = offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0;
  ------------------
  |  Branch (1688:26): [True: 4.88M, False: 4.22M]
  ------------------
 1689|  9.11M|        return towards_oh_sbh(v, idx, offset_hint, left_size, args...);
 1690|  9.11M|    }
_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|  9.11M|    {
 1699|  9.11M|        return towards_sub_oh_sbh(v, idx, offset_hint, left_size_hint, args...);
 1700|  9.11M|    }
_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|  9.11M|    {
 1718|  9.11M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1718:9): [True: 9.11M, False: 0]
  ------------------
 1719|  9.11M|        assert(left_size_hint ==
  ------------------
  |  Branch (1719:9): [True: 4.88M, False: 4.22M]
  |  Branch (1719:9): [True: 9.11M, False: 0]
  ------------------
 1720|  9.11M|               (offset_hint ? relaxed_->d.sizes[offset_hint - 1] : 0));
 1721|  9.11M|        auto child     = node_->inner()[offset_hint];
 1722|  9.11M|        auto is_leaf   = shift_ == BL;
 1723|  9.11M|        auto next_size = relaxed_->d.sizes[offset_hint] - left_size_hint;
 1724|  9.11M|        auto next_idx  = idx - left_size_hint;
 1725|  9.11M|        return is_leaf
  ------------------
  |  Branch (1725:16): [True: 979k, False: 8.13M]
  ------------------
 1726|  9.11M|                   ? make_leaf_sub_pos(child, next_size)
 1727|   979k|                         .visit(v, next_idx, args...)
 1728|  9.11M|                   : visit_maybe_relaxed_sub(
 1729|  8.13M|                         child, shift_ - B, next_size, v, next_idx, args...);
 1730|  9.11M|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  144|   979k|    {
  145|   979k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   979k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1036|   384k|    {
 1037|   384k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|   384k|    }
_ZN5immer6detail4rbts15regular_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  919|   384k|    {
  920|   384k|        return towards_oh_ch_regular(
  921|   384k|            *this, v, idx, index(idx), count(), args...);
  922|   384k|    }
_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|   384k|{
  633|   384k|    constexpr auto B  = bits<Pos>;
  634|   384k|    constexpr auto BL = bits_leaf<Pos>;
  635|   384k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 384k, False: 0]
  ------------------
  636|   384k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 384k, False: 0]
  ------------------
  637|   384k|    auto is_leaf = p.shift() == BL;
  638|   384k|    auto child   = p.node()->inner()[offset_hint];
  639|   384k|    auto is_full = offset_hint + 1 != count_hint;
  640|   384k|    return is_full
  ------------------
  |  Branch (640:12): [True: 281k, False: 103k]
  ------------------
  641|   384k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 46.2k, False: 235k]
  ------------------
  642|   281k|                          : make_full_pos(child, p.shift() - B)
  643|   235k|                                .visit(v, idx, args...))
  644|   384k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 17.7k, False: 85.3k]
  ------------------
  645|   103k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|   103k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  85.3k|                            .visit(v, idx, args...));
  648|   384k|}
_ZN5immer6detail4rbts13full_leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  207|   360k|    {
  208|   360k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|   360k|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
 1405|  1.05M|    {
 1406|  1.05M|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  1.05M|    }
_ZN5immer6detail4rbts8full_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
 1322|  1.05M|    {
 1323|  1.05M|        return towards_oh(v, idx, index(idx), args...);
 1324|  1.05M|    }
_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.05M|    {
 1337|  1.05M|        assert(offset_hint == index(idx));
  ------------------
  |  Branch (1337:9): [True: 1.05M, False: 0]
  ------------------
 1338|  1.05M|        auto is_leaf = shift_ == BL;
 1339|  1.05M|        auto child   = node_->inner()[offset_hint];
 1340|  1.05M|        return is_leaf
  ------------------
  |  Branch (1340:16): [True: 304k, False: 750k]
  ------------------
 1341|  1.05M|                   ? make_full_leaf_pos(child).visit(v, idx, args...)
 1342|  1.05M|                   : make_full_pos(child, shift_ - B).visit(v, idx, args...);
 1343|  1.05M|    }
_ZN5immer6detail4rbts8leaf_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  112|  24.0k|    {
  113|  24.0k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  24.0k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_18region_for_visitorIiEEJRmEEEDcT_DpOT0_:
  336|   114k|    {
  337|   114k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|   114k|    }
_ZN5immer6detail4rbts11regular_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE7towardsINS1_18region_for_visitorIiEEJEEEDcT_mDpOT0_:
  297|   114k|    {
  298|   114k|        return towards_oh_ch_regular(
  299|   114k|            *this, v, idx, index(idx), count(), args...);
  300|   114k|    }
_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|   114k|{
  633|   114k|    constexpr auto B  = bits<Pos>;
  634|   114k|    constexpr auto BL = bits_leaf<Pos>;
  635|   114k|    assert(offset_hint == p.index(idx));
  ------------------
  |  Branch (635:5): [True: 114k, False: 0]
  ------------------
  636|   114k|    assert(count_hint == p.count());
  ------------------
  |  Branch (636:5): [True: 114k, False: 0]
  ------------------
  637|   114k|    auto is_leaf = p.shift() == BL;
  638|   114k|    auto child   = p.node()->inner()[offset_hint];
  639|   114k|    auto is_full = offset_hint + 1 != count_hint;
  640|   114k|    return is_full
  ------------------
  |  Branch (640:12): [True: 79.0k, False: 35.0k]
  ------------------
  641|   114k|               ? (is_leaf ? make_full_leaf_pos(child).visit(v, idx, args...)
  ------------------
  |  Branch (641:19): [True: 10.2k, False: 68.7k]
  ------------------
  642|  79.0k|                          : make_full_pos(child, p.shift() - B)
  643|  68.7k|                                .visit(v, idx, args...))
  644|   114k|               : (is_leaf
  ------------------
  |  Branch (644:19): [True: 6.36k, False: 28.7k]
  ------------------
  645|  35.0k|                      ? make_leaf_pos(child, p.size()).visit(v, idx, args...)
  646|  35.0k|                      : make_regular_pos(child, p.shift() - B, p.size())
  647|  28.7k|                            .visit(v, idx, args...));
  648|   114k|}
_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|  96.6k|    {
 1406|  96.6k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  96.6k|    }
_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|  96.6k|    {
 1203|  96.6k|        auto p = node_->inner();
 1204|  96.6k|        auto e = p + branches<B>;
 1205|  96.6k|        if (shift_ == BL) {
  ------------------
  |  Branch (1205:13): [True: 75.9k, False: 20.6k]
  ------------------
 1206|   377k|            for (; p != e; ++p) {
  ------------------
  |  Branch (1206:20): [True: 302k, False: 75.1k]
  ------------------
 1207|   302k|                IMMER_PREFETCH(p + 1);
 1208|   302k|                if (!make_full_leaf_pos(*p).visit(v, args...))
  ------------------
  |  Branch (1208:21): [True: 857, False: 301k]
  ------------------
 1209|    857|                    return false;
 1210|   302k|            }
 1211|  75.9k|        } else {
 1212|  20.6k|            auto ss = shift_ - B;
 1213|   102k|            for (; p != e; ++p)
  ------------------
  |  Branch (1213:20): [True: 81.9k, False: 20.1k]
  ------------------
 1214|  81.9k|                if (!make_full_pos(*p, ss).visit(v, args...))
  ------------------
  |  Branch (1214:21): [True: 474, False: 81.4k]
  ------------------
 1215|    474|                    return false;
 1216|  20.6k|        }
 1217|  95.2k|        return true;
 1218|  96.6k|    }
_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|    746|    {
 1037|    746|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|    746|    }
_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|    746|    {
 1008|    746|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 746, False: 0]
  ------------------
 1009|    746|        auto is_leaf = shift_ == BL;
 1010|    746|        auto child   = node_->inner()[idx];
 1011|    746|        auto lsize   = size(idx);
 1012|    746|        auto is_full = idx + 1 < count();
 1013|    746|        return is_full
  ------------------
  |  Branch (1013:16): [True: 746, False: 0]
  ------------------
 1014|    746|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 0, False: 746]
  ------------------
 1015|    746|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|    746|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|    746|                   : (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|    746|    }
_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.56k|    {
 1037|  1.56k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.56k|    }
_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.36k|    {
 1008|  4.36k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.36k, False: 0]
  ------------------
 1009|  4.36k|        auto is_leaf = shift_ == BL;
 1010|  4.36k|        auto child   = node_->inner()[idx];
 1011|  4.36k|        auto lsize   = size(idx);
 1012|  4.36k|        auto is_full = idx + 1 < count();
 1013|  4.36k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 1.56k, False: 2.80k]
  ------------------
 1014|  4.36k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 923, False: 637]
  ------------------
 1015|  1.56k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  1.56k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.36k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 1.49k, False: 1.30k]
  ------------------
 1018|  2.80k|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|  2.80k|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|  1.30k|                                .visit(v, args...));
 1021|  4.36k|    }
_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|   962k|    {
  145|   962k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|   962k|    }
_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|  20.4k|    {
 1037|  20.4k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  20.4k|    }
_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|  20.4k|    {
  832|  20.4k|        return each_pred_regular(*this, v, args...);
  833|  20.4k|    }
_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|  20.4k|{
  366|  20.4k|    constexpr auto B  = bits<Pos>;
  367|  20.4k|    constexpr auto BL = bits_leaf<Pos>;
  368|  20.4k|    auto n            = p.node()->inner();
  369|  20.4k|    auto last         = p.count() - 1;
  370|  20.4k|    auto e            = n + last;
  371|  20.4k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 15.2k, False: 5.20k]
  ------------------
  372|  56.4k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 41.4k, False: 15.0k]
  ------------------
  373|  41.4k|            IMMER_PREFETCH(n + 1);
  374|  41.4k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 205, False: 41.2k]
  ------------------
  375|    205|                return false;
  376|  41.4k|        }
  377|  15.0k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  15.2k|    } else {
  379|  5.20k|        auto ss = p.shift() - B;
  380|  13.7k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 9.09k, False: 4.64k]
  ------------------
  381|  9.09k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 559, False: 8.53k]
  ------------------
  382|    559|                return false;
  383|  4.64k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  5.20k|    }
  385|  20.4k|}
_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|  19.1k|    {
  113|  19.1k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  114|  19.1k|    }
_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|  6.51k|    {
  337|  6.51k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
  338|  6.51k|    }
_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|  6.51k|    {
  250|  6.51k|        return each_pred_regular(*this, v, args...);
  251|  6.51k|    }
_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|  6.51k|{
  366|  6.51k|    constexpr auto B  = bits<Pos>;
  367|  6.51k|    constexpr auto BL = bits_leaf<Pos>;
  368|  6.51k|    auto n            = p.node()->inner();
  369|  6.51k|    auto last         = p.count() - 1;
  370|  6.51k|    auto e            = n + last;
  371|  6.51k|    if (p.shift() == BL) {
  ------------------
  |  Branch (371:9): [True: 4.36k, False: 2.14k]
  ------------------
  372|  13.0k|        for (; n != e; ++n) {
  ------------------
  |  Branch (372:16): [True: 8.92k, False: 4.14k]
  ------------------
  373|  8.92k|            IMMER_PREFETCH(n + 1);
  374|  8.92k|            if (!make_full_leaf_pos(*n).visit(v, args...))
  ------------------
  |  Branch (374:17): [True: 218, False: 8.70k]
  ------------------
  375|    218|                return false;
  376|  8.92k|        }
  377|  4.14k|        return make_leaf_pos(*n, p.size()).visit(v, args...);
  378|  4.36k|    } else {
  379|  2.14k|        auto ss = p.shift() - B;
  380|  5.50k|        for (; n != e; ++n)
  ------------------
  |  Branch (380:16): [True: 3.63k, False: 1.87k]
  ------------------
  381|  3.63k|            if (!make_full_pos(*n, ss).visit(v, args...))
  ------------------
  |  Branch (381:17): [True: 278, False: 3.36k]
  ------------------
  382|    278|                return false;
  383|  1.87k|        return make_regular_pos(*n, ss, p.size()).visit(v, args...);
  384|  2.14k|    }
  385|  6.51k|}
_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.49k|    {
 1037|  2.49k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  2.49k|    }
_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.49k|    {
 1794|  2.49k|        auto child      = node_->inner()[offset];
 1795|  2.49k|        auto child_size = size(offset);
 1796|  2.49k|        auto is_leaf    = shift_ == BL;
 1797|  2.49k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 2.49k]
  ------------------
 1798|  2.49k|                       : visit_maybe_relaxed_sub(
 1799|  2.49k|                             child, shift_ - B, child_size, v, args...);
 1800|  2.49k|    }
_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.49k|{
 1839|  2.49k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 2.49k, False: 0]
  ------------------
 1840|  2.49k|    auto relaxed = node->relaxed();
 1841|  2.49k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 936, False: 1.56k]
  ------------------
 1842|    936|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 936, False: 0]
  ------------------
 1843|    936|        return make_relaxed_pos(node, shift, relaxed)
 1844|    936|            .visit(v, std::forward<Args>(args)...);
 1845|  1.56k|    } else {
 1846|  1.56k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.56k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.56k|    }
 1849|  2.49k|}
_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|    936|    {
 1814|    936|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|    936|    }
_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.66k|    {
 1008|  4.66k|        assert(idx < count());
  ------------------
  |  Branch (1008:9): [True: 4.66k, False: 0]
  ------------------
 1009|  4.66k|        auto is_leaf = shift_ == BL;
 1010|  4.66k|        auto child   = node_->inner()[idx];
 1011|  4.66k|        auto lsize   = size(idx);
 1012|  4.66k|        auto is_full = idx + 1 < count();
 1013|  4.66k|        return is_full
  ------------------
  |  Branch (1013:16): [True: 4.31k, False: 347]
  ------------------
 1014|  4.66k|                   ? (is_leaf
  ------------------
  |  Branch (1014:23): [True: 2.27k, False: 2.04k]
  ------------------
 1015|  4.31k|                          ? make_full_leaf_pos(child).visit(v, args...)
 1016|  4.31k|                          : make_full_pos(child, shift_ - B).visit(v, args...))
 1017|  4.66k|                   : (is_leaf
  ------------------
  |  Branch (1017:23): [True: 347, False: 0]
  ------------------
 1018|    347|                          ? make_leaf_sub_pos(child, lsize).visit(v, args...)
 1019|    347|                          : make_regular_sub_pos(child, shift_ - B, lsize)
 1020|      0|                                .visit(v, args...));
 1021|  4.66k|    }
_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.71k|    {
  208|  5.71k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  209|  5.71k|    }
_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.71k|    {
 1805|  5.71k|        assert(shift_ == BL);
  ------------------
  |  Branch (1805:9): [True: 5.71k, False: 0]
  ------------------
 1806|  5.71k|        auto child      = node_->inner()[offset];
 1807|  5.71k|        auto child_size = size(offset);
 1808|  5.71k|        return make_leaf_sub_pos(child, child_size).visit(v, args...);
 1809|  5.71k|    }
_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.71k|    {
  145|  5.71k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  5.71k|    }
_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.31k|    {
 1406|  3.31k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1407|  3.31k|    }
_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.31k|    {
 1794|  3.31k|        auto child      = node_->inner()[offset];
 1795|  3.31k|        auto child_size = size(offset);
 1796|  3.31k|        auto is_leaf    = shift_ == BL;
 1797|  3.31k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 0, False: 3.31k]
  ------------------
 1798|  3.31k|                       : visit_maybe_relaxed_sub(
 1799|  3.31k|                             child, shift_ - B, child_size, v, args...);
 1800|  3.31k|    }
_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.31k|{
 1839|  3.31k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 3.31k, False: 0]
  ------------------
 1840|  3.31k|    auto relaxed = node->relaxed();
 1841|  3.31k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.98k, False: 1.32k]
  ------------------
 1842|  1.98k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.98k, False: 0]
  ------------------
 1843|  1.98k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.98k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.98k|    } else {
 1846|  1.32k|        return make_regular_sub_pos(node, shift, size)
 1847|  1.32k|            .visit(v, std::forward<Args>(args)...);
 1848|  1.32k|    }
 1849|  3.31k|}
_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|  1.98k|    {
 1814|  1.98k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.98k|    }
_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.71k|    {
 1387|  4.71k|        assert(idx < count());
  ------------------
  |  Branch (1387:9): [True: 4.71k, False: 0]
  ------------------
 1388|  4.71k|        auto is_leaf = shift_ == BL;
 1389|  4.71k|        auto child   = node_->inner()[idx];
 1390|  4.71k|        return is_leaf ? make_full_leaf_pos(child).visit(v, args...)
  ------------------
  |  Branch (1390:16): [True: 3.44k, False: 1.27k]
  ------------------
 1391|  4.71k|                       : make_full_pos(child, shift_ - B).visit(v, args...);
 1392|  4.71k|    }
_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.32k|    {
 1037|  1.32k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  1.32k|    }
_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|  25.3k|    {
 1794|  25.3k|        auto child      = node_->inner()[offset];
 1795|  25.3k|        auto child_size = size(offset);
 1796|  25.3k|        auto is_leaf    = shift_ == BL;
 1797|  25.3k|        return is_leaf ? make_leaf_sub_pos(child, child_size).visit(v, args...)
  ------------------
  |  Branch (1797:16): [True: 8.60k, False: 16.7k]
  ------------------
 1798|  25.3k|                       : visit_maybe_relaxed_sub(
 1799|  16.7k|                             child, shift_ - B, child_size, v, args...);
 1800|  25.3k|    }
_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|   591k|{
 1839|   591k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 591k, False: 0]
  ------------------
 1840|   591k|    auto relaxed = node->relaxed();
 1841|   591k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 572k, False: 19.1k]
  ------------------
 1842|   572k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 572k, False: 0]
  ------------------
 1843|   572k|        return make_relaxed_pos(node, shift, relaxed)
 1844|   572k|            .visit(v, std::forward<Args>(args)...);
 1845|   572k|    } else {
 1846|  19.1k|        return make_regular_sub_pos(node, shift, size)
 1847|  19.1k|            .visit(v, std::forward<Args>(args)...);
 1848|  19.1k|    }
 1849|   591k|}
_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|   572k|    {
 1814|   572k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|   572k|    }
_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|   572k|    {
 1483|   572k|        auto p = node_->inner();
 1484|   572k|        auto s = size_t{};
 1485|   572k|        auto n = count();
 1486|   572k|        if (shift_ == BL) {
  ------------------
  |  Branch (1486:13): [True: 279k, False: 292k]
  ------------------
 1487|  1.23M|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1487:39): [True: 952k, False: 279k]
  ------------------
 1488|   952k|                IMMER_PREFETCH(p + i + 1);
 1489|   952k|                if (!make_leaf_sub_pos(p[i], relaxed_->d.sizes[i] - s)
  ------------------
  |  Branch (1489:21): [True: 387, False: 952k]
  ------------------
 1490|   952k|                         .visit(v, args...))
 1491|    387|                    return false;
 1492|   952k|                s = relaxed_->d.sizes[i];
 1493|   952k|            }
 1494|   292k|        } else {
 1495|   292k|            auto ss = shift_ - B;
 1496|   866k|            for (auto i = count_t{0}; i < n; ++i) {
  ------------------
  |  Branch (1496:39): [True: 574k, False: 292k]
  ------------------
 1497|   574k|                if (!visit_maybe_relaxed_sub(
  ------------------
  |  Branch (1497:21): [True: 519, False: 574k]
  ------------------
 1498|   574k|                        p[i], ss, relaxed_->d.sizes[i] - s, v, args...))
 1499|    519|                    return false;
 1500|   574k|                s = relaxed_->d.sizes[i];
 1501|   574k|            }
 1502|   292k|        }
 1503|   571k|        return true;
 1504|   572k|    }
_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.18k|    {
 1037|  3.18k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  3.18k|    }
_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.44k|    {
 1784|  1.44k|        assert(shift_ > BL);
  ------------------
  |  Branch (1784:9): [True: 1.44k, False: 0]
  ------------------
 1785|  1.44k|        auto child      = node_->inner()[0];
 1786|  1.44k|        auto child_size = relaxed_->d.sizes[0];
 1787|  1.44k|        return visit_maybe_relaxed_sub(
 1788|  1.44k|            child, shift_ - B, child_size, v, args...);
 1789|  1.44k|    }
_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.44k|{
 1839|  1.44k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 1.44k, False: 0]
  ------------------
 1840|  1.44k|    auto relaxed = node->relaxed();
 1841|  1.44k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.44k, False: 0]
  ------------------
 1842|  1.44k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.44k, False: 0]
  ------------------
 1843|  1.44k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.44k|            .visit(v, std::forward<Args>(args)...);
 1845|  1.44k|    } else {
 1846|      0|        return make_regular_sub_pos(node, shift, size)
 1847|      0|            .visit(v, std::forward<Args>(args)...);
 1848|      0|    }
 1849|  1.44k|}
_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.44k|    {
 1814|  1.44k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.44k|    }
_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.51k|{
 1839|  6.51k|    assert(node);
  ------------------
  |  Branch (1839:5): [True: 6.51k, False: 0]
  ------------------
 1840|  6.51k|    auto relaxed = node->relaxed();
 1841|  6.51k|    if (relaxed) {
  ------------------
  |  Branch (1841:9): [True: 1.68k, False: 4.82k]
  ------------------
 1842|  1.68k|        assert(size == relaxed->d.sizes[relaxed->d.count - 1]);
  ------------------
  |  Branch (1842:9): [True: 1.68k, False: 0]
  ------------------
 1843|  1.68k|        return make_relaxed_pos(node, shift, relaxed)
 1844|  1.68k|            .visit(v, std::forward<Args>(args)...);
 1845|  4.82k|    } else {
 1846|  4.82k|        return make_regular_sub_pos(node, shift, size)
 1847|  4.82k|            .visit(v, std::forward<Args>(args)...);
 1848|  4.82k|    }
 1849|  6.51k|}
_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|  1.68k|    {
 1814|  1.68k|        return Visitor::visit_relaxed(*this, std::forward<Args>(args)...);
 1815|  1.68k|    }
_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.82k|    {
 1037|  4.82k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  4.82k|    }
_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.51k|    {
 1037|  6.51k|        return Visitor::visit_regular(*this, std::forward<Args>(args)...);
 1038|  6.51k|    }
_ZN5immer6detail4rbts12leaf_sub_posINS1_4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEE5visitINS1_14equals_visitorEJRKPSC_EEEDcT_DpOT0_:
  144|  6.82k|    {
  145|  6.82k|        return Visitor::visit_leaf(*this, std::forward<Args>(args)...);
  146|  6.82k|    }

_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
  114|  1.55M|        : size{0}
  115|  1.55M|        , shift{BL}
  116|  1.55M|        , root{empty_root()}
  117|  1.55M|        , tail{empty_tail()}
  118|  1.55M|    {
  119|       |        assert(check_tree());
  ------------------
  |  Branch (119:9): [True: 1.55M, False: 0]
  ------------------
  120|  1.55M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_rootEv:
   61|  1.57M|    {
   62|  1.57M|        static const auto empty_ = [] {
   63|  1.57M|            constexpr auto size = node_t::sizeof_inner_n(0);
   64|  1.57M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   65|  1.57M|                storage;
   66|  1.57M|            return node_t::make_inner_n_into(&storage, size, 0u);
   67|  1.57M|        }();
   68|  1.57M|        return empty_->inc();
   69|  1.57M|    }
_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 std::aligned_storage_t<size, alignof(std::max_align_t)>
   65|      1|                storage;
   66|      1|            return node_t::make_inner_n_into(&storage, size, 0u);
   67|      1|        }();
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEv:
   72|  1.55M|    {
   73|  1.55M|        static const auto empty_ = [] {
   74|  1.55M|            constexpr auto size = node_t::sizeof_leaf_n(0);
   75|  1.55M|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   76|  1.55M|                storage;
   77|  1.55M|            return node_t::make_leaf_n_into(&storage, size, 0u);
   78|  1.55M|        }();
   79|  1.55M|        return empty_->inc();
   80|  1.55M|    }
_ZZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10empty_tailEvENKUlvE_clEv:
   73|      1|        static const auto empty_ = [] {
   74|      1|            constexpr auto size = node_t::sizeof_leaf_n(0);
   75|      1|            static std::aligned_storage_t<size, alignof(std::max_align_t)>
   76|      1|                storage;
   77|      1|            return node_t::make_leaf_n_into(&storage, size, 0u);
   78|      1|        }();
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10check_treeEv:
 1372|  3.09M|    {
 1373|  3.09M|        IMMER_INVALID_STATE_ASSERT(shift <= sizeof(size_t) * 8 - BL);
  ------------------
  |  |   32|  3.09M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.09M]
  |  |  ------------------
  |  |   33|  3.09M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1374|  3.09M|        IMMER_INVALID_STATE_ASSERT(shift >= BL);
  ------------------
  |  |   32|  3.09M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.09M]
  |  |  ------------------
  |  |   33|  3.09M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1375|  3.09M|        IMMER_INVALID_STATE_ASSERT(tail_offset() <= size);
  ------------------
  |  |   32|  3.09M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.09M]
  |  |  ------------------
  |  |   33|  3.09M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1376|  3.09M|        IMMER_INVALID_STATE_ASSERT(tail_size() <= branches<BL>);
  ------------------
  |  |   32|  3.09M|    if (!(expr))                                                               \
  |  |  ------------------
  |  |  |  Branch (32:9): [True: 0, False: 3.09M]
  |  |  ------------------
  |  |   33|  3.09M|    IMMER_THROW(invalid_tree{})
  |  |  ------------------
  |  |  |  |   51|      0|#define IMMER_THROW(expr) throw expr
  |  |  ------------------
  ------------------
 1377|       |#if IMMER_DEBUG_DEEP_CHECK
 1378|       |        IMMER_INVALID_STATE_ASSERT(check_root());
 1379|       |        IMMER_INVALID_STATE_ASSERT(check_tail());
 1380|       |#endif
 1381|  3.09M|        return true;
 1382|  3.09M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11tail_offsetEv:
  197|  15.3M|    {
  198|  15.3M|        auto r = root->relaxed();
  199|  15.3M|        assert(r == nullptr || r->d.count);
  ------------------
  |  Branch (199:9): [True: 7.74M, False: 7.63M]
  |  Branch (199:9): [True: 7.63M, False: 0]
  |  Branch (199:9): [True: 15.3M, False: 0]
  ------------------
  200|  15.3M|        return r      ? r->d.sizes[r->d.count - 1]
  ------------------
  |  Branch (200:16): [True: 7.63M, False: 7.74M]
  ------------------
  201|  15.3M|               : size ? (size - 1) & ~mask<BL>
  ------------------
  |  Branch (201:18): [True: 3.04M, False: 4.69M]
  ------------------
  202|       |                      /* otherwise */
  203|  7.74M|                      : 0;
  204|  15.3M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9tail_sizeEv:
  194|  3.57M|    auto tail_size() const { return size - tail_offset(); }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EED2Ev:
  184|  3.09M|    ~rrbtree() { dec(); }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3decEv:
  192|  3.09M|    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_:
  208|  3.09M|    {
  209|  3.09M|        auto tail_off  = tail_offset();
  210|  3.09M|        auto tail_size = size - tail_off;
  211|       |
  212|  3.09M|        if (tail_off)
  ------------------
  |  Branch (212:13): [True: 1.44M, False: 1.65M]
  ------------------
  213|  1.44M|            visit_maybe_relaxed_sub(root, shift, tail_off, v, args...);
  214|  1.65M|        else
  215|  1.65M|            make_empty_regular_pos(root).visit(v, args...);
  216|       |
  217|  3.09M|        if (tail_size)
  ------------------
  |  Branch (217:13): [True: 1.53M, False: 1.55M]
  ------------------
  218|  1.53M|            make_leaf_sub_pos(tail, tail_size).visit(v, args...);
  219|  1.55M|        else
  220|  1.55M|            make_empty_leaf_pos(tail).visit(v, args...);
  221|  3.09M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  500|   439k|    {
  501|   439k|        auto ts = tail_size();
  502|   439k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (502:13): [True: 321k, False: 117k]
  ------------------
  503|   321k|            auto new_tail =
  504|   321k|                node_t::copy_leaf_emplace(tail, ts, std::move(value));
  505|   321k|            return {size + 1, shift, root->inc(), new_tail};
  506|   321k|        } else {
  507|   117k|            using std::get;
  508|   117k|            auto new_tail = node_t::make_leaf_n(1u, std::move(value));
  509|   117k|            auto tail_off = tail_offset();
  510|   117k|            IMMER_TRY {
  ------------------
  |  |   49|   117k|#define IMMER_TRY try
  ------------------
  511|   117k|                auto new_root =
  512|   117k|                    push_tail(root, shift, tail_off, tail, size - tail_off);
  513|   117k|                tail->inc();
  514|   117k|                return {size + 1, get<0>(new_root), get<1>(new_root), new_tail};
  515|   117k|            }
  516|   117k|            IMMER_CATCH (...) {
  517|      0|                node_t::delete_leaf(new_tail, 1u);
  518|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  519|      0|            }
  520|   117k|        }
  521|   439k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EmjPNS1_4nodeIiSA_Lj2ELj2EEESE_:
  127|  1.53M|        : size{sz}
  128|  1.53M|        , shift{sh}
  129|  1.53M|        , root{r}
  130|  1.53M|        , tail{t}
  131|  1.53M|    {
  132|  1.53M|#if IMMER_THROW_ON_INVALID_STATE
  133|       |        // assert only happens in the Debug build, but when
  134|       |        // IMMER_THROW_ON_INVALID_STATE is activated, we want to just check_tree
  135|       |        // even in Release.
  136|  1.53M|        try {
  137|  1.53M|            check_tree();
  138|  1.53M|        } catch (...) {
  139|       |            // This not fully constructed rrbtree owns the nodes already, have
  140|       |            // to dec them.
  141|      0|            if (r && t)
  ------------------
  |  Branch (141:17): [True: 0, False: 0]
  |  Branch (141:22): [True: 0, False: 0]
  ------------------
  142|      0|                dec();
  143|      0|            throw;
  144|      0|        }
  145|       |#else
  146|       |        assert(check_tree());
  147|       |#endif
  148|  1.53M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_tailEPNS1_4nodeIiSA_Lj2ELj2EEEjmSE_j:
  369|   520k|    {
  370|   520k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (370:18): [True: 178k, False: 342k]
  ------------------
  371|   178k|            auto new_root =
  372|   178k|                make_relaxed_pos(root, shift, r)
  373|   178k|                    .visit(push_tail_visitor<node_t>{}, tail, tail_size);
  374|   178k|            if (new_root)
  ------------------
  |  Branch (374:17): [True: 176k, False: 2.07k]
  ------------------
  375|   176k|                return std::make_tuple(shift, new_root);
  376|  2.07k|            else {
  377|  2.07k|                auto new_root = node_t::make_inner_r_n(2);
  378|  2.07k|                IMMER_TRY {
  ------------------
  |  |   49|  2.07k|#define IMMER_TRY try
  ------------------
  379|  2.07k|                    auto new_path        = node_t::make_path(shift, tail);
  380|  2.07k|                    new_root->inner()[0] = root->inc();
  381|  2.07k|                    new_root->inner()[1] = new_path;
  382|  2.07k|                    new_root->relaxed()->d.sizes[0] = size;
  383|  2.07k|                    new_root->relaxed()->d.sizes[1] = size + tail_size;
  384|  2.07k|                    assert(size);
  ------------------
  |  Branch (384:21): [True: 2.07k, False: 0]
  ------------------
  385|  2.07k|                    assert(tail_size);
  ------------------
  |  Branch (385:21): [True: 2.07k, False: 0]
  ------------------
  386|  2.07k|                    new_root->relaxed()->d.count = 2u;
  387|  2.07k|                }
  388|  2.07k|                IMMER_CATCH (...) {
  389|      0|                    node_t::delete_inner_r(new_root, 2);
  390|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  391|      0|                }
  392|  2.07k|                return std::make_tuple(shift + B, new_root);
  393|  2.07k|            }
  394|   342k|        } else if (size == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (394:20): [True: 5.16k, False: 337k]
  ------------------
  395|  5.16k|            auto new_root = node_t::make_inner_n(2);
  396|  5.16k|            IMMER_TRY {
  ------------------
  |  |   49|  5.16k|#define IMMER_TRY try
  ------------------
  397|  5.16k|                auto new_path        = node_t::make_path(shift, tail);
  398|  5.16k|                new_root->inner()[0] = root->inc();
  399|  5.16k|                new_root->inner()[1] = new_path;
  400|  5.16k|            }
  401|  5.16k|            IMMER_CATCH (...) {
  402|      0|                node_t::delete_inner(new_root, 2);
  403|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  404|      0|            }
  405|  5.16k|            return std::make_tuple(shift + B, new_root);
  406|   337k|        } else if (size) {
  ------------------
  |  Branch (406:20): [True: 326k, False: 10.5k]
  ------------------
  407|   326k|            auto new_root = make_regular_sub_pos(root, shift, size)
  408|   326k|                                .visit(push_tail_visitor<node_t>{}, tail);
  409|   326k|            return std::make_tuple(shift, new_root);
  410|   326k|        } else {
  411|  10.5k|            return std::make_tuple(shift, node_t::make_path(shift, tail));
  412|  10.5k|        }
  413|   520k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2EOSB_:
  157|  1.48M|        : rrbtree{}
  158|  1.48M|    {
  159|  1.48M|        swap(*this, other);
  160|  1.48M|    }
_ZN5immer6detail4rbts4swapERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESC_:
  176|  3.43M|    {
  177|  3.43M|        using std::swap;
  178|  3.43M|        swap(x.size, y.size);
  179|  3.43M|        swap(x.shift, y.shift);
  180|  3.43M|        swap(x.root, y.root);
  181|  3.43M|        swap(x.tail, y.tail);
  182|  3.43M|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSEOSB_:
  170|  1.95M|    {
  171|  1.95M|        swap(*this, other);
  172|  1.95M|        return *this;
  173|  1.95M|    }
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_:
  580|   120k|    {
  581|   120k|        auto tail_off = tail_offset();
  582|   120k|        if (idx >= tail_off) {
  ------------------
  |  Branch (582:13): [True: 48.0k, False: 72.7k]
  ------------------
  583|  48.0k|            auto tail_size = size - tail_off;
  584|  48.0k|            auto new_tail =
  585|  48.0k|                make_leaf_sub_pos(tail, tail_size)
  586|  48.0k|                    .visit(update_visitor<node_t>{}, idx - tail_off, fn);
  587|  48.0k|            return {size, shift, root->inc(), new_tail};
  588|  72.7k|        } else {
  589|  72.7k|            auto new_root = visit_maybe_relaxed_sub(
  590|  72.7k|                root, shift, tail_off, update_visitor<node_t>{}, idx, fn);
  591|  72.7k|            return {size, shift, new_root, tail->inc()};
  592|  72.7k|        }
  593|   120k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  647|  23.8k|    {
  648|  23.8k|        auto tail_off = tail_offset();
  649|  23.8k|        if (new_size == 0) {
  ------------------
  |  Branch (649:13): [True: 3.46k, False: 20.3k]
  ------------------
  650|  3.46k|            return {};
  651|  20.3k|        } else if (new_size >= size) {
  ------------------
  |  Branch (651:20): [True: 1.06k, False: 19.3k]
  ------------------
  652|  1.06k|            return *this;
  653|  19.3k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (653:20): [True: 1.88k, False: 17.4k]
  ------------------
  654|  1.88k|            auto new_tail = node_t::copy_leaf(tail, new_size - tail_off);
  655|  1.88k|            return {new_size, shift, root->inc(), new_tail};
  656|  17.4k|        } else {
  657|  17.4k|            using std::get;
  658|  17.4k|            auto l = new_size - 1;
  659|  17.4k|            auto v = slice_right_visitor<node_t>();
  660|  17.4k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l);
  661|  17.4k|            auto new_shift = get<0>(r);
  662|  17.4k|            auto new_root  = get<1>(r);
  663|  17.4k|            auto new_tail  = get<3>(r);
  664|  17.4k|            if (new_root) {
  ------------------
  |  Branch (664:17): [True: 13.3k, False: 4.10k]
  ------------------
  665|  13.3k|                IMMER_ASSERT_TAGGED(new_root->compute_shift() == get<0>(r));
  ------------------
  |  |   68|  13.3k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (665:17): [True: 13.3k, False: 0]
  ------------------
  666|  13.3k|                assert(new_root->check(new_shift, new_size - get<2>(r)));
  ------------------
  |  Branch (666:17): [True: 13.3k, False: 0]
  ------------------
  667|  13.3k|                return {new_size, new_shift, new_root, new_tail};
  668|  13.3k|            } else {
  669|  4.10k|                return {new_size, BL, empty_root(), new_tail};
  670|  4.10k|            }
  671|  17.4k|        }
  672|  23.8k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKSB_:
  151|  10.3k|        : rrbtree{other.size, other.shift, other.root, other.tail}
  152|  10.3k|    {
  153|  10.3k|        inc();
  154|  10.3k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE3incEv:
  187|  10.3k|    {
  188|  10.3k|        root->inc();
  189|  10.3k|        tail->inc();
  190|  10.3k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  711|  25.1k|    {
  712|  25.1k|        if (elems == 0) {
  ------------------
  |  Branch (712:13): [True: 2.23k, False: 22.8k]
  ------------------
  713|  2.23k|            return *this;
  714|  22.8k|        } else if (elems >= size) {
  ------------------
  |  Branch (714:20): [True: 1.90k, False: 20.9k]
  ------------------
  715|  1.90k|            return {};
  716|  20.9k|        } else if (elems == tail_offset()) {
  ------------------
  |  Branch (716:20): [True: 1.74k, False: 19.2k]
  ------------------
  717|  1.74k|            return {size - elems, BL, empty_root(), tail->inc()};
  718|  19.2k|        } else if (elems > tail_offset()) {
  ------------------
  |  Branch (718:20): [True: 1.81k, False: 17.4k]
  ------------------
  719|  1.81k|            auto tail_off = tail_offset();
  720|  1.81k|            auto new_tail =
  721|  1.81k|                node_t::copy_leaf(tail, elems - tail_off, size - tail_off);
  722|  1.81k|            return {size - elems, BL, empty_root(), new_tail};
  723|  17.4k|        } else {
  724|  17.4k|            using std::get;
  725|  17.4k|            auto v = slice_left_visitor<node_t>();
  726|  17.4k|            auto r =
  727|  17.4k|                visit_maybe_relaxed_sub(root, shift, tail_offset(), v, elems);
  728|  17.4k|            auto new_root  = get<1>(r);
  729|  17.4k|            auto new_shift = get<0>(r);
  730|  17.4k|            return {size - elems, new_shift, new_root, tail->inc()};
  731|  17.4k|        }
  732|  25.1k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   54|  2.04M|    {
   55|  2.04M|        auto S = sizeof(size_t) * 8;
   56|  2.04M|        return ((size_t{1} << BL) - std::min(size_t{BL}, size_t{2})) *
   57|  2.04M|               ipow((size_t{1} << B) - 2, (S - BL) / B);
   58|  2.04M|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6concatERKSB_:
  735|   841k|    {
  736|   841k|        assert(r.size + size <= max_size());
  ------------------
  |  Branch (736:9): [True: 841k, False: 0]
  ------------------
  737|   841k|        using std::get;
  738|   841k|        if (size == 0)
  ------------------
  |  Branch (738:13): [True: 2.58k, False: 839k]
  ------------------
  739|  2.58k|            return r;
  740|   839k|        else if (r.size == 0)
  ------------------
  |  Branch (740:18): [True: 1.67k, False: 837k]
  ------------------
  741|  1.67k|            return *this;
  742|   837k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (742:18): [True: 411k, False: 426k]
  ------------------
  743|       |            // just concat the tail, similar to push_back
  744|   411k|            auto tail_offst = tail_offset();
  745|   411k|            auto tail_size  = size - tail_offst;
  746|   411k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (746:17): [True: 120k, False: 290k]
  ------------------
  747|   120k|                auto new_root =
  748|   120k|                    push_tail(root, shift, tail_offst, tail, tail_size);
  749|   120k|                tail->inc();
  750|   120k|                return {size + r.size,
  751|   120k|                        get<0>(new_root),
  752|   120k|                        get<1>(new_root),
  753|   120k|                        r.tail->inc()};
  754|   290k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (754:24): [True: 9.01k, False: 281k]
  ------------------
  755|  9.01k|                auto new_tail =
  756|  9.01k|                    node_t::copy_leaf(tail, tail_size, r.tail, r.size);
  757|  9.01k|                return {size + r.size, shift, root->inc(), new_tail};
  758|   281k|            } else {
  759|   281k|                auto remaining = branches<BL> - tail_size;
  760|   281k|                auto add_tail =
  761|   281k|                    node_t::copy_leaf(tail, tail_size, r.tail, remaining);
  762|   281k|                IMMER_TRY {
  ------------------
  |  |   49|   281k|#define IMMER_TRY try
  ------------------
  763|   281k|                    auto new_tail =
  764|   281k|                        node_t::copy_leaf(r.tail, remaining, r.size);
  765|   281k|                    IMMER_TRY {
  ------------------
  |  |   49|   281k|#define IMMER_TRY try
  ------------------
  766|   281k|                        auto new_root = push_tail(
  767|   281k|                            root, shift, tail_offst, add_tail, branches<BL>);
  768|   281k|                        return {size + r.size,
  769|   281k|                                get<0>(new_root),
  770|   281k|                                get<1>(new_root),
  771|   281k|                                new_tail};
  772|   281k|                    }
  773|   281k|                    IMMER_CATCH (...) {
  774|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  775|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  776|      0|                    }
  777|   281k|                }
  778|   281k|                IMMER_CATCH (...) {
  779|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
  780|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  781|      0|                }
  782|   281k|            }
  783|   426k|        } else if (tail_offset() == 0) {
  ------------------
  |  Branch (783:20): [True: 3.46k, False: 422k]
  ------------------
  784|  3.46k|            auto tail_offst = tail_offset();
  785|  3.46k|            auto tail_size  = size - tail_offst;
  786|  3.46k|            auto concated =
  787|  3.46k|                concat_trees(tail, tail_size, r.root, r.shift, r.tail_offset());
  788|  3.46k|            auto new_shift = concated.shift();
  789|  3.46k|            auto new_root  = concated.node();
  790|  3.46k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|  3.46k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (790:13): [True: 3.46k, False: 0]
  ------------------
  791|  3.46k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (791:13): [True: 3.46k, False: 0]
  ------------------
  792|  3.46k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  793|   422k|        } else {
  794|   422k|            auto tail_offst = tail_offset();
  795|   422k|            auto tail_size  = size - tail_offst;
  796|   422k|            auto concated   = concat_trees(root,
  797|   422k|                                         shift,
  798|   422k|                                         tail_offst,
  799|   422k|                                         tail,
  800|   422k|                                         tail_size,
  801|   422k|                                         r.root,
  802|   422k|                                         r.shift,
  803|   422k|                                         r.tail_offset());
  804|   422k|            auto new_shift  = concated.shift();
  805|   422k|            auto new_root   = concated.node();
  806|   422k|            IMMER_ASSERT_TAGGED(new_shift == new_root->compute_shift());
  ------------------
  |  |   68|   422k|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (806:13): [True: 422k, False: 0]
  ------------------
  807|   422k|            assert(new_root->check(new_shift, size + r.tail_offset()));
  ------------------
  |  Branch (807:13): [True: 422k, False: 0]
  ------------------
  808|   422k|            return {size + r.size, new_shift, new_root, r.tail->inc()};
  809|   422k|        }
  810|   841k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_back_mutENS9_5applyIS6_E4type4editEi:
  478|  31.1k|    {
  479|  31.1k|        auto ts = tail_size();
  480|  31.1k|        if (ts < branches<BL>) {
  ------------------
  |  Branch (480:13): [True: 18.4k, False: 12.7k]
  ------------------
  481|  18.4k|            ensure_mutable_tail(e, ts);
  482|  18.4k|            new (&tail->leaf()[ts]) T(std::move(value));
  483|  18.4k|        } else {
  484|  12.7k|            using std::get;
  485|  12.7k|            auto new_tail = node_t::make_leaf_e(e, std::move(value));
  486|  12.7k|            auto tail_off = tail_offset();
  487|  12.7k|            IMMER_TRY {
  ------------------
  |  |   49|  12.7k|#define IMMER_TRY try
  ------------------
  488|  12.7k|                push_tail_mut(e, tail_off, tail, ts);
  489|  12.7k|                tail = new_tail;
  490|  12.7k|            }
  491|  12.7k|            IMMER_CATCH (...) {
  492|      0|                node_t::delete_leaf(new_tail, 1u);
  493|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  494|      0|            }
  495|  12.7k|        }
  496|  31.1k|        ++size;
  497|  31.1k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE19ensure_mutable_tailENS9_5applyIS6_E4type4editEj:
  469|   187k|    {
  470|   187k|        if (!tail->can_mutate(e)) {
  ------------------
  |  Branch (470:13): [True: 4.84k, False: 182k]
  ------------------
  471|  4.84k|            auto new_tail = node_t::copy_leaf_e(e, tail, n);
  472|  4.84k|            dec_leaf(tail, n);
  473|  4.84k|            tail = new_tail;
  474|  4.84k|        }
  475|   187k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE13push_tail_mutENS9_5applyIS6_E4type4editEmPNS1_4nodeIiSA_Lj2ELj2EEEj:
  417|   218k|    {
  418|   218k|        if (auto r = root->relaxed()) {
  ------------------
  |  Branch (418:18): [True: 53.7k, False: 164k]
  ------------------
  419|  53.7k|            auto new_root =
  420|  53.7k|                make_relaxed_pos(root, shift, r)
  421|  53.7k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail, tail_size);
  422|  53.7k|            if (new_root) {
  ------------------
  |  Branch (422:17): [True: 52.7k, False: 960]
  ------------------
  423|  52.7k|                root = new_root;
  424|  52.7k|            } else {
  425|    960|                auto new_root = node_t::make_inner_r_e(e);
  426|    960|                IMMER_TRY {
  ------------------
  |  |   49|    960|#define IMMER_TRY try
  ------------------
  427|    960|                    auto new_path        = node_t::make_path_e(e, shift, tail);
  428|    960|                    new_root->inner()[0] = root;
  429|    960|                    new_root->inner()[1] = new_path;
  430|    960|                    new_root->relaxed()->d.sizes[0] = tail_off;
  431|    960|                    new_root->relaxed()->d.sizes[1] = tail_off + tail_size;
  432|    960|                    assert(tail_off);
  ------------------
  |  Branch (432:21): [True: 960, False: 0]
  ------------------
  433|    960|                    assert(tail_size);
  ------------------
  |  Branch (433:21): [True: 960, False: 0]
  ------------------
  434|    960|                    new_root->relaxed()->d.count = 2u;
  435|    960|                    root                         = new_root;
  436|    960|                    shift += B;
  437|    960|                }
  438|    960|                IMMER_CATCH (...) {
  439|      0|                    node_t::delete_inner_r_e(new_root);
  440|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  441|      0|                }
  442|    960|            }
  443|   164k|        } else if (tail_off == size_t{branches<B>} << shift) {
  ------------------
  |  Branch (443:20): [True: 2.36k, False: 162k]
  ------------------
  444|  2.36k|            auto new_root = node_t::make_inner_e(e);
  445|  2.36k|            IMMER_TRY {
  ------------------
  |  |   49|  2.36k|#define IMMER_TRY try
  ------------------
  446|  2.36k|                auto new_path        = node_t::make_path_e(e, shift, tail);
  447|  2.36k|                new_root->inner()[0] = root;
  448|  2.36k|                new_root->inner()[1] = new_path;
  449|  2.36k|                root                 = new_root;
  450|  2.36k|                shift += B;
  451|  2.36k|            }
  452|  2.36k|            IMMER_CATCH (...) {
  453|      0|                node_t::delete_inner_e(new_root);
  454|      0|                IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  455|      0|            }
  456|   162k|        } else if (tail_off) {
  ------------------
  |  Branch (456:20): [True: 160k, False: 2.27k]
  ------------------
  457|   160k|            auto new_root =
  458|   160k|                make_regular_sub_pos(root, shift, tail_off)
  459|   160k|                    .visit(push_tail_mut_visitor<node_t>{}, e, tail);
  460|   160k|            root = new_root;
  461|   160k|        } else {
  462|  2.27k|            auto new_root = node_t::make_path_e(e, shift, tail);
  463|  2.27k|            dec_empty_regular(root);
  464|  2.27k|            root = new_root;
  465|  2.27k|        }
  466|   218k|    }
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_:
  573|  43.1k|    {
  574|  43.1k|        auto& elem = get_mut(e, idx);
  575|  43.1k|        elem       = std::forward<FnT>(fn)(std::move(elem));
  576|  43.1k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7get_mutENS9_5applyIS6_E4type4editEm:
  539|  43.1k|    {
  540|  43.1k|        auto tail_off = tail_offset();
  541|  43.1k|        if (idx >= tail_off) {
  ------------------
  |  Branch (541:13): [True: 19.2k, False: 23.8k]
  ------------------
  542|  19.2k|            ensure_mutable_tail(e, size - tail_off);
  543|  19.2k|            return tail->leaf()[(idx - tail_off) & mask<BL>];
  544|  23.8k|        } else {
  545|  23.8k|            return visit_maybe_relaxed_sub(root,
  546|  23.8k|                                           shift,
  547|  23.8k|                                           tail_off,
  548|  23.8k|                                           get_mut_visitor<node_t>{},
  549|  23.8k|                                           idx,
  550|  23.8k|                                           e,
  551|  23.8k|                                           &root);
  552|  23.8k|        }
  553|  43.1k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8take_mutENS9_5applyIS6_E4type4editEm:
  606|  38.5k|    {
  607|  38.5k|        auto tail_off = tail_offset();
  608|  38.5k|        if (new_size == 0) {
  ------------------
  |  Branch (608:13): [True: 644, False: 37.8k]
  ------------------
  609|    644|            *this = {};
  610|  37.8k|        } else if (new_size >= size) {
  ------------------
  |  Branch (610:20): [True: 1.10k, False: 36.7k]
  ------------------
  611|  1.10k|            return;
  612|  36.7k|        } else if (new_size > tail_off) {
  ------------------
  |  Branch (612:20): [True: 751, False: 36.0k]
  ------------------
  613|    751|            auto ts    = size - tail_off;
  614|    751|            auto newts = new_size - tail_off;
  615|    751|            if (tail->can_mutate(e)) {
  ------------------
  |  Branch (615:17): [True: 444, False: 307]
  ------------------
  616|    444|                detail::destroy_n(tail->leaf() + newts, ts - newts);
  617|    444|            } else {
  618|    307|                auto new_tail = node_t::copy_leaf_e(e, tail, newts);
  619|    307|                dec_leaf(tail, ts);
  620|    307|                tail = new_tail;
  621|    307|            }
  622|    751|            size = new_size;
  623|    751|            return;
  624|  36.0k|        } else {
  625|  36.0k|            using std::get;
  626|  36.0k|            auto l = new_size - 1;
  627|  36.0k|            auto v = slice_right_mut_visitor<node_t>();
  628|  36.0k|            auto r = visit_maybe_relaxed_sub(root, shift, tail_off, v, l, e);
  629|  36.0k|            auto new_shift = get<0>(r);
  630|  36.0k|            auto new_root  = get<1>(r);
  631|  36.0k|            auto new_tail  = get<3>(r);
  632|  36.0k|            if (new_root) {
  ------------------
  |  Branch (632:17): [True: 29.9k, False: 6.02k]
  ------------------
  633|  29.9k|                root  = new_root;
  634|  29.9k|                shift = new_shift;
  635|  29.9k|            } else {
  636|  6.02k|                root  = empty_root();
  637|  6.02k|                shift = BL;
  638|  6.02k|            }
  639|  36.0k|            dec_leaf(tail, size - tail_off);
  640|  36.0k|            size = new_size;
  641|  36.0k|            tail = new_tail;
  642|  36.0k|            return;
  643|  36.0k|        }
  644|  38.5k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8drop_mutENS9_5applyIS6_E4type4editEm:
  675|  43.8k|    {
  676|  43.8k|        using std::get;
  677|  43.8k|        auto tail_off = tail_offset();
  678|  43.8k|        if (elems == 0) {
  ------------------
  |  Branch (678:13): [True: 2.15k, False: 41.6k]
  ------------------
  679|  2.15k|            return;
  680|  41.6k|        } else if (elems >= size) {
  ------------------
  |  Branch (680:20): [True: 274, False: 41.3k]
  ------------------
  681|    274|            *this = {};
  682|  41.3k|        } else if (elems == tail_off) {
  ------------------
  |  Branch (682:20): [True: 254, False: 41.1k]
  ------------------
  683|    254|            dec_inner(root, shift, tail_off);
  684|    254|            shift = BL;
  685|    254|            root  = empty_root();
  686|    254|            size -= elems;
  687|    254|            return;
  688|  41.1k|        } else if (elems > tail_off) {
  ------------------
  |  Branch (688:20): [True: 701, False: 40.4k]
  ------------------
  689|    701|            auto v = slice_left_mut_visitor<node_t>();
  690|    701|            tail   = get<1>(make_leaf_sub_pos(tail, size - tail_off)
  691|    701|                              .visit(v, elems - tail_off, e));
  692|    701|            if (tail_off) {
  ------------------
  |  Branch (692:17): [True: 257, False: 444]
  ------------------
  693|    257|                dec_inner(root, shift, tail_off);
  694|    257|                shift = BL;
  695|    257|                root  = empty_root();
  696|    257|            }
  697|    701|            size -= elems;
  698|    701|            return;
  699|  40.4k|        } else {
  700|  40.4k|            auto v = slice_left_mut_visitor<node_t>();
  701|  40.4k|            auto r =
  702|  40.4k|                visit_maybe_relaxed_sub(root, shift, tail_off, v, elems, e);
  703|  40.4k|            shift = get<0>(r);
  704|  40.4k|            root  = get<1>(r);
  705|  40.4k|            size -= elems;
  706|  40.4k|            return;
  707|  40.4k|        }
  708|  43.8k|    }
_ZN5immer6detail4rbts12concat_mut_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editERKSB_:
  816|   276k|    {
  817|   276k|        assert(&l != &r);
  ------------------
  |  Branch (817:9): [True: 276k, False: 0]
  ------------------
  818|   276k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (818:9): [True: 276k, False: 0]
  ------------------
  819|   276k|        using std::get;
  820|   276k|        if (l.size == 0)
  ------------------
  |  Branch (820:13): [True: 1.08k, False: 275k]
  ------------------
  821|  1.08k|            l = r;
  822|   275k|        else if (r.size == 0)
  ------------------
  |  Branch (822:18): [True: 578, False: 274k]
  ------------------
  823|    578|            return;
  824|   274k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (824:18): [True: 203k, False: 70.9k]
  ------------------
  825|       |            // just concat the tail, similar to push_back
  826|   203k|            auto tail_offst = l.tail_offset();
  827|   203k|            auto tail_size  = l.size - tail_offst;
  828|   203k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (828:17): [True: 58.1k, False: 145k]
  ------------------
  829|  58.1k|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
  830|  58.1k|                l.tail = r.tail->inc();
  831|  58.1k|                l.size += r.size;
  832|  58.1k|                return;
  833|   145k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (833:24): [True: 1.05k, False: 144k]
  ------------------
  834|  1.05k|                l.ensure_mutable_tail(el, tail_size);
  835|  1.05k|                detail::uninitialized_copy(r.tail->leaf(),
  836|  1.05k|                                           r.tail->leaf() + r.size,
  837|  1.05k|                                           l.tail->leaf() + tail_size);
  838|  1.05k|                l.size += r.size;
  839|  1.05k|                return;
  840|   144k|            } else {
  841|   144k|                auto remaining = branches<BL> - tail_size;
  842|   144k|                l.ensure_mutable_tail(el, tail_size);
  843|   144k|                detail::uninitialized_copy(r.tail->leaf(),
  844|   144k|                                           r.tail->leaf() + remaining,
  845|   144k|                                           l.tail->leaf() + tail_size);
  846|   144k|                IMMER_TRY {
  ------------------
  |  |   49|   144k|#define IMMER_TRY try
  ------------------
  847|   144k|                    auto new_tail =
  848|   144k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
  849|   144k|                    IMMER_TRY {
  ------------------
  |  |   49|   144k|#define IMMER_TRY try
  ------------------
  850|   144k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
  851|   144k|                        l.tail = new_tail;
  852|   144k|                        l.size += r.size;
  853|   144k|                        return;
  854|   144k|                    }
  855|   144k|                    IMMER_CATCH (...) {
  856|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
  857|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  858|      0|                    }
  859|   144k|                }
  860|   144k|                IMMER_CATCH (...) {
  861|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
  862|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  863|      0|                }
  864|   144k|            }
  865|   203k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (865:20): [True: 462, False: 70.5k]
  ------------------
  866|    462|            if (supports_transient_concat) {
  ------------------
  |  Branch (866:17): [Folded, False: 462]
  ------------------
  867|      0|                auto tail_offst = l.tail_offset();
  868|      0|                auto tail_size  = l.size - tail_offst;
  869|      0|                auto concated =
  870|      0|                    concat_trees_mut(el,
  871|      0|                                     el,
  872|      0|                                     l.tail,
  873|      0|                                     tail_size,
  874|      0|                                     MemoryPolicy::transience_t::noone,
  875|      0|                                     r.root,
  876|      0|                                     r.shift,
  877|      0|                                     r.tail_offset());
  878|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (878:17): [True: 0, False: 0]
  ------------------
  879|      0|                                    concated.node()->compute_shift());
  880|      0|                l.size += r.size;
  881|      0|                l.shift = concated.shift();
  882|      0|                l.root  = concated.node();
  883|      0|                l.tail  = r.tail;
  884|      0|                assert(l.check_tree());
  ------------------
  |  Branch (884:17): [True: 0, False: 0]
  ------------------
  885|    462|            } else {
  886|    462|                auto tail_offst = l.tail_offset();
  887|    462|                auto tail_size  = l.size - tail_offst;
  888|    462|                auto concated   = concat_trees(
  889|    462|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
  890|    462|                l = {l.size + r.size,
  891|    462|                     concated.shift(),
  892|    462|                     concated.node(),
  893|    462|                     r.tail->inc()};
  894|    462|                assert(l.check_tree());
  ------------------
  |  Branch (894:17): [True: 462, False: 0]
  ------------------
  895|    462|                return;
  896|    462|            }
  897|  70.5k|        } else {
  898|  70.5k|            if (supports_transient_concat) {
  ------------------
  |  Branch (898:17): [Folded, False: 70.5k]
  ------------------
  899|      0|                auto tail_offst = l.tail_offset();
  900|      0|                auto tail_size  = l.size - tail_offst;
  901|      0|                assert(l.check_tree());
  ------------------
  |  Branch (901:17): [True: 0, False: 0]
  ------------------
  902|      0|                assert(r.check_tree());
  ------------------
  |  Branch (902:17): [True: 0, False: 0]
  ------------------
  903|      0|                auto concated =
  904|      0|                    concat_trees_mut(el,
  905|      0|                                     el,
  906|      0|                                     l.root,
  907|      0|                                     l.shift,
  908|      0|                                     tail_offst,
  909|      0|                                     l.tail,
  910|      0|                                     tail_size,
  911|      0|                                     MemoryPolicy::transience_t::noone,
  912|      0|                                     r.root,
  913|      0|                                     r.shift,
  914|      0|                                     r.tail_offset());
  915|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (915:17): [True: 0, False: 0]
  ------------------
  916|      0|                                    concated.node()->compute_shift());
  917|      0|                l.size += r.size;
  918|      0|                l.shift = concated.shift();
  919|      0|                l.root  = concated.node();
  920|      0|                l.tail  = r.tail;
  921|      0|                assert(l.check_tree());
  ------------------
  |  Branch (921:17): [True: 0, False: 0]
  ------------------
  922|  70.5k|            } else {
  923|  70.5k|                auto tail_offst = l.tail_offset();
  924|  70.5k|                auto tail_size  = l.size - tail_offst;
  925|  70.5k|                auto concated   = concat_trees(l.root,
  926|  70.5k|                                             l.shift,
  927|  70.5k|                                             tail_offst,
  928|  70.5k|                                             l.tail,
  929|  70.5k|                                             tail_size,
  930|  70.5k|                                             r.root,
  931|  70.5k|                                             r.shift,
  932|  70.5k|                                             r.tail_offset());
  933|  70.5k|                l               = {l.size + r.size,
  934|  70.5k|                                   concated.shift(),
  935|  70.5k|                                   concated.node(),
  936|  70.5k|                                   r.tail->inc()};
  937|  70.5k|            }
  938|  70.5k|        }
  939|   276k|    }
_ZN5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEaSERKSB_:
  163|  2.75k|    {
  164|  2.75k|        auto next{other};
  165|  2.75k|        swap(*this, next);
  166|  2.75k|        return *this;
  167|  2.75k|    }
_ZN5immer6detail4rbts12concat_mut_rERKNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERSB_NS9_5applyIS6_E4type4editE:
  942|  5.01k|    {
  943|  5.01k|        assert(&l != &r);
  ------------------
  |  Branch (943:9): [True: 5.01k, False: 0]
  ------------------
  944|  5.01k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (944:9): [True: 5.01k, False: 0]
  ------------------
  945|  5.01k|        using std::get;
  946|  5.01k|        if (r.size == 0)
  ------------------
  |  Branch (946:13): [True: 295, False: 4.71k]
  ------------------
  947|    295|            r = std::move(l);
  948|  4.71k|        else if (l.size == 0)
  ------------------
  |  Branch (948:18): [True: 242, False: 4.47k]
  ------------------
  949|    242|            return;
  950|  4.47k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (950:18): [True: 930, False: 3.54k]
  ------------------
  951|       |            // just concat the tail, similar to push_back
  952|    930|            auto tail_offst = l.tail_offset();
  953|    930|            auto tail_size  = l.size - tail_offst;
  954|    930|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (954:17): [True: 166, False: 764]
  ------------------
  955|       |                // this could be improved by making sure that the
  956|       |                // newly created nodes as part of the `push_tail()`
  957|       |                // are tagged with `er`
  958|    166|                auto res =
  959|    166|                    l.push_tail(l.root, l.shift, tail_offst, l.tail, tail_size);
  960|    166|                l.tail->inc(); // note: leak if mutably concatenated
  961|       |                               // with itself, but this is forbidden
  962|       |                               // by the interface
  963|    166|                r = {l.size + r.size, get<0>(res), get<1>(res), r.tail->inc()};
  964|    166|                return;
  965|    764|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (965:24): [True: 477, False: 287]
  ------------------
  966|       |                // doing this in a exception way mutating way is very
  967|       |                // tricky while potential performance gains are
  968|       |                // minimal (we need to move every element of the right
  969|       |                // tail anyways to make space for the left tail)
  970|       |                //
  971|       |                // we could however improve this by at least moving the
  972|       |                // elements of the right tail...
  973|    477|                auto new_tail =
  974|    477|                    node_t::copy_leaf(l.tail, tail_size, r.tail, r.size);
  975|    477|                r = {l.size + r.size, l.shift, l.root->inc(), new_tail};
  976|    477|                return;
  977|    477|            } else {
  978|       |                // like the immutable version
  979|    287|                auto remaining = branches<BL> - tail_size;
  980|    287|                auto add_tail  = node_t::copy_leaf_e(
  981|    287|                    er, l.tail, tail_size, r.tail, remaining);
  982|    287|                IMMER_TRY {
  ------------------
  |  |   49|    287|#define IMMER_TRY try
  ------------------
  983|    287|                    auto new_tail =
  984|    287|                        node_t::copy_leaf_e(er, r.tail, remaining, r.size);
  985|    287|                    IMMER_TRY {
  ------------------
  |  |   49|    287|#define IMMER_TRY try
  ------------------
  986|       |                        // this could be improved by making sure that the
  987|       |                        // newly created nodes as part of the `push_tail()`
  988|       |                        // are tagged with `er`
  989|    287|                        auto new_root = l.push_tail(l.root,
  990|    287|                                                    l.shift,
  991|    287|                                                    tail_offst,
  992|    287|                                                    add_tail,
  993|    287|                                                    branches<BL>);
  994|    287|                        r             = {l.size + r.size,
  995|    287|                                         get<0>(new_root),
  996|    287|                                         get<1>(new_root),
  997|    287|                                         new_tail};
  998|    287|                        return;
  999|    287|                    }
 1000|    287|                    IMMER_CATCH (...) {
 1001|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1002|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1003|      0|                    }
 1004|    287|                }
 1005|    287|                IMMER_CATCH (...) {
 1006|      0|                    node_t::delete_leaf(add_tail, branches<BL>);
 1007|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1008|      0|                }
 1009|    287|            }
 1010|  3.54k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1010:20): [True: 644, False: 2.90k]
  ------------------
 1011|    644|            if (supports_transient_concat) {
  ------------------
  |  Branch (1011:17): [Folded, False: 644]
  ------------------
 1012|      0|                auto tail_offst = l.tail_offset();
 1013|      0|                auto tail_size  = l.size - tail_offst;
 1014|      0|                auto concated =
 1015|      0|                    concat_trees_mut(er,
 1016|      0|                                     MemoryPolicy::transience_t::noone,
 1017|      0|                                     l.tail,
 1018|      0|                                     tail_size,
 1019|      0|                                     er,
 1020|      0|                                     r.root,
 1021|      0|                                     r.shift,
 1022|      0|                                     r.tail_offset());
 1023|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1023:17): [True: 0, False: 0]
  ------------------
 1024|      0|                                    concated.node()->compute_shift());
 1025|      0|                r.size += l.size;
 1026|      0|                r.shift = concated.shift();
 1027|      0|                r.root  = concated.node();
 1028|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1028:17): [True: 0, False: 0]
  ------------------
 1029|    644|            } else {
 1030|    644|                auto tail_offst = l.tail_offset();
 1031|    644|                auto tail_size  = l.size - tail_offst;
 1032|    644|                auto concated   = concat_trees(
 1033|    644|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1034|    644|                r = {l.size + r.size,
 1035|    644|                     concated.shift(),
 1036|    644|                     concated.node(),
 1037|    644|                     r.tail->inc()};
 1038|    644|                return;
 1039|    644|            }
 1040|  2.90k|        } else {
 1041|  2.90k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1041:17): [Folded, False: 2.90k]
  ------------------
 1042|      0|                auto tail_offst = l.tail_offset();
 1043|      0|                auto tail_size  = l.size - tail_offst;
 1044|      0|                auto concated =
 1045|      0|                    concat_trees_mut(er,
 1046|      0|                                     MemoryPolicy::transience_t::noone,
 1047|      0|                                     l.root,
 1048|      0|                                     l.shift,
 1049|      0|                                     tail_offst,
 1050|      0|                                     l.tail,
 1051|      0|                                     tail_size,
 1052|      0|                                     er,
 1053|      0|                                     r.root,
 1054|      0|                                     r.shift,
 1055|      0|                                     r.tail_offset());
 1056|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1056:17): [True: 0, False: 0]
  ------------------
 1057|      0|                                    concated.node()->compute_shift());
 1058|      0|                r.size += l.size;
 1059|      0|                r.shift = concated.shift();
 1060|      0|                r.root  = concated.node();
 1061|      0|                assert(r.check_tree());
  ------------------
  |  Branch (1061:17): [True: 0, False: 0]
  ------------------
 1062|      0|                return;
 1063|  2.90k|            } else {
 1064|  2.90k|                auto tail_offst = l.tail_offset();
 1065|  2.90k|                auto tail_size  = l.size - tail_offst;
 1066|  2.90k|                auto concated   = concat_trees(l.root,
 1067|  2.90k|                                             l.shift,
 1068|  2.90k|                                             tail_offst,
 1069|  2.90k|                                             l.tail,
 1070|  2.90k|                                             tail_size,
 1071|  2.90k|                                             r.root,
 1072|  2.90k|                                             r.shift,
 1073|  2.90k|                                             r.tail_offset());
 1074|  2.90k|                r               = {l.size + r.size,
 1075|  2.90k|                                   concated.shift(),
 1076|  2.90k|                                   concated.node(),
 1077|  2.90k|                                   r.tail->inc()};
 1078|  2.90k|                return;
 1079|  2.90k|            }
 1080|  2.90k|        }
 1081|  5.01k|    }
_ZN5immer6detail4rbts15concat_mut_lr_lERNS1_7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEENS9_5applyIS6_E4type4editESC_SG_:
 1084|  23.7k|    {
 1085|  23.7k|        assert(&l != &r);
  ------------------
  |  Branch (1085:9): [True: 23.7k, False: 0]
  ------------------
 1086|  23.7k|        assert(r.size < (std::numeric_limits<size_t>::max() - l.size));
  ------------------
  |  Branch (1086:9): [True: 23.7k, False: 0]
  ------------------
 1087|  23.7k|        using std::get;
 1088|  23.7k|        if (l.size == 0)
  ------------------
  |  Branch (1088:13): [True: 1.36k, False: 22.3k]
  ------------------
 1089|  1.36k|            l = r;
 1090|  22.3k|        else if (r.size == 0)
  ------------------
  |  Branch (1090:18): [True: 1.20k, False: 21.1k]
  ------------------
 1091|  1.20k|            return;
 1092|  21.1k|        else if (r.tail_offset() == 0) {
  ------------------
  |  Branch (1092:18): [True: 4.97k, False: 16.2k]
  ------------------
 1093|       |            // just concat the tail, similar to push_back
 1094|  4.97k|            auto tail_offst = l.tail_offset();
 1095|  4.97k|            auto tail_size  = l.size - tail_offst;
 1096|  4.97k|            if (tail_size == branches<BL>) {
  ------------------
  |  Branch (1096:17): [True: 965, False: 4.01k]
  ------------------
 1097|    965|                l.push_tail_mut(el, tail_offst, l.tail, tail_size);
 1098|    965|                l.tail = r.tail->inc();
 1099|    965|                l.size += r.size;
 1100|    965|                return;
 1101|  4.01k|            } else if (tail_size + r.size <= branches<BL>) {
  ------------------
  |  Branch (1101:24): [True: 1.85k, False: 2.15k]
  ------------------
 1102|  1.85k|                l.ensure_mutable_tail(el, tail_size);
 1103|  1.85k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1103:21): [True: 711, False: 1.14k]
  ------------------
 1104|    711|                    detail::uninitialized_move(r.tail->leaf(),
 1105|    711|                                               r.tail->leaf() + r.size,
 1106|    711|                                               l.tail->leaf() + tail_size);
 1107|  1.14k|                else
 1108|  1.14k|                    detail::uninitialized_copy(r.tail->leaf(),
 1109|  1.14k|                                               r.tail->leaf() + r.size,
 1110|  1.14k|                                               l.tail->leaf() + tail_size);
 1111|  1.85k|                l.size += r.size;
 1112|  1.85k|                return;
 1113|  2.15k|            } else {
 1114|  2.15k|                auto remaining = branches<BL> - tail_size;
 1115|  2.15k|                l.ensure_mutable_tail(el, tail_size);
 1116|  2.15k|                if (r.tail->can_mutate(er))
  ------------------
  |  Branch (1116:21): [True: 752, False: 1.40k]
  ------------------
 1117|    752|                    detail::uninitialized_move(r.tail->leaf(),
 1118|    752|                                               r.tail->leaf() + remaining,
 1119|    752|                                               l.tail->leaf() + tail_size);
 1120|  1.40k|                else
 1121|  1.40k|                    detail::uninitialized_copy(r.tail->leaf(),
 1122|  1.40k|                                               r.tail->leaf() + remaining,
 1123|  1.40k|                                               l.tail->leaf() + tail_size);
 1124|  2.15k|                IMMER_TRY {
  ------------------
  |  |   49|  2.15k|#define IMMER_TRY try
  ------------------
 1125|  2.15k|                    auto new_tail =
 1126|  2.15k|                        node_t::copy_leaf_e(el, r.tail, remaining, r.size);
 1127|  2.15k|                    IMMER_TRY {
  ------------------
  |  |   49|  2.15k|#define IMMER_TRY try
  ------------------
 1128|  2.15k|                        l.push_tail_mut(el, tail_offst, l.tail, branches<BL>);
 1129|  2.15k|                        l.tail = new_tail;
 1130|  2.15k|                        l.size += r.size;
 1131|  2.15k|                        return;
 1132|  2.15k|                    }
 1133|  2.15k|                    IMMER_CATCH (...) {
 1134|      0|                        node_t::delete_leaf(new_tail, r.size - remaining);
 1135|      0|                        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1136|      0|                    }
 1137|  2.15k|                }
 1138|  2.15k|                IMMER_CATCH (...) {
 1139|      0|                    detail::destroy_n(r.tail->leaf() + tail_size, remaining);
 1140|      0|                    IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
 1141|      0|                }
 1142|  2.15k|            }
 1143|  16.2k|        } else if (l.tail_offset() == 0) {
  ------------------
  |  Branch (1143:20): [True: 3.29k, False: 12.9k]
  ------------------
 1144|  3.29k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1144:17): [Folded, False: 3.29k]
  ------------------
 1145|      0|                auto tail_offst = l.tail_offset();
 1146|      0|                auto tail_size  = l.size - tail_offst;
 1147|      0|                auto concated   = concat_trees_mut(el,
 1148|      0|                                                 el,
 1149|      0|                                                 l.tail,
 1150|      0|                                                 tail_size,
 1151|      0|                                                 er,
 1152|      0|                                                 r.root,
 1153|      0|                                                 r.shift,
 1154|      0|                                                 r.tail_offset());
 1155|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1155:17): [True: 0, False: 0]
  ------------------
 1156|      0|                                    concated.node()->compute_shift());
 1157|      0|                l.size += r.size;
 1158|      0|                l.shift = concated.shift();
 1159|      0|                l.root  = concated.node();
 1160|      0|                l.tail  = r.tail;
 1161|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1161:17): [True: 0, False: 0]
  ------------------
 1162|      0|                r.hard_reset();
 1163|      0|                return;
 1164|  3.29k|            } else {
 1165|  3.29k|                auto tail_offst = l.tail_offset();
 1166|  3.29k|                auto tail_size  = l.size - tail_offst;
 1167|  3.29k|                auto concated   = concat_trees(
 1168|  3.29k|                    l.tail, tail_size, r.root, r.shift, r.tail_offset());
 1169|  3.29k|                l = {l.size + r.size,
 1170|  3.29k|                     concated.shift(),
 1171|  3.29k|                     concated.node(),
 1172|  3.29k|                     r.tail->inc()};
 1173|  3.29k|                return;
 1174|  3.29k|            }
 1175|  12.9k|        } else {
 1176|  12.9k|            if (supports_transient_concat) {
  ------------------
  |  Branch (1176:17): [Folded, False: 12.9k]
  ------------------
 1177|      0|                auto tail_offst = l.tail_offset();
 1178|      0|                auto tail_size  = l.size - tail_offst;
 1179|      0|                auto concated   = concat_trees_mut(el,
 1180|      0|                                                 el,
 1181|      0|                                                 l.root,
 1182|      0|                                                 l.shift,
 1183|      0|                                                 tail_offst,
 1184|      0|                                                 l.tail,
 1185|      0|                                                 tail_size,
 1186|      0|                                                 er,
 1187|      0|                                                 r.root,
 1188|      0|                                                 r.shift,
 1189|      0|                                                 r.tail_offset());
 1190|      0|                IMMER_ASSERT_TAGGED(concated.shift() ==
  ------------------
  |  |   68|      0|#define IMMER_ASSERT_TAGGED(assertion) assert(assertion)
  ------------------
  |  Branch (1190:17): [True: 0, False: 0]
  ------------------
 1191|      0|                                    concated.node()->compute_shift());
 1192|      0|                l.size += r.size;
 1193|      0|                l.shift = concated.shift();
 1194|      0|                l.root  = concated.node();
 1195|      0|                l.tail  = r.tail;
 1196|      0|                assert(l.check_tree());
  ------------------
  |  Branch (1196:17): [True: 0, False: 0]
  ------------------
 1197|      0|                r.hard_reset();
 1198|      0|                return;
 1199|  12.9k|            } else {
 1200|  12.9k|                auto tail_offst = l.tail_offset();
 1201|  12.9k|                auto tail_size  = l.size - tail_offst;
 1202|  12.9k|                auto concated   = concat_trees(l.root,
 1203|  12.9k|                                             l.shift,
 1204|  12.9k|                                             tail_offst,
 1205|  12.9k|                                             l.tail,
 1206|  12.9k|                                             tail_size,
 1207|  12.9k|                                             r.root,
 1208|  12.9k|                                             r.shift,
 1209|  12.9k|                                             r.tail_offset());
 1210|  12.9k|                l               = {l.size + r.size,
 1211|  12.9k|                                   concated.shift(),
 1212|  12.9k|                                   concated.node(),
 1213|  12.9k|                                   r.tail->inc()};
 1214|  12.9k|                return;
 1215|  12.9k|            }
 1216|  12.9k|        }
 1217|  23.7k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6equalsERKSB_:
  315|  27.9k|    {
  316|  27.9k|        using iter_t = rrbtree_iterator<T, MemoryPolicy, B, BL>;
  317|  27.9k|        if (size != other.size)
  ------------------
  |  Branch (317:13): [True: 8.56k, False: 19.4k]
  ------------------
  318|  8.56k|            return false;
  319|  19.4k|        if (size == 0)
  ------------------
  |  Branch (319:13): [True: 209, False: 19.2k]
  ------------------
  320|    209|            return true;
  321|  19.2k|        auto tail_off       = tail_offset();
  322|  19.2k|        auto tail_off_other = other.tail_offset();
  323|       |        // compare trees
  324|  19.2k|        if (tail_off > 0 && tail_off_other > 0) {
  ------------------
  |  Branch (324:13): [True: 18.2k, False: 921]
  |  Branch (324:29): [True: 18.0k, False: 198]
  ------------------
  325|       |            // other.shift != shift is a theoretical possibility for
  326|       |            // relaxed trees that sadly we haven't managed to exercise
  327|       |            // in tests yet...
  328|  18.0k|            if (other.shift >= shift) {
  ------------------
  |  Branch (328:17): [True: 17.3k, False: 749]
  ------------------
  329|  17.3k|                if (!visit_maybe_relaxed_sub(other.root,
  ------------------
  |  Branch (329:21): [True: 7.93k, False: 9.40k]
  ------------------
  330|  17.3k|                                             other.shift,
  331|  17.3k|                                             tail_off_other,
  332|  17.3k|                                             equals_visitor::rrb{},
  333|  17.3k|                                             iter_t{other},
  334|  17.3k|                                             root,
  335|  17.3k|                                             shift,
  336|  17.3k|                                             tail_off))
  337|  7.93k|                    return false;
  338|  17.3k|            } else {
  339|    749|                if (!visit_maybe_relaxed_sub(root,
  ------------------
  |  Branch (339:21): [True: 402, False: 347]
  ------------------
  340|    749|                                             shift,
  341|    749|                                             tail_off,
  342|    749|                                             equals_visitor::rrb{},
  343|    749|                                             iter_t{*this},
  344|    749|                                             other.root,
  345|    749|                                             other.shift,
  346|    749|                                             tail_off_other))
  347|    402|                    return false;
  348|    749|            }
  349|  18.0k|        }
  350|  10.8k|        return tail_off == tail_off_other
  ------------------
  |  Branch (350:16): [True: 6.82k, False: 4.03k]
  ------------------
  351|  10.8k|                   ? make_leaf_sub_pos(tail, tail_size())
  352|  6.82k|                         .visit(equals_visitor{}, other.tail)
  353|  10.8k|               : tail_off > tail_off_other
  ------------------
  |  Branch (353:18): [True: 1.66k, False: 2.37k]
  ------------------
  354|  4.03k|                   ? std::equal(tail->leaf(),
  355|  1.66k|                                tail->leaf() + (size - tail_off),
  356|  1.66k|                                other.tail->leaf() +
  357|  1.66k|                                    (tail_off - tail_off_other))
  358|       |                   /* otherwise */
  359|  4.03k|                   : std::equal(tail->leaf(),
  360|  2.37k|                                tail->leaf() + (size - tail_off),
  361|  2.37k|                                iter_t{other} + tail_off);
  362|  19.2k|    }
_ZNK5immer6detail4rbts7rrbtreeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE10region_forEm:
  524|  1.36M|    {
  525|  1.36M|        using std::get;
  526|  1.36M|        auto tail_off = tail_offset();
  527|  1.36M|        if (idx >= tail_off) {
  ------------------
  |  Branch (527:13): [True: 4.13k, False: 1.36M]
  ------------------
  528|  4.13k|            return std::make_tuple(tail->leaf(), tail_off, size);
  529|  1.36M|        } else {
  530|  1.36M|            auto subs = visit_maybe_relaxed_sub(
  531|  1.36M|                root, shift, tail_off, region_for_visitor<T>(), idx);
  532|  1.36M|            auto first = idx - get<1>(subs);
  533|  1.36M|            auto end   = first + get<2>(subs);
  534|  1.36M|            return std::make_tuple(get<0>(subs), first, end);
  535|  1.36M|        }
  536|  1.36M|    }

_ZNK5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11dereferenceEv:
   90|  5.58M|    {
   91|  5.58M|        using std::get;
   92|  5.58M|        if (i_ < get<1>(curr_) || i_ >= get<2>(curr_))
  ------------------
  |  Branch (92:13): [True: 40.0k, False: 5.54M]
  |  Branch (92:35): [True: 1.32M, False: 4.22M]
  ------------------
   93|  1.36M|            curr_ = v_->region_for(i_);
   94|  5.58M|        return get<0>(curr_)[i_ - get<1>(curr_)];
   95|  5.58M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7advanceEl:
   74|   208k|    {
   75|   208k|        using std::get;
   76|   208k|        assert(n <= 0 || i_ + static_cast<size_t>(n) <= v_->size);
  ------------------
  |  Branch (76:9): [True: 424, False: 207k]
  |  Branch (76:9): [True: 207k, False: 0]
  |  Branch (76:9): [True: 208k, False: 0]
  ------------------
   77|   208k|        assert(n >= 0 || static_cast<size_t>(-n) <= i_);
  ------------------
  |  Branch (77:9): [True: 208k, False: 0]
  |  Branch (77:9): [True: 0, False: 0]
  |  Branch (77:9): [True: 208k, False: 0]
  ------------------
   78|   208k|        i_ += n;
   79|   208k|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9incrementEv:
   60|  4.24M|    {
   61|  4.24M|        using std::get;
   62|  4.24M|        assert(i_ < v_->size);
  ------------------
  |  Branch (62:9): [True: 4.24M, False: 0]
  ------------------
   63|  4.24M|        ++i_;
   64|  4.24M|    }
_ZN5immer6detail4rbts16rrbtree_iteratorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ERKNS1_7rrbtreeIiSA_Lj2ELj2EEE:
   39|  20.4k|        : v_{&v}
   40|  20.4k|        , i_{0}
   41|  20.4k|        , curr_{nullptr, ~size_t{}, ~size_t{}}
   42|  20.4k|    {
   43|  20.4k|    }

_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.3k|    {
   32|  15.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  15.3k|    }
_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|  49.1k|    {
   32|  49.1k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  49.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|  2.14k|    {
   38|  2.14k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.14k|    }
_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.04k|    {
   38|  5.04k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  5.04k|    }
_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.85k|    {
   38|  6.85k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.85k|    }
_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.51k|    {
   38|  1.51k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.51k|    }
_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.70k|    {
   38|  2.70k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.70k|    }
_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.86k|    {
   38|  7.86k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  7.86k|    }
_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.86k|    {
   44|  7.86k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  7.86k|    }
_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.56k|    {
   32|  5.56k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  5.56k|    }
_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.56k|    {
   44|  5.56k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  5.56k|    }
_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.41M|    {
   50|  2.41M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  2.41M|    }
_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|  20.4M|    {
   32|  20.4M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  20.4M|    }
_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|  20.4M|    {
   44|  20.4M|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  20.4M|    }
_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|  20.4M|    {
   32|  20.4M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  20.4M|    }
_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|  17.9k|    {
   32|  17.9k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  17.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|    382|    {
   38|    382|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    382|    }
_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.24k|    {
   38|  1.24k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.24k|    }
_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|  1.08M|    {
   50|  1.08M|        return Deriv::visit_node(std::forward<Args>(args)...);
   51|  1.08M|    }
_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|   781k|    {
   38|   781k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   781k|    }
_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|   781k|    {
   44|   781k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   781k|    }
_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|   781k|    {
   38|   781k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   781k|    }
_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|   641k|    {
   38|   641k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   641k|    }
_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|   641k|    {
   44|   641k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   641k|    }
_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|   641k|    {
   38|   641k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   641k|    }
_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.30k|    {
   38|  2.30k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.30k|    }
_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.30k|    {
   44|  2.30k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  2.30k|    }
_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|   494k|    {
   32|   494k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   494k|    }
_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|   494k|    {
   44|   494k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   494k|    }
_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|   472k|    {
   32|   472k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   472k|    }
_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|   472k|    {
   44|   472k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|   472k|    }
_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.11M|    {
   32|  2.11M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.11M|    }
_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|  5.95k|    {
   38|  5.95k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  5.95k|    }
_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|   638k|    {
   32|   638k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   638k|    }
_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|   108k|    {
   38|   108k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   108k|    }
_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.11k|    {
   38|  1.11k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.11k|    }
_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|   136k|    {
   38|   136k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   136k|    }
_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|  72.2k|    {
   38|  72.2k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  72.2k|    }
_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|  62.8k|    {
   38|  62.8k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  62.8k|    }
_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|   736k|    {
   38|   736k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   736k|    }
_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.81M|    {
   32|  1.81M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.81M|    }
_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|  6.34k|    {
   38|  6.34k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.34k|    }
_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|   115k|    {
   32|   115k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   115k|    }
_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|  6.24k|    {
   38|  6.24k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.24k|    }
_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|  2.01k|    {
   32|  2.01k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.01k|    }
_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|  3.25k|    {
   32|  3.25k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  3.25k|    }
_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.72M|    {
   32|  1.72M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.72M|    }
_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|  22.6k|    {
   38|  22.6k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  22.6k|    }
_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|  22.6k|    {
   44|  22.6k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  22.6k|    }
_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.1k|    {
   38|  14.1k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  14.1k|    }
_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.1k|    {
   44|  14.1k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  14.1k|    }
_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.03k|    {
   32|  6.03k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  6.03k|    }
_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.03k|    {
   44|  6.03k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.03k|    }
_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|  8.10k|    {
   38|  8.10k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  8.10k|    }
_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|  8.10k|    {
   44|  8.10k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  8.10k|    }
_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|  11.5k|    {
   32|  11.5k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  11.5k|    }
_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|  11.5k|    {
   44|  11.5k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  11.5k|    }
_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|  20.3k|    {
   32|  20.3k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  20.3k|    }
_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.23k|    {
   32|  2.23k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  2.23k|    }
_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|    830|    {
   32|    830|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|    830|    }
_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|  1.09k|    {
   38|  1.09k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.09k|    }
_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|  9.11M|    {
   32|  9.11M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  9.11M|    }
_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|   384k|    {
   38|   384k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   384k|    }
_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.05M|    {
   38|  1.05M|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  1.05M|    }
_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|   114k|    {
   38|   114k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|   114k|    }
_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|  96.6k|    {
   38|  96.6k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  96.6k|    }
_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|    746|    {
   38|    746|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|    746|    }
_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|  20.4k|    {
   38|  20.4k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  20.4k|    }
_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|  6.51k|    {
   38|  6.51k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.51k|    }
_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.49k|    {
   38|  2.49k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  2.49k|    }
_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.31k|    {
   38|  3.31k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  3.31k|    }
_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|   572k|    {
   32|   572k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|   572k|    }
_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.44k|    {
   32|  1.44k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   33|  1.44k|    }
_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.44k|    {
   44|  1.44k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  1.44k|    }
_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.51k|    {
   38|  6.51k|        return Deriv::visit_inner(std::forward<Args>(args)...);
   39|  6.51k|    }
_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.51k|    {
   44|  6.51k|        return Deriv::visit_node(std::forward<Args>(args)...);
   45|  6.51k|    }

_ZN5immer6detail15auto_const_castINS_15refcount_policyEEERT_RKS3_:
  143|   114M|{
  144|   114M|    return const_cast<T&>(x);
  145|   114M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE15get_storage_ptrEv:
  113|   107M|    {
  114|   107M|        check_base();
  115|   107M|        auto* base = static_cast<Derived*>(this);
  116|   107M|        return reinterpret_cast<T*>(base + 1);
  117|   107M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE7inner_tEPSC_Lb0EE10check_baseEv:
  134|   107M|    {
  135|   107M|        static_assert(std::is_standard_layout<Derived>::value &&
  136|   107M|                          !std::is_empty<Derived>::value,
  137|   107M|                      "Please add 'true' if the derived class is emtpy");
  138|   107M|    }
_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|  11.5M|{
  330|  11.5M|    std::forward<F>(f)(empty_t{});
  331|  11.5M|}
_ZN5immer6detail9destroy_nIPijEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|  1.42M|{
  189|  1.42M|    return first + n;
  190|  1.42M|}
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE15get_storage_ptrEv:
   75|  10.1M|    {
   76|  10.1M|        check_base();
   77|  10.1M|        return reinterpret_cast<T*>(this);
   78|  10.1M|    }
_ZN5immer6detail21with_trailing_storageINS0_4rbts4nodeIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6leaf_tEiLb1EE10check_baseEv:
   94|  10.1M|    {
   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.1M|        static_assert(std::is_standard_layout<Derived>::value,
  100|  10.1M|                      "Please remove 'true' if the derived class is non emtpy");
  101|  10.1M|    }
_ZN5immer6detail18uninitialized_copyIPiS2_S2_EENSt3__19enable_ifIX18can_trivially_copyIT_T1_EES6_E4typeES5_T0_S6_:
  236|  1.75M|{
  237|  1.75M|    return std::copy(first, last, out);
  238|  1.75M|}
_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|   268k|{
  345|   268k|    return std::forward<F2>(f2)(empty_t{});
  346|   268k|}
_ZN5immer6detail4ipowImEET_S2_j:
  323|  65.5M|{
  324|  65.5M|    return pow == 0 ? 1 : num * ipow(num, pow - 1);
  ------------------
  |  Branch (324:12): [True: 2.04M, False: 63.4M]
  ------------------
  325|  65.5M|}
_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|  76.6k|{
  345|  76.6k|    return std::forward<F2>(f2)(empty_t{});
  346|  76.6k|}
_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|   109k|{
  330|   109k|    std::forward<F>(f)(empty_t{});
  331|   109k|}
_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|  11.3k|{
  345|  11.3k|    return std::forward<F2>(f2)(empty_t{});
  346|  11.3k|}
_ZN5immer6detail9destroy_nIPimEENSt3__19enable_ifIX20can_trivially_detroyIT_EES5_E4typeES5_T0_:
  188|    444|{
  189|    444|    return first + n;
  190|    444|}
_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|   178k|{
  345|   178k|    return std::forward<F2>(f2)(empty_t{});
  346|   178k|}
_ZN5immer6detail18uninitialized_moveIPiS2_EENSt3__19enable_ifIX18can_trivially_copyIT_T0_EES6_E4typeES5_S5_S6_:
  210|  1.46k|{
  211|  1.46k|    return std::copy(first, last, out);
  212|  1.46k|}
_ZN5immer6detail8as_constIiEEPKT_PS2_:
   29|  1.33M|{
   30|  1.33M|    return x;
   31|  1.33M|}
_ZN5immer6detail4makeINS_15debug_size_heapINS_8cpp_heapEEENS_3boxIiNS_13memory_policyINS_21free_list_heap_policyIS3_Lm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEEE6holderEJiEEEPT0_DpOT1_:
  260|  18.9k|{
  261|  18.9k|    auto ptr = Heap::allocate(sizeof(T));
  262|  18.9k|    IMMER_TRY {
  ------------------
  |  |   49|  18.9k|#define IMMER_TRY try
  ------------------
  263|  18.9k|        return new (ptr) T(std::forward<Args>(args)...);
  264|  18.9k|    }
  265|  18.9k|    IMMER_CATCH (...) {
  266|      0|        Heap::deallocate(sizeof(T), ptr);
  267|      0|        IMMER_RETHROW;
  ------------------
  |  |   52|      0|#define IMMER_RETHROW throw
  ------------------
  268|      0|    }
  269|  18.9k|}

_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2Ev:
   96|  71.4k|    flex_vector() = default;
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  246|   439k|    {
  247|   439k|        return impl_.push_back(std::move(value));
  248|   439k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEC2ENS_6detail4rbts7rrbtreeIiS8_Lj2ELj2EEE:
  536|  1.45M|        : impl_(std::move(impl))
  537|  1.45M|    {
  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.45M|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4sizeEv:
  181|  2.74M|    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|   120k|    {
  324|   120k|        return impl_.update(index, std::forward<FnT>(fn));
  325|   120k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  350|  23.8k|    {
  351|  23.8k|        return impl_.take(elems);
  352|  23.8k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  376|  25.1k|    {
  377|  25.1k|        return impl_.drop(elems);
  378|  25.1k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE8max_sizeEv:
   90|  1.20M|    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|   841k|    {
  404|   841k|        return l.impl_.concat(r.impl_);
  405|   841k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9push_backEi:
  251|  31.1k|    {
  252|  31.1k|        return push_back_move(move_t{}, std::move(value));
  253|  31.1k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE14push_back_moveENSt3__117integral_constantIbLb1EEEi:
  547|  31.1k|    {
  548|  31.1k|        impl_.push_back_mut({}, std::move(value));
  549|  31.1k|        return std::move(*this);
  550|  31.1k|    }
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|  43.1k|    {
  330|  43.1k|        return update_move(move_t{}, index, std::forward<FnT>(fn));
  331|  43.1k|    }
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|  43.1k|    {
  569|  43.1k|        impl_.update_mut({}, index, std::forward<Fn>(fn));
  570|  43.1k|        return std::move(*this);
  571|  43.1k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4takeEm:
  355|  38.5k|    {
  356|  38.5k|        return take_move(move_t{}, elems);
  357|  38.5k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9take_moveENSt3__117integral_constantIbLb1EEEm:
  579|  38.5k|    {
  580|  38.5k|        impl_.take_mut({}, elems);
  581|  38.5k|        return std::move(*this);
  582|  38.5k|    }
_ZNO5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE4dropEm:
  381|  43.8k|    {
  382|  43.8k|        return drop_move(move_t{}, elems);
  383|  43.8k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE9drop_moveENSt3__117integral_constantIbLb1EEEm:
  589|  43.8k|    {
  590|  43.8k|        impl_.drop_mut({}, elems);
  591|  43.8k|        return std::move(*this);
  592|  43.8k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEERKS9_:
  409|   276k|    {
  410|   276k|        return concat_move(move_t{}, std::move(l), r);
  411|   276k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_RKS9_:
  600|   276k|    {
  601|   276k|        concat_mut_l(l.impl_, {}, r.impl_);
  602|   276k|        return std::move(l);
  603|   276k|    }
_ZN5immerplERKNS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEEOS9_:
  415|  5.01k|    {
  416|  5.01k|        return concat_move(move_t{}, l, std::move(r));
  417|  5.01k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEERKS9_OS9_:
  606|  5.01k|    {
  607|  5.01k|        concat_mut_r(l.impl_, r.impl_, {});
  608|  5.01k|        return std::move(r);
  609|  5.01k|    }
_ZN5immerplEONS_11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEESA_:
  421|  23.7k|    {
  422|  23.7k|        return concat_move(move_t{}, std::move(l), std::move(r));
  423|  23.7k|    }
_ZN5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE11concat_moveENSt3__117integral_constantIbLb1EEEOS9_SD_:
  612|  23.7k|    {
  613|  23.7k|        concat_mut_lr_l(l.impl_, {}, r.impl_, {});
  614|  23.7k|        return std::move(l);
  615|  23.7k|    }
_ZNK5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EEeqERKS9_:
  222|  27.9k|    {
  223|  27.9k|        return impl_.equals(other.impl_);
  224|  27.9k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE5eraseEm:
  480|  3.09k|    {
  481|  3.09k|        return take(pos) + drop(pos + 1);
  482|  3.09k|    }
_ZNKR5immer11flex_vectorIiNS_13memory_policyINS_21free_list_heap_policyINS_8cpp_heapELm1024EEENS_15refcount_policyENS_15spinlock_policyENS_20no_transience_policyELb0ELb1EEELj2ELj2EE6insertEmi:
  442|  18.9k|    {
  443|  18.9k|        return take(pos).push_back(std::move(value)) + drop(pos);
  444|  18.9k|    }

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

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

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

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

_ZN5immer6detail30thread_local_free_list_storageINS0_26unsafe_free_list_heap_implIS1_Lm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEEEE4headEv:
   35|   134M|    {
   36|   134M|        thread_local static head_t head_{nullptr, 0};
   37|   134M|        return head_;
   38|   134M|    }
_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|  27.1M|    {
   73|  27.1M|        assert(size <= Size);
  ------------------
  |  Branch (73:9): [True: 27.1M, False: 0]
  ------------------
   74|       |
   75|  27.1M|        if (storage::head().count >= Limit)
  ------------------
  |  Branch (75:13): [True: 10.9M, False: 16.1M]
  ------------------
   76|  10.9M|            base_t::deallocate(Size, data);
   77|  16.1M|        else {
   78|  16.1M|            auto n               = static_cast<node_t*>(data);
   79|  16.1M|            n->next              = storage::head().data;
   80|  16.1M|            storage::head().data = n;
   81|  16.1M|            ++storage::head().count;
   82|  16.1M|        }
   83|  27.1M|    }
_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.8M|    {
   58|  15.8M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 15.8M, False: 0]
  ------------------
   59|       |
   60|  15.8M|        auto n = storage::head().data;
   61|  15.8M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.64M, False: 10.1M]
  ------------------
   62|  5.64M|            auto p = base_t::allocate(Size);
   63|  5.64M|            return p;
   64|  5.64M|        }
   65|  10.1M|        --storage::head().count;
   66|  10.1M|        storage::head().data = n->next;
   67|  10.1M|        return n;
   68|  15.8M|    }
_ZN5immer6detail26unsafe_free_list_heap_implINS0_30thread_local_free_list_storageELm56ELm1024ENS_14free_list_heapILm56ELm1024ENS_15debug_size_heapINS_8cpp_heapEEEEEE8allocateIJNS_10norefs_tagEEEEPvmDpT_:
   57|  11.2M|    {
   58|  11.2M|        assert(size <= Size);
  ------------------
  |  Branch (58:9): [True: 11.2M, False: 0]
  ------------------
   59|       |
   60|  11.2M|        auto n = storage::head().data;
   61|  11.2M|        if (!n) {
  ------------------
  |  Branch (61:13): [True: 5.33M, False: 5.95M]
  ------------------
   62|  5.33M|            auto p = base_t::allocate(Size);
   63|  5.33M|            return p;
   64|  5.33M|        }
   65|  5.95M|        --storage::head().count;
   66|  5.95M|        storage::head().data = n->next;
   67|  5.95M|        return n;
   68|  11.2M|    }

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

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

