i have this line in my code that seems to slow down as my loop progresses..
for i in range(start, end):
nPack = struct.pack('<I',i)
at first it takes about 0.00something second but later it starts to take like 0.12 sec.
i have huge no of different start and end pair so that is a big slow down.
has this happened to anyone before?
any idea what might be slowing down my program?