Hello(adsbygoogle = window.adsbygoogle || []).push({});

I am trying to speed up a code which performs a number of tasks on a set of data. I am wondering if there are any resources on general rules and principles that can be used to speed up calculation times?

I am having a real problem when there appear to be more than one way to code something, I cannot prove to myself why one is faster than the other. I realise this is very non-specific, but I do remember a couple of computer science majors emphasising to me that there are certainly very 'good' and 'bad' ways of coding. If anyone knows any resources applied to maths coding, I would be INCREDIBLY grateful.

Regards,

Mike

**Physics Forums - The Fusion of Science and Community**

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Any good short reads on optimisation of code? (math-specific)

Loading...

Similar Threads - short reads optimisation | Date |
---|---|

Matlab Making a short test for self-adjointness | Feb 23, 2018 |

MATLAB how to automatically read a number of files | Oct 29, 2015 |

Help reading an Excel file with Matlab | Dec 2, 2013 |

Matlab, how read and extract matrices | May 25, 2012 |

MATLAB - Dynamic variable name for Data Store/Read/Write | Feb 14, 2012 |

**Physics Forums - The Fusion of Science and Community**