~/talk

GS Collections & Java 8: Functional, Fluent, Friendly & Fun

Talkat GOTO Chicago 2015 · 2015-05-11..05-14· [java]
speakerdeck:motlin
slides:none on file

Comparison of Java 8 streams and GS Collections shows concrete tradeoffs: streams are lazy by default and add ~15,000 lines to the JDK, but GS Collections provides both eager and lazy pipelines, covariant return types, multimaps and primitive containers that avoid boxing. Memory numbers claim unified map halves memory versus HashMap, and HashSet uses ~4x memory in common use. GS Collections supplies primitive lists/maps, a select-with-context pattern to avoid allocation, and code-generation for many primitive variants.

AI-written summary · about

  1. 0:00Agenda
  2. 0:45GS Collections
  3. 1:40Memory Lane
  4. 2:55Code
  5. 3:50Lazy Evaluation
  6. 4:57Collection
  7. 6:24Java Extremes
  8. 8:02Covariant Return Types
  9. 9:19Lines of Code
  10. 11:57Streaming Data vs Collections
  11. 13:02Stream immediately terminated with
  12. 13:53Grouping by
  13. 17:15Partitioning
  14. 18:18Stack traces
  15. 20:20Anagrams
  16. 21:44Solution
  17. 22:46JS Collections
  18. 25:22Lazy Evaluations
  19. 26:53Memory Efficiency
  20. 28:05Entries
  21. 29:38HashSet
  22. 30:13Memory Waste
  23. 31:07Primitive Collections
  24. 31:31Primitive Strings
  25. 32:44Method References
  26. 37:39Framework Comparison
  27. 38:47Wrap Up
~/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.