rzeta0,
@rzeta0@mastodon.social avatar

my brain is officially blown! 🤯

is so fast ! 🚀

(compared to python when it is forced to apply arbitrary functions with loops inside, element-wise to an array - that is, can't benefit from vectorised numpy functions)

this experiment took about an hour in python and about 1 second in julia lang

sure my python isn't professional, but today was my first time with julia lang so that will be far from optimal either

villares,
@villares@ciberlandia.pt avatar

@rzeta0 very cool!

For the Python version, you could perhaps see the Numba @nb.jit magic thing... or maybe annotate it and try Cython ...

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • DreamBathrooms
  • mdbf
  • ethstaker
  • magazineikmin
  • cubers
  • rosin
  • everett
  • Youngstown
  • khanakhh
  • slotface
  • Durango
  • kavyap
  • InstantRegret
  • thenastyranch
  • JUstTest
  • osvaldo12
  • GTA5RPClips
  • modclub
  • cisconetworking
  • provamag3
  • normalnudes
  • ngwrru68w68
  • tacticalgear
  • tester
  • megavids
  • anitta
  • Leos
  • lostlight
  • All magazines