Message304342
| Author | vstinner |
|---|---|
| Recipients | orent, rhettinger, serhiy.storchaka, vstinner |
| Date | 2017-10-13.15:08:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1507907321.61.0.213398074469.issue30156@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> Removing this micro-optimization makes attribute access in namedtuple more than 1.5 times slower: > Mean +- std dev: [python.default] 126 ns +- 4 ns -> [python] 200 ns +- 7 ns: 1.58x slower (+58%) I wrote the PR 3985, it's only 20 ns slower (1.3x slower): [ref] 80.4 ns +- 3.3 ns -> [fastcall] 103 ns +- 5 ns: 1.28x slower (+28%) Maybe Python was optimized further in the meanwhile, or the slowdown is higher on your computer? |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2017-10-13 15:08:41 | vstinner | set | recipients: + vstinner, rhettinger, orent, serhiy.storchaka |
| 2017-10-13 15:08:41 | vstinner | set | messageid: <1507907321.61.0.213398074469.issue30156@psf.upfronthosting.co.za> |
| 2017-10-13 15:08:41 | vstinner | link | issue30156 messages |
| 2017-10-13 15:08:41 | vstinner | create | |