forked from pyrex/chameleonic
PICO-8 game: you're a chameleon with rope physics
Kistaro Windrider
d792831370
this is approximately token-neutral but performance-saving. each function parameter makes its call cost worse. When can_move is called inside a loop, we already have a table and we unpack to call can_move; moving the unpack into can_move saves us marshalling cost. It requires us to construct a table in a different spot (where we were not previously doing so) but that spot is not in a loop. |
||
---|---|---|
chameleonic.p8 | ||
README.md |
EAT BUGS, SPACE SCUM