The Ruby Game

## the question is can you write the fastest or shortest code?
## do you dare to take on your peers in a game of speed?

Submit your entry

def morse_to_eng(morse) end

  • The code you enter above must return (either explicitly or not) the output string for us to test.
  • Not only are we looking for the fastest code, we are also looking for the more elegant solutions (even if they aren't terribly fast).
  • The variables shown on the left will be set before running your script but you can do whatever you want with them during your execution.
  • When timing your code, we will run the same code 3,000 times and will show the total time for all 3,000 iterations.

The Rules & Cheating

There are, of course, many ways to trick the system into giving you great performance by cheating. We are aware of a number of possible ways to fool the system and have listed them below. Any submissions found to be cheating (either with the methods below or any other way we consider to against the good nature of this game) will be removed.

Sponsors

aTech Media provide development time & hosting resources for this site. Why not check out some of their other things?