~/talk

Beyond Arrays: PowerShell Collections for Speed & Scale

slides:none on file

Shows concrete swaps and measured wins: choose Generic Lists over arrays for resizable typed collections, use HashSet to deduplicate 10,000 items in ~1 ms versus Select-Object -Unique ~500 ms, and replace Where-object scans with hash-based lookups so CSV comparisons drop from ~19,000 ms to ~275 ms (~69×). Mentions array improvements in PowerShell 7.5 PR 23901, demos batching with Queue, undo with Stack, and handling millions of items (3 million tenant) to prove when each collection actually scales.

AI-written summary · about

  1. 0:00PowerShell collections intro
  2. 1:12Arrays fixed size limits
  3. 2:39ArrayList legacy issues
  4. 3:21Lists modern replacements
  5. 5:53Array performance demo
  6. 8:44PowerShell 7.5 array performance improvements
  7. 11:33Generic lists type safety
  8. 13:00List operations methods
  9. 17:04Hash tables dictionaries
  10. 21:41Hash sets deduplication
  11. 23:48Hash table benchmarks
  12. 27:24Dictionary try get value method
  13. 29:49Group-Object with hashes
  14. 31:38Hash set deduplication demo
  15. 35:40Hash set set operations
  16. 36:44Hash set contains speed
  17. 38:10CSV columns with hash sets
  18. 40:15Queues and stacks
  19. 42:22Queue batch processing
  20. 47:48Stack undo operations
  21. 49:34Decision tree for collection selection
  22. 50:15Closing Q&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.