Python performance experiments