tyaslab / android-scripting

Automatically exported from code.google.com/p/android-scripting
0 stars 0 forks source link

Lua sleep() is horribly inefficient #638

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just looking at 
http://code.google.com/p/android-scripting/source/browse/lua/ase/android/init.lu
a and noticed P.sleep(), which calls out to os.execute() to use the external 
'sleep' program. Why such an inefficient method, when you have socket loaded? 
Just alias to socket.sleep. 

Original issue reported on code.google.com by hyperhac...@gmail.com on 6 Jul 2012 at 1:34