~/talk

Performance and Technique Tweaks: The Encore

slides:none on file

Shows a concrete implementation of Smart Aliases that inspects MyInvocation to map alias names to resources and uses dynamic parameters to make some aliases require a country, demonstrates creating a clickable file view with a PSM1 XML view generator (credits to Jeffrey Hick), proves PowerShell 7.5 fixes += so array concatenation cost drops (10000 appends ≈1s before), builds a frozen dictionary pattern to make module private data truly immutable, and compares runspace data passing, LINQ/C# Fibonacci speedups, and sorting/uniquing benchmarks so listeners know what actually works.

AI-written summary · about

  1. 0:00Introduction
  2. 2:00Recap of technique tweaks
  3. 3:11Smart Aliases for API
  4. 13:55Dynamic parameter handling
  5. 23:50Custom views for object output
  6. 34:40PowerShell array performance
  7. 43:06Passing data across runspaces
  8. 48:28Storing module configuration
  9. 59:53PowerShell vs C# performance
  10. 1:04:13LINQ in PowerShell
  11. 1:09:02Parameter passing by reference
  12. 1:16:32Default values and safety
  13. 1:18:00Efficient sorting and deduplication
  14. 1:26:35Generalized deduplication
  15. 1:28:42Q&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.