[libcxx-commits] [libcxx] [libc++] Optimize copy construction and assignment of __tree (PR #151304)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 30 07:36:24 PDT 2025


================
@@ -1213,6 +1213,80 @@ private:
     __node_pointer __cache_root_;
     __node_pointer __cache_elem_;
----------------
ldionne wrote:

Can you please add a comment explaining what you learned about our `__tree` implementation? This can be a followup NFC patch, but I think it would be useful because none of it is documented at the moment.

https://github.com/llvm/llvm-project/pull/151304


More information about the libcxx-commits mailing list