How To Improve Python Performance