Skip to content

Instantly share code, notes, and snippets.

@eam
Created December 2, 2018 23:37
Show Gist options
  • Save eam/79857fe07c88bb45a5109051b1bf5abd to your computer and use it in GitHub Desktop.
Save eam/79857fe07c88bb45a5109051b1bf5abd to your computer and use it in GitHub Desktop.
booger:2 evan$ time perl star_two_perl <input
line oeylbtcxjqnzhgyyylfapviusr
inner oeylbtcxjqnzhgkyylfapviusr
real 0m0.010s
user 0m0.006s
sys 0m0.003s
booger:2 evan$ time ruby star_two_ruby < input
star_two_ruby:12:in `block (2 levels) in <main>': line oeylbtcxjqnzhgyyylfapviusr (RuntimeError)
inner oeylbtcxjqnzhgkyylfapviusr
from star_two_ruby:9:in `each'
from star_two_ruby:9:in `block in <main>'
from star_two_ruby:8:in `each'
from star_two_ruby:8:in `<main>'
real 0m0.066s
user 0m0.050s
sys 0m0.014s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment