~/talk

How Not to Write Slow Scala

Talkat LambdaConf 2018 · 2018-06-03..06-05· [scala]
links:none on file
slides:none on file

Benchmarks use SBT jmh and the repo shows concrete numbers: prepending to lists is often fastest while appending to Seq can be twice as slow, arrays of primitives are byte‑packed and run an order of magnitude faster than boxed collections, Stream and some functional chains do not fuse so Iterator wins for lazy fusion, Vector pays construction cost unless built with a VectorBuilder, and careless patterns with Future or mapValues produce 10x–1000x slowdowns in real cases.

AI-written summary · about

  1. 0:00Start
  2. 12:42Pattern Matching
  3. 43:51Collections Hierarchy
  4. 45:11Opaque Types
  5. 52:21Shims
~/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.