Re: Dictionary Keys question
- From: Ben Finney <bignose+hates-spam@xxxxxxxxxxxxxxx>
- Date: Fri, 01 Feb 2008 00:35:46 +1100
Dustan <DustanGroups@xxxxxxxxx> writes:
On Jan 30, 7:02 pm, FireNWater <kho...@xxxxxxxxx> wrote:
Thank you for the explanation. . . I think I now have a (foggy)
understanding of hash tables. It seems to be a way to create order
(an index) out of disorder (random numbers or characters) behind
the scenes. .
The key thing to realize is, quite simply, don't rely on order in a
dictionary.
The poster to which you replied is using "order" as contrasted with
"disorder". Clearly dictionaries *do* have order that can be relied
upon.
I think you're using "order" in the colloquial manner; more accurate
would be to say "don't rely on *sequence* in a dictionary".
--
\ "Our task must be to free ourselves from our prison by widening |
`\ our circle of compassion to embrace all humanity and the whole |
_o__) of nature in its beauty." —Albert Einstein |
Ben Finney
.
- References:
- Dictionary Keys question
- From: FireNWater
- Re: Dictionary Keys question
- From: Berteun Damman
- Re: Dictionary Keys question
- From: FireNWater
- Re: Dictionary Keys question
- From: Dustan
- Dictionary Keys question
- Prev by Date: Re: Executing other python code
- Next by Date: Re: REALLY simple xml reader
- Previous by thread: Re: Dictionary Keys question
- Next by thread: Re: Dictionary Keys question
- Index(es):
Relevant Pages
|