mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Added psyco option, -O
This commit is contained in:
parent
725da854ce
commit
1928b2f70d
@ -182,6 +182,9 @@ if __name__ == '__main__':
|
||||
if '-p' in sys.args:
|
||||
import profile, time
|
||||
profile.run('main()', '%i.prof' % time.time())
|
||||
if '-O' in sys.args:
|
||||
import psyco
|
||||
psyco.full()
|
||||
else:
|
||||
main()
|
||||
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78:
|
||||
|
Loading…
Reference in New Issue
Block a user