« BackWhat Are Skiplists Good For?antithesis.comSubmitted by mfiguiere 2 days ago
  • winwang 17 minutes ago

    Only somewhat related but there is supposedly a SIMD/GPU-friendly skiplist algo written about here: https://csaws.cs.technion.ac.il/~erez/Papers/GPUSkiplist.pdf

    • ahartmetz an hour ago

      Skiplists have some nice properties - the code is fairly short and easy to understand, for one. Qt's QMap used to be skip list based, here's the rationale given for it: https://doc.qt.io/archives/qq/qq19-containers.html#associati...

      • locknitpicker 31 minutes ago

        FTA:

        > Skiplists to the rescue! Or rather, a weird thing we invented called a “skiptree”…

        I can't help but wonder. The article makes no mention of b-trees if any kind. To me, this sounded like the obvious first step.

        If their main requirement was to do sequential access to load data, and their problem was how to speed up tree traversal on an ad-hoc tree data structure that was too deep, then I wonder if their problem was simply having tree nodes with too few children. A B+ tree specifically sounds to be right on the nose for the task.

        • mrjn an hour ago

          skiplists form the basis of in-memory tables used by LSM trees, which are themselves the basis of most modern DBs (written post 2005).