How to use sets in D?
siarhei.siamashka at gmail.com
Wed Feb 9 21:05:47 UTC 2022
On Tuesday, 8 February 2022 at 21:42:06 UTC, H. S. Teoh wrote:
> But as I said, this is overkill for something so trivial. Using
> `bool[E]` or an RBTree works just fine.
Is the current implementation of associative arrays in D language
resistant to Denial of Service hash collision attacks?
If not, then redBlackTree may be safer to use when dealing with
potentially adversarially constructed input data.
More information about the Digitalmars-d-learn