Author Topic: Switch  (Read 6059 times)

0 Members and 1 Guest are viewing this topic.

Offline parserp

  • Hero Extraordinaire
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1455
  • Rating: +88/-7
  • The King Has Returned
    • View Profile
Re: Switch
« Reply #30 on: March 09, 2012, 05:14:47 pm »
OK, I found it actually no problem if someone voted me down on that post, after all its a personal choice. But thanks for getting me back :)
na prob :)

Offline Darl181

  • «Yo buddy, you still alive?»
  • CoT Emeritus
  • LV12 Extreme Poster (Next: 5000)
  • *
  • Posts: 3408
  • Rating: +305/-13
  • VGhlIEdhbWU=
    • View Profile
    • darl181.webuda.com
Re: Switch
« Reply #31 on: May 20, 2012, 02:44:16 pm »
Got it smaller (and prolly faster) by switching from bitwise stuff to addition.
It seems to be working fine, tho I haven't tested it too much.

Source and ion exec attached.
« Last Edit: May 20, 2012, 07:57:22 pm by Darl181 »
Vy'o'us pleorsdti thl'e gjaemue