DennisMitchell / jellylanguage

Jelly is a recreational programming language inspired by J.
MIT License
860 stars 47 forks source link

Update jelly.py #8

Closed kckennylau closed 8 years ago

kckennylau commented 8 years ago

faster shifts

DennisMitchell commented 8 years ago

That seems a bit faster, although the difference isn't really that big.

I've merged, but I had to add floor = True to the division to replicate the old behavior.

kckennylau commented 8 years ago

Well, in Java, a%2 is significantly slower than a&1, so I thought that would be the same for python...