Message355815
| Author | ethan.furman |
|---|---|
| Recipients | ethan.furman, gregory.p.smith |
| Date | 2019-11-01.13:22:54 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1572614574.68.0.150933938588.issue38659@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
I was just looking at this problem, and creating a bare-bones, no safety belts version for use in the stdlib (no patch yet) which decreases Enum creation from 14x slower to only 6x slower. (Comparing to a class with simple attributes.) Not sure if that's enough improvement, though. If it needs to be even faster, a C version of that simplified Enum shouldn't be too hard. Anyone that uses the _simple_enum, though, should have a test that uses the full Enum and compares the two to make sure nothing got lost in translation. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2019-11-01 13:22:54 | ethan.furman | set | recipients: + ethan.furman, gregory.p.smith |
| 2019-11-01 13:22:54 | ethan.furman | set | messageid: <1572614574.68.0.150933938588.issue38659@roundup.psfhosted.org> |
| 2019-11-01 13:22:54 | ethan.furman | link | issue38659 messages |
| 2019-11-01 13:22:54 | ethan.furman | create | |