Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.081 X-Spam-Evidence: '*H*': 0.84; '*S*': 0.00; 'tree': 0.05; 'key.': 0.09; 'redone': 0.16; 'subject:dictionaries': 0.16; 'to:name:python list': 0.16; "i've": 0.25; 'message-id:@mail.gmail.com': 0.30; 'comparison': 0.31; 'received:209.85': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'ordered': 0.36; 'url:org': 0.36; 'received:209': 0.37; 'to:addr:python-list': 0.38; 'previous': 0.38; 'to:addr:python.org': 0.39; '2nd': 0.60; 'took': 0.61; 'kind': 0.63; '1st': 0.74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=4ZiY9xhd813txKE91OShcg1PnX4DqCVF7iDe3qdpP+s=; b=qwGOZhXAVyVT95tMSXj58Z/YY/35H2oGoRkkDnXdL+vz4odQ/gLJzx/pWmBZDD739C t9vuSJImCFedldFntympnTiIp0QOeli1B134LEXcCzNo22z1sbDWupGhKTXKjtxTJjK6 O944SOhkWFUmfZTgVV5rMvLfZ2AIacPb54tLvNGvbqmY2mmRvXkL04+8vrObF8TT8A4s GM8q6NPvHVm2MfipsCIilVuMc15yRVZ2ZPSiof2eKo84a+Ego9Y7Cabf8wcIzaQqrhST Zm39ujth+Fq7wDN3feRMxX7UXkLGNFgIMF6aWyLvbr/jEAevG8333yvKKB8TfRui3GGe d2qg== MIME-Version: 1.0 X-Received: by 10.224.39.77 with SMTP id f13mr9769654qae.96.1369279890350; Wed, 22 May 2013 20:31:30 -0700 (PDT) Date: Wed, 22 May 2013 20:31:30 -0700 Subject: Ordered dictionaries compared From: Dan Stromberg To: Python List Content-Type: multipart/alternative; boundary=20cf3074d9267668ea04dd5a51f2 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 32 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369279892 news.xs4all.nl 15896 [2001:888:2000:d::a6]:56104 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45770 --20cf3074d9267668ea04dd5a51f2 Content-Type: text/plain; charset=ISO-8859-1 What kind of ordered dictionaries? Sorted by key. I've redone the previous comparison, this time with a better red-black tree implementation courtesy of Duncan G. Smith. The comparison is at http://stromberg.dnsalias.org/~strombrg/python-tree-and-heap-comparison/just-trees/ The Red-Black tree gave a much better showing this time, but it gave just one 2nd place on one workload-interpreter - still kinda lackluster. It took 1st place 0 times. --20cf3074d9267668ea04dd5a51f2 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

What kind of ordered diction= aries?=A0 Sorted by key.

I've redone the previous comparis= on, this time with a better red-black tree implementation courtesy of Dunca= n G. Smith.

The comparison is at http://stromberg.dnsali= as.org/~strombrg/python-tree-and-heap-comparison/just-trees/

The Red-Black tree gave a much better showing this time, but it gave just o= ne 2nd place on one workload-interpreter - still kinda lackluster.=A0 It to= ok 1st place 0 times.


--20cf3074d9267668ea04dd5a51f2--