Added psyco option, -O

This commit is contained in:
Jeremy Fincher 2003-06-18 18:35:37 +00:00
parent 725da854ce
commit 1928b2f70d

View File

@ -182,6 +182,9 @@ if __name__ == '__main__':
if '-p' in sys.args: if '-p' in sys.args:
import profile, time import profile, time
profile.run('main()', '%i.prof' % time.time()) profile.run('main()', '%i.prof' % time.time())
if '-O' in sys.args:
import psyco
psyco.full()
else: else:
main() main()
# vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: # vim:set shiftwidth=4 tabstop=8 expandtab textwidth=78: