View Single Post
Old 01-24-2020, 03:38 PM   #25
kdusr
Connoisseur
kdusr began at the beginning.
 
kdusr's Avatar
 
Posts: 85
Karma: 13
Join Date: Oct 2016
Location: Mars
Device: KV,KOA2,PW5
sys.setcheckinterval(interval)
Set the interpreter’s “check interval”. This integer value determines how often the interpreter checks for periodic things such as thread switches and signal handlers. The default is 100, meaning the check is performed every 100 Python virtual instructions. Setting it to a larger value may increase performance for programs using threads. Setting it to a value <= 0 checks every virtual instruction, maximizing responsiveness as well as overhead.

advanced option
your script imported 5 python modules, I guess all of funcations in your script need only two modules: ctypes, sys

Last edited by kdusr; 01-24-2020 at 03:41 PM.
kdusr is offline   Reply With Quote