danielsun1106 commented on issue #1135: GROOVY-8298: Slow Performance Caused by Invoke Dynamic URL: https://github.com/apache/groovy/pull/1135#issuecomment-570964021 @blackdrag Jochen, `setTarget` is executed twice when `threshold` is `0`: one for `next`(i.e. i++) and another for `m(i)`, so it's correct ;-) ```groovy def m(i){1} for (int i = 0; i < 100_000_000; i++) { if (m(i)!=1) throw new Error("??") } ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services