• balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      3 days ago

      I don’t think there’s much to codegolf. The “obvious” solution (even() (($1%2))) is both shorter and faster. Don’t think it can be optimized much more.