Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #93070
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Subject | Re: Looking up a dictionary _key_ by key? |
| Date | 2015-06-24 09:47 +0100 |
| References | <CAGGBd_pd9SA7SczanGARFr-+Z9SxP9Mkhfo-RivpcJLrnuexng@mail.gmail.com> <851th2t05t.fsf@benfinney.id.au> <CAGGBd_qaNC38Yg0u_b8+qBAckq6FRTZMxbWwuzV=MUYE_=ZzDw@mail.gmail.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12.1435135680.3674.python-list@python.org> (permalink) |
On 24/06/2015 01:47, Dan Stromberg wrote: > > Would I have to do an O(n) search to find my key? > can you use something from here https://pypi.python.org/pypi/sortedcontainers/0.9.6 with the bisect module? -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Looking up a dictionary _key_ by key? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-24 09:47 +0100
csiph-web