Message268860
Attaching first iteration. Very drafty. Still need to fix test_dis; will run test suite this evening. Perf on pybench went from 16.5s to 17.5s. It was 18.3s prior to reintroducing use of fast_function. Code still needs clean up besides investigation into how to optimize
Changes not described in the original patch concept: I made CALL_FUNCTION_EX oparg carry 2 flag bits on whether there's a kwdict or a vararg tuple. Code may be simpler to only have kwdict be optional. BUILD_MAP_UNPACK_WITH_CALL was modified to only use the highest bit of the 2nd byte to track where function_pos is. Most uses of BUILD_MAP_UNPACK_WITH_CALL is f(*va,**kw) so I chose to only set the highest bit when there isn't a positional unpacking. If we pushed an empty tuple then that flag bit could be removed |
|
Date |
User |
Action |
Args |
2016-06-19 17:38:17 | Demur Rumed | set | recipients:
+ Demur Rumed, Mark.Shannon, serhiy.storchaka |
2016-06-19 17:38:15 | Demur Rumed | set | messageid: <1466357895.74.0.187195733298.issue27213@psf.upfronthosting.co.za> |
2016-06-19 17:38:15 | Demur Rumed | link | issue27213 messages |
2016-06-19 17:38:15 | Demur Rumed | create | |
|