Eight tips to make your simulation run faster

  • Vectorize the program
  • Profile the program to identify trouble spots
  • Allocate arrays that are used in a loop
  • Reduce the size of the paramter grid
  • Reduce the number of simulations
  • Distribute independent computations
  • Estimate the run time for the program BEFORE you run it
  • Respect the size of a billion


Published

17 June 2012