GalSim-developers/GalSim — pull request #176 by rmjarvis (2012-06-01 23:29:34+00:00)
Title: #141 Lots of optimizations to SBProfile classes

This is a pretty big pull request, so I'll try to go through all the things that are changed here to make it easier to know what you're looking at when you look at the code. But before I do that, let me give the punchline. On my laptop:
- Script 1 of MultiObjectDemo.py now takes 1.2 seconds, compared to 20.3 seconds on master.
- Script 2 now takes 4.6 seconds, compared to 87.3 seconds on master.
- Script 3 now takes 24.7 seconds, compared to 25.9 seconds on master. But essentially all of that is in the pyfits.getdata function. So that's a separate question of how to speed that up, which I didn't try to address here.
- BasicDemo.py now takes 11.9 seconds, compared to 15.8 seconds. Most of that time is in the HSM routines, which I didn't address here.

Actually, I'll put the list of changes in the comments, since GitHub says my full list is too long for a pull request. :)