paulk-asert commented on PR #2958:
URL: https://github.com/apache/groovy/pull/2958#issuecomment-6096460641

   Now changed to:
   
   > The penalty is now a LOSSY constant added to the four table cells, so it 
no longer gets near the varargs bits. I used 1<<10 rather than 1<<9. If the 
overloads mix primitive and boxed types, e.g. m(float, …) vs m(Double, …), each 
integral argument leans 3 rather than 2 towards float (int→float 4 vs 
int→Double 7). That makes 254 × 3 = 762, which is more than 512, so 1<<9 isn't 
quite enough there. 255 × (1024 + 19) << 21 is still far below VARGS_SHIFT.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to