Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

speeding up code #25

Open
joellebegin opened this issue Sep 5, 2020 · 1 comment
Open

speeding up code #25

joellebegin opened this issue Sep 5, 2020 · 1 comment

Comments

@joellebegin
Copy link
Collaborator

tips and tricks for making code faster

@joellebegin
Copy link
Collaborator Author

thoughts about what to include:

  • gprof2dot: the wonderful thing that makes the flowcharts showing you which parts of your code are slow
  • doing append in loops, then turning into numpy array after the loop
  • the wonders of turning a loop into matrix multiplication (dig up some old examples where I've done this for eg fisher matrices, cause I do this LITERALLY all the time)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant