~/talk

Look Ma, I Know My Algorithms!

TalkinSpanishat RubyConf Argentina 2014 · 2014-10-24..10-25· [computer-vision]
slides:none on file

Counts unordered pairs in a large integer array whose sums fall between -100 and 100, comparing naive O(n^2) pairwise combinations with faster algorithms: an O(n log n) approach (likely via sorting and two‑pointer or binary search) and an O(n) linear solution that reduces runtime from hours to seconds on very large inputs. Discusses Ruby-specific performance pitfalls: some collection helpers conceal O(n) costs so nested use can become quadratic, and CPU‑bound work is limited by Ruby’s global interpreter lock.

AI-written summary · about

  1. 0:00Introduction
  2. 1:51Problem definition
  3. 4:42Algorithmic order
  4. 8:11Algorithmic orders
  5. 10:22Concurrency vs parallelism
  6. 13:54Efficient algorithms vs concurrency
  7. 14:59Ruby performance pitfalls
  8. 17:27Liquid abstractions
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.