O Groovy Gurus,

This code snippet runs in around 1 second

```
    for (int i in (1..10000000)) {
         j = i;
    }

```

while this one takes almost 9 second

```
    for (int i = 1; i < 10000000; i++) {
         j = i;
    }

```

Why is it so?