Timing discrepancy between in Netlogo
问题 Can anyone explain why there is a performance difference between the following two segments? It's statistically significant that the second timer call reports a smaller number than the first timer call. My only thoughts would be that Netlogo could be caching the turtles in memory. Is this the expected behavior or is there a bug? to setup clear-all crt 100 let repetitions 10000 ;;Timing assigning x to self reset-timer repeat repetitions [ ask turtles [ let x self ] ] show timer ;;Timing