~/talk

Patterns for high-performance C#

Talkat NDC Minnesota 2019 · 2019-05-06..05-09· [dotnet]
slides:none on file

RavenDB 4.0 work focuses on shaving nanoseconds off hot paths by removing allocations, moving parts to unmanaged memory and rewriting key subsystems in C#. Built a custom byte-string/span to avoid GC churn, a streaming JSON parser to replace stateful parsing, and in-C# LC4 compression. Measured wins include halving object pool allocation cost, about 3x faster specialized dictionary paths and a reported 6.6x improvement on a JSON writer between release and a later patch.

AI-written summary · about

  1. 0:00Performance fundamentals
  2. 16:09Micro-optimization tactics
  3. 28:21Metaprogramming techniques
  4. 41:52Case study implementation
  5. 59:50Design tenants and conclusion
~/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.