Overview
Syllabus
Intro
Dont microoptimize
Simplified IO
GitHub
Physical Factors
Layers of abstraction
Happy paths and unhappy paths
What is slow
What is fast
Pro tip
Implementing IO
IO Fiber
IL Fiber
Run
Continue
Async
Measuring
SBTJMH
Micro Benchmarks
Micro Optimizations
Allocation Free Stack
Continuation Stack
Dynamic Arrays
Array Stack
Array Copy
Benchmarks
Why did it get worse
The results
Why I tried different array bounds
The problem with micro benchmarks
Optimization for fun
The answer
The solution
Bias
Allocation Free Results
Encoding
Results
Pattern Matching
If Else
Deftag
Invoke Virtual
More Stack Less Game
Current
Faster
Takeaways
Taught by
Scala Days Conferences