Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Performance question: functional vs imperative in Ruby @muc_rubyshift

Performance question: functional vs imperative in Ruby @muc_rubyshift

There are some slides with Sasha Grey. And Cormen. And kitties. And puppies. And a lot of benchmarking.

Anna Bulenkova

November 13, 2013
Tweet

More Decks by Anna Bulenkova

Other Decks in Programming

Transcript

  1. λ

  2. λ

  3. λ

  4. λ

  5. λ

  6. Contains traces of for loops, one-symbol counters, code duplicates, explicit

    returns, coding style violations and cloning. And some other ugly things just to fit it into the screen. Sorry.
  7. O(f(n)) • 1 • log n • n log n

    • n**2 • n**3 etc…
  8. O(f(n)) • 1 • log n • n log n

    • n**2 • n**3 etc…