Removing the call to Weak.get_copy in hashsets.
Removing the call to Weak.get_copy in hashsets.

The rationale for its use comes from OCaml weak maps, and is justified by the
fact that Weak.get may prevent its return value to be collected by the GC during
the next slice even though nobody points to it. In our case, this is vastly
irrelevant because hashconsed values are not expected to be collected whatsoever
(save for exceptional cases). But Weak.get_copy is rather costly actually, at
least strictly more than the plain Weak.get.

Experimentally, I observe diminution of compilation time and even diminution
of memory consumption (!) after this patch, so I assume it is a net gain.

Lionel-Rieg/coq,gares/coq,mlasson/coq,JasonGross/coq,gmalecha/coq,Ptival/coq,TheTypoMaster/coq,shindere/coq,SkySkimmer/coq,barras/coq,amintimany/coq,amintimany/coq,coq/coq,ejgallego/coq,jpdeplaix/coq,barras/coq,pirapira/coq2rust,SkySkimmer/coq,coq/coq,letouzey/coq-wip,JasonGross/coq,shindere/coq,8l/coq,asr/coq,Lionel-Rieg/coq,shindere/coq,letouzey/coq-wip,mlasson/coq,TOSPIO/coq,maximedenes/coq,pirapira/coq2rust,Zimmi48/coq,ppedrot/coq,silene/coq,coq/coq,ppedrot/coq,Ptival/coq,mattam82/coq,Zimmi48/coq,herbelin/github-coq,TOSPIO/coq,aspiwack/coq,maximedenes/coq,JasonGross/coq,8l/coq,gares/coq,TheTypoMaster/coq,amintimany/coq,ale-f/coq,ppedrot/coq,ale-f/coq,gares/coq,letouzey/coq-wip,gmalecha/coq,TheTypoMaster/coq,SkySkimmer/coq,william-lawvere/coq,jpdeplaix/coq,coq/coq,asr/coq,TOSPIO/coq,maximedenes/coq,Matafou/coq,herbelin/github-coq,gares/coq,aspiwack/coq,ejgallego/coq,maximedenes/coq,silene/coq,SkySkimmer/coq,Matafou/coq,william-lawvere/coq,maximedenes/coq,letouzey/coq-wip,Ptival/coq,Matafou/coq,JasonGross/coq,8l/coq,pirapira/coq2rust,Lionel-Rieg/coq,ejgallego/coq,gmalecha/coq,barras/coq,ejgallego/coq,gares/coq,silene/coq,william-lawvere/coq,aspiwack/coq,ppedrot/coq,Zimmi48/coq,herbelin/github-coq,ppedrot/coq,asr/coq,mlasson/coq,letouzey/coq-wip,mattam82/coq,jpdeplaix/coq,mattam82/coq,Zimmi48/coq,ale-f/coq