On Fri, 21 Jun 2024, 02:28 CH HC via Gcc, wrote:
> Hi there,
> In libstdc++/ext/pb_ds , I noticed that the (automatic) resize function
> for gp_hash_table does copy-and-destruct operations on old key-value pair
> (from the line resize_no_store_hash_fn_imps.hpp:58). Meanwhile,
> cc_hash_table simp
Hi there,
In libstdc++/ext/pb_ds , I noticed that the (automatic) resize function for
gp_hash_table does copy-and-destruct operations on old key-value pair (from the
line resize_no_store_hash_fn_imps.hpp:58). Meanwhile, cc_hash_table simply
moves the old pair as expected.
So for gp_hash_table, t