DennisMitchell / jellylanguage

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

Default ® to 250. #35

Closed jared-hughes closed 7 years ago

jared-hughes commented 7 years ago

Initializing the register ® to 0 does not save bytes compared to 0. Initializing the register to 250 would save 2 bytes. The number 250 is certainly useful, such as encoding lists of shorts using “<encoding>’b250.

Adriandmen commented 7 years ago

Doesn't “<encoding>‘‘ achieve the same effect, without the constant?

jared-hughes commented 7 years ago

Ah, yes. I forgot about that. Closing.