Blazing Fast Merge with Loser Trees - Bryan Boreham, Grafana Labs

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025
  • Both sorting and merging efficiently can be hard problems. Merging ordered sequences is a little bit easier, but still hard. Thankfully many hard problems in computer science have been well-studied. A good strategy for k-way merging is called Tournament Tree, or Loser Tree. Go didn’t have an implementation of that, so I made one.
    In this talk, we will look at
    Fundamentals and problems of k-way merges
    How Go generics enable an efficient implementation
    How profiling and benchmarks were used to tune the implementation and interface

ความคิดเห็น • 1

  • @ps-dn7ce
    @ps-dn7ce 3 หลายเดือนก่อน +1

    I've worked with Bryan. Great Engineer. Best watch at 1.5 speed, that feature was not available during our townhalls ;-)