~/talk

Faster Scala Collections with Scalaxy/Streams!

Talkat Scala.IO 2014 · 2014-10-23..10-24· [web-performance]
slides:none on file

Scalaxy/Streams delivers a concrete optimizer: a compiler plugin and macros that rewrite chained collection ops into tight while loops, doing side-effect analysis with trusted-API whitelists and offering safe / aggressive / foolish strategies. Microbenchmarks show common speedups (10×, sometimes 50×) and iterators remain 5–20× slower; jar size falls ~5–7% and example code size drops up to 60%. Implementation uses quasiquotes, symbol/type hacks, reflection to reparent owners and ahead-of-time typing; the plugin already handles most of the Scala library.

AI-written summary · about

  1. 0:00Start
  2. 7:25What Is the Stream
  3. 8:18How Do You Recognize a Stream
  4. 9:05Removing Topples
  5. 10:30Side Effects
  6. 13:34Immutable Collections
  7. 26:03Ahead of Time Banking
~/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.