Message223215
The opposite argument might be relevant too: in some cases, a tracing JIT compiler seeing a long block of code might perform artificially worse. If each repeated line creates a branching path with two outcomes of roughly equal likeliness, then if the line is repeated 20 times, the JIT will need to compile 2**20 different paths before it has fully warmed up. In practice, it will never fully warm up and will run with the constant huge overhead of finding and compiling more paths. |
|
Date |
User |
Action |
Args |
2014-07-16 14:47:25 | arigo | set | recipients:
+ arigo, georg.brandl, pitrou, vstinner, steven.daprano, alex, serhiy.storchaka |
2014-07-16 14:47:25 | arigo | set | messageid: <1405522045.67.0.738844279119.issue21988@psf.upfronthosting.co.za> |
2014-07-16 14:47:25 | arigo | link | issue21988 messages |
2014-07-16 14:47:25 | arigo | create | |
|