Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #60962 > unrolled thread

Re: how to implement a queue-like container with sort function

Started byCameron Simpson <cs@zip.com.au>
First post2013-12-04 08:17 +1100
Last post2013-12-04 08:17 +1100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: how to implement a queue-like container with sort function Cameron Simpson <cs@zip.com.au> - 2013-12-04 08:17 +1100

#60962 — Re: how to implement a queue-like container with sort function

FromCameron Simpson <cs@zip.com.au>
Date2013-12-04 08:17 +1100
SubjectRe: how to implement a queue-like container with sort function
Message-ID<mailman.3529.1386105443.18130.python-list@python.org>
On 02Dec2013 07:26, Ned Batchelder <ned@nedbatchelder.com> wrote:
> Actually, I had a long conversation in the #python IRC channel with
> the OP at the same time he was posting the question here, and it
> turns out he knows exactly how many entries are going into the
> "queue", so a plain-old list is the best solution.  I don't know
> quite where the idea of limiting the number of entries came from.

For me, it was because he said "fill the queue" in the OP. I took
that to imply that the queue had a capacity limit.

Cheers,
-- 

It's bubble, bubble, toil and trouble in conductive polymer.
- overhead by WIRED at the Intelligent Printing conference Oct2006

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web