Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GSOC#2 compile-time expand pcc params and set the return result #1080
PCCMETHODs can be optimized to omit the run-time call to
Same for assigning the RETURN result:
Unfortunately we have to check the number of provided arguments at run-time:
This saves two unneccessary nested function calls, and one intermediate PMC creation just for holding the sig array and will lead to about 2-4% faster code with method calls. The arity check for the number of provided vs expected args is now the bottleneck.