TGViewer
//devdigest //devdigest @devdigest · 376 subscribers
Post #2573 62
⚡️ How John Sped Up His Code by Switching from ImmutableList and ImmutableDictionary to ImmutableArray and FrozenDictionary

Legendary C# developer John Skett explained how the move to lighter, more powerful immutable collections — ImmutableArray and FrozenDictionary — unexpectedly gave a major speed boost to his 2029 election simulation project.

Although the migration required only minimal edits, key operations such as election context validation were sped up by almost seven times, confirming that the right choice of data structures is critical even in already optimized systems

♻️ Subscribe for free now!
Jon Skeet's coding blog Changing Immutable Collections As I’ve written before, I’m leaning heavily into immutability in the election site code. Until September 2025 (it’s taken a long time to get round to writing this blog post) that …
  • 👍 1
  • 🎉 1
More from @devdigest
  1. Sep 30, 2026⚡️ Azure Container Apps Sandboxes: an isolated microVM for an agent in seconds Hardware-is…
  2. Sep 25, 2026⚡️ Microsoft's live series builds a production AI agent in C# from scratch A four-part liv…
  3. Sep 23, 2026⚡️ Rider and ReSharper 2026.2.2 add an AI Agent Setup widget and sharper coding-agent hook…
  4. Sep 22, 2026⚡️ Environment.ProcessorCount reports process limits, not host cores, since .NET 6 Andrew…
  5. Sep 22, 2026⚡️ Workflow1111 rebuilds the AUTOMATIC1111 feature set on a single gr.Workflow canvas Elev…
  6. Sep 21, 2026⚡️ Azure Application Gateway adds HTTP/3 over QUIC in public preview Application Gateway n…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →