Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python 2.7 Addition to dict is too slow
Post: RE: Python 2.7 Addition to dict is too slow

Hi again guys! I've decided my problem. Actually you both helped me. Firstly I checked my file reading function again and saw I called parsing line function twice there. I removed it and it gave me -...
VolanD General Coding Help 6 4,100 May-04-2018, 08:31 AM
    Thread: Python 2.7 Addition to dict is too slow
Post: RE: Python 2.7 Addition to dict is too slow

(May-03-2018, 06:07 AM)buran Wrote: You constantly check if subscriberId and protocolId already exists in the struct. I would bet it is slowing it down you may want to explore dict.setdefault() and ...
VolanD General Coding Help 6 4,100 May-03-2018, 06:38 AM
    Thread: Python 2.7 Addition to dict is too slow
Post: Python 2.7 Addition to dict is too slow

I'm working on Python script. It takes information about subscribers' traffic from files and put it in special structures. And it works. But it works too slow. I've written the same algorith in PHP an...
VolanD General Coding Help 6 4,100 May-03-2018, 04:57 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020