Looking up a dictionary _key_ by key?

Mark Lawrence breamoreboy at yahoo.co.uk
Wed Jun 24 04:47:46 EDT 2015


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




More information about the Python-list mailing list