Re: Populating a dictionary, fast
- From: Istvan Albert <istvan.albert@xxxxxxxxx>
- Date: Sun, 11 Nov 2007 16:11:09 -0000
On Nov 10, 4:56 pm, Michael Bacarella <m...@xxxxxxxxxxxxx> wrote:
This would seem to implicate the line id2name[id] = name as being excruciatingly slow.
As others have pointed out there is no way that this takes 45
minutes.Must be something with your system or setup.
A functionally equivalent code for me runs in about 49 seconds!
(it ends up using about twice as much ram as the data on disk)
i.
.
- References:
- Populating a dictionary, fast
- From: Michael Bacarella
- Populating a dictionary, fast
- Prev by Date: Re: Populating a dictionary, fast
- Next by Date: Re: easy 3D graphics for rendering geometry?
- Previous by thread: Re: Populating a dictionary, fast
- Next by thread: Re: Populating a dictionary, fast
- Index(es):
Relevant Pages
|