~/talk

Compile-Time Java Stream Fusion via mapMulti

Talkat SOAP 2026 · on Tuesday, 2026-06-16· [java, compilers-and-language-design]
links:none on file
links:none on file
slides:none on file

An open-source bytecode-to-bytecode optimizer rewrites adjacents map and filter into a single mapMulti call, using a declarative fee calculus intermediate and about 44 rewrite rules to fuse opcodes. Evaluation on nine benchmarks shows superiority in 2 cases, parity in most, and matches prior unrolling on a megamorphic pipeline with ~10x speedup; the tool passes 31,799 Apache Kafka unit tests but adds roughly 40% extra compile-time.

AI-written summary · about

  1. 0:00Java stream optimizations
  2. 1:29Java streams performance
  3. 4:23JVM stream pipeline
  4. 5:28Introducing mapMulti
  5. 7:13Research questions
  6. 8:40Fee calculus
  7. 10:08Bytecode fusion
  8. 11:55Benchmark results
  9. 13:40Safety and scalability
  10. 15:03Key takeaways
  11. 16:26Q&A
~/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.