Message186054
Looking at the assembler output from gcc 4.7 on Linux shows that it specialises the loop 9 times - once for each pair of kinds. This is why there was far less slow-down on Linux.
Explicitly writing out the 9 loops is inelegant and would make accurate maintenance more difficult. There may be some way to use the preprocessor to do this cleanly. |
|
Date |
User |
Action |
Args |
2013-04-04 22:21:47 | Neil.Hodgson | set | recipients:
+ Neil.Hodgson, georg.brandl, pitrou, vstinner, ezio.melotti, ethan.furman, serhiy.storchaka |
2013-04-04 22:21:47 | Neil.Hodgson | set | messageid: <1365114107.35.0.327260381381.issue17615@psf.upfronthosting.co.za> |
2013-04-04 22:21:47 | Neil.Hodgson | link | issue17615 messages |
2013-04-04 22:21:47 | Neil.Hodgson | create | |
|