http://austingroupbugs.net/view.php?id=1110 … ... how long before @RichFelker comments? :-)
However I also don't see how such a requirement is imposed. The only diagnostic required is "not currently a valid handle".
-
-
How do you reliably detect "not currently a valid handle?" It requires inifinite storage or finite handles.
-
No, just comparison with a list of all valid handles.
-
Ah, I see, the wording in the standard doesn't seem to care if an old closed handle eventually cycles back again.
-
So what data structure would you use for this?
-
Linked list & linear search, because things blow up badly with large number of libraries anyway.
-
But you could use a radix tree on bits of the handle if you care about scaling in # of libs.
-
I do care to scale on the # of libs, I already know about users with thousands of python modules all DSOs.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.