{"id":560,"date":"2003-05-20T12:00:45","date_gmt":"2003-05-20T20:00:45","guid":{"rendered":"http:\/\/lee.org\/blog\/archives\/2003\/05\/20\/5-20-03\/"},"modified":"2007-01-12T14:17:04","modified_gmt":"2007-01-12T21:17:04","slug":"skip-lists-vs-binary-trees","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2003\/05\/20\/skip-lists-vs-binary-trees\/","title":{"rendered":"Skip Lists vs Binary Trees"},"content":{"rendered":"<p>I sent this to a bunch of my programmer-type friends recently<\/p>\n<blockquote><p>It&#8217;s the algorithm, stupid.<\/p>\n<p>If you&#8217;ve ever taken a computer programming course, you know what a binary tree is&#8230;. and dreaded implementing it.<\/p>\n<p>I present to you what looks like the obituary to binary trees:<br \/>\n(and check out the link, the paper is very readable)<\/p>\n<p>Skip Lists vs B-Trees (added: 8-May-2003)<br \/>\nhttp:\/\/www.enhyper.com\/content\/skiplist.pdf<br \/>\nSkip lists are a relatively new algorithm introduced in 1987 by William Pugh. Their simplicity and performance makes them an attractive alternative to the well known Btree algorithms. Testing reveals a dramatic speed advantage for skip lists when compared to B-trees. In addition to the basic speed advantage of the algorithm, skip lists also show an additional speed advantage for large data sets.<\/p>\n<p>If this article doesn&#8217;t impress you, then float it to a programmer friend of yours and you&#8217;ll likely put a smile on his face (and another tool in his toolchest)<\/p>\n<p>Happy Day,<br \/>\nlee<\/p>\n<p>&#8212;-and now your random quote&#8212;-<br \/>\nMy friend Katherine W was looking for comments on a user manual that she was writing. She sent it out to one co-worker and asked for comments back a couple days later. When returning it, he said quite confidently, &#8220;Oh yes, I read the whole thing.. And it looks just fine.&#8221; Then she pointed out the several spots where it read, &#8220;When you read this, come see me and I&#8217;ll give you 5 dollars.&#8221;<\/p><\/blockquote>\n<p>Here is a local copy of <a href=\"http:\/\/www.lee.org\/blog\/images\/20030520skiplist.pdf\">Skiplist.pdf<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I sent this to a bunch of my programmer-type friends recently It&#8217;s the algorithm, stupid. If you&#8217;ve ever taken a computer programming course, you know what a binary tree is&#8230;. and dreaded implementing it. I present to you what looks like the obituary to binary trees: (and check out the link, the paper is very [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-560","post","type-post","status-publish","format-standard","hentry","category-general","category-other-sources"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/560","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=560"}],"version-history":[{"count":0,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/560\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=560"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=560"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=560"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}