Message403753
The reason for that quadratic behavior is that for each new member (aka attribute), all the previous members must be checked to see if the new member is a duplicate.
In practice I wouldn't expect this to be a problem as most enums should be fairly small -- are there any real-world examples where there are more than, say, a hundred? |
|
Date |
User |
Action |
Args |
2021-10-12 19:31:41 | ethan.furman | set | recipients:
+ ethan.furman, arigo, gregory.p.smith, vstinner, ammar2, pablogsal |
2021-10-12 19:31:41 | ethan.furman | set | messageid: <1634067101.83.0.644423398396.issue38659@roundup.psfhosted.org> |
2021-10-12 19:31:41 | ethan.furman | link | issue38659 messages |
2021-10-12 19:31:41 | ethan.furman | create | |
|