Parser needed.

Skybuck Flying skybuck2000 at hotmail.com
Mon Jun 1 22:27:16 EDT 2015


Apperently print speed has some exponential time issue in SikuliX kinda 
weird.

But at least processing is high... however, debug console/print is only 
thing I got to diagnose problems...

Could get time-wise nasty... hmmm...

Perhaps I should make a small little parser in Delphi and port it to Python 
instead...

But it a bit risky if not using python only code hmm...

# test print speed.

# 1000 prints costs 3 seconds
# 10.000 prints costed 60 seconds.

# this is weird indeed, seems to be some kind of exponential growth.

import time

MaxPrints = 10000
def PrintMeARiver():
for vIndex in range(0, MaxPrints):
  print str(vIndex)
return

def Main():
PrintMeARiver()
return

print "program started"
Tick1 = time.time()
Main()
Tick2 = time.time()
Seconds = Tick2 - Tick1
print "Seconds: " + str(Seconds)
print "program finished"


Bye,
  Skybuck. 




More information about the Python-list mailing list