Acceleration || branching from #68
See original GitHub issueThe issue of acceleration came up in #68 , either by numba or by cython. It seems like we should branch the discussion off into its own issue.
Cython
- Pro: minimal dependencies, pip installable, wheels
- Con: packaging can be tricky, significant developer time required
Numba
- Pro: minimal developer time required
- Con: not pip installable due to LLVM dependency
My two cents: despite the dependency chain problem, I’d prefer numba over cython because it would be easier to deploy across the entire module.
In librosa, we handled this by making the numba dependency optional, and providing a dummy decorator optional_jit
that does a no-op if numba is not available, and jit-compilation if it is. That way, everything still works, but if you want to get the acceleration benefits, it’s on you to install numba.
Side note: if we also add conda(-forge) package distribution, we can easily add numba as a hard dependency there.
What do y’all think?
Issue Analytics
- State:
- Created 7 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
11. 2.5 Motion Equations for Constant Acceleration in One ...
Calculate displacement and final position of an accelerating object, given initial position, initial velocity, time, and acceleration.
Read more >Force on a car passenger during acceleration. - Physics Forums
A Car accelerates from 0-100 km/h (27.77 m/s) in 4.8s. What F (in Newtons) does a passenger of mass 68 kg experience during...
Read more >Comparison of acceleration subjects to other populations
Comparison of acceleration subjects to other populations: spinal anomaly distribution ... 1 Escape and Impact Protection Branch, Armstrong Laboratory, ...
Read more >3D Fourier transform 20 3D image 68 A acceleration 245, 252 ...
3D image 68. A acceleration 245, 252, 352. Achilles 8 adhesion 284, 346 aerodynamical paradox ... branching 37, 320 bumblebee 287 butterfly 306....
Read more >The dragster in problem 68 completed a 402.3−m (0.2500 ...
The dragster in problem 68 completed a 402.3−m (0.2500−mi) run in 4.936s. If the car had a constant acceleration, what was its acceleration ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Btw, numba now has wheels on pypi, so we probably could make it a hard dependency.
:complain:
😄