gkz/LiveScript — pull request #8 by josher19 (2012-05-15 02:04:29+00:00)
Title: Optimized %%

I like the %% operator!

Very 'mathy' and I've had reason to use it before, especially when accessing arrays:
`ra[num % ra.length]` works unless num is negative. `ra[num %% ra.length]` works even better.

Can be mathematically proven that it can be optimized to `(x + y) % y` instead of `(x % y + y) % y`

Ran it against your test suite and it still builds, compiles and returns correct results.