question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

jit all the functions which are slow

See original GitHub issue

🐞 Problem

Some methods are tooo slow! For which we brought einsteinpy.ijit.jit 🎯 Goal Make einsteinpy fast!

💡 Possible solutions Identify the slow methods, and

from einsteinpy.ijit import jit

@jit
def ..

📋 Steps to solve the problem

  • Comment below about what you’ve started working on.
  • Add, commit, push your changes
  • Submit a pull request and add this in comments - Addresses #<put issue number here>
  • Ask for a review in comments section of pull request
  • Celebrate your contribution to this project 🎉

P.S : See https://github.com/einsteinpy/einsteinpy/issues/98#issuecomment-583766397

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
shreyasbapatcommented, Mar 17, 2020

@SuyashSalampuria One good first issue is enough. You can dive into more complicated issues now 😃

1reaction
Atheriz-46commented, Jan 19, 2021

I would like to work on this.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Too slow jit compilation of a function · Issue #5696 - GitHub
I'm thinking about separating the logic from the data, ie passing a list of comparison clauses as a parameter to a statically compiled...
Read more >
Numba JIT slower than pure python with parameterized function
The idea is to evaluate this function using a JIT-compiled quadrature rule. And that's about 10-20X faster than pure Python, which is pretty ......
Read more >
Performance Tips — Numba 0.50.1 documentation
@jit essentially encompasses two modes of compilation, first it will try and compile the decorated function in no Python mode, if this fails...
Read more >
How Slow is Python?. We all know it is slower than C, Java…
Python function calls are slow — contributing to the recursion issue; Java w/o JIT optimization can be really slow, even slower than Python...
Read more >
Just-in-time compilation - Wikipedia
In computing, just-in-time (JIT) compilation is a way of executing computer code that involves compilation during execution of a program (at run time) ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found