~/lightning

Trees in C++

Lightningat Meeting C++ 2025 · 2025-11-06..11-08· [rust]
slides:none on file

Compares a naive pointer/new-delete binary tree against an index-based layout using vector+index nodes and shows the cache-friendly array wins in initial benchmarks; implementation details include boost::variant visitors for node payloads and a stable owning shared_ptr to keep addresses fixed. Notes chatbots reproduce pointer examples often missing deletes. Plans and tools for followup: a unique_ptr pool, replacing raw new/delete, and microbenching on QuickBench to measure how much the gap narrows.

AI-written summary · about

~/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.