• balsoft@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      10 hours 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.