Em sáb., 29 de fev. de 2020 às 18:44, Tom Lane <t...@sss.pgh.pa.us> escreveu:

> "throw it away" sure looks like it means the entire hashtable, not just
> its tuple contents.
>
I don't know if I can comment clearly to help, but from my experience,
destroying and rebuilding the hashtable is a waste if possible, resetting
it.
By analogy, I have code with arrays where, I reuse them, with only one
line, instead of reconstructing them.
a->nelts = 0; / * reset array * /
If possible, doing the same for hashtables would be great.

regards,
Ranier Vilela

Reply via email to