Using numba my code runs faster by about 20 times 😲

This page summarizes the projects mentioned and recommended in the original post on /r/learnpython

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • im2dhisteq

    This module attempts to enhance contrast of a given image by equalizing its two dimensional histogram.

  • I recently added im2dhisteq to my repository and because it was very slow, I searched for a new way to make my code run faster, as I was already using numpy built-in functions and there were no (at least easy) other way to optimize the code using just numpy. I recently found out about Numba, which is advertised to run my codes 1000 times faster, but as I later found out the degree of that is actually very dependant on your code. After reading through their website and through a long series of trials and erros I learned how to write a code that is Numba-friendly and is satisfyingly faster than my base code. website of Numba: Numba Proof: My code: https://github.com/Mamdasn/im2dhisteq In my repository, in addition to the Numba-flavord versions, I released the Numba-less versions, which are accessible here: im2dhisteq and imhist. You can check them out and compare them to come to a base understanding of how Numba-friendly codes looks like.

  • im2dhist

    This small piece of code is intended to help researchers, especially in field of image processing, to easily calculate two dimensional histogram of a given image.

  • I recently added im2dhisteq to my repository and because it was very slow, I searched for a new way to make my code run faster, as I was already using numpy built-in functions and there were no (at least easy) other way to optimize the code using just numpy. I recently found out about Numba, which is advertised to run my codes 1000 times faster, but as I later found out the degree of that is actually very dependant on your code. After reading through their website and through a long series of trials and erros I learned how to write a code that is Numba-friendly and is satisfyingly faster than my base code. website of Numba: Numba Proof: My code: https://github.com/Mamdasn/im2dhisteq In my repository, in addition to the Numba-flavord versions, I released the Numba-less versions, which are accessible here: im2dhisteq and imhist. You can check them out and compare them to come to a base understanding of how Numba-friendly codes looks like.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Numba

    NumPy aware dynamic Python compiler using LLVM

  • I recently added im2dhisteq to my repository and because it was very slow, I searched for a new way to make my code run faster, as I was already using numpy built-in functions and there were no (at least easy) other way to optimize the code using just numpy. I recently found out about Numba, which is advertised to run my codes 1000 times faster, but as I later found out the degree of that is actually very dependant on your code. After reading through their website and through a long series of trials and erros I learned how to write a code that is Numba-friendly and is satisfyingly faster than my base code. website of Numba: Numba Proof: My code: https://github.com/Mamdasn/im2dhisteq In my repository, in addition to the Numba-flavord versions, I released the Numba-less versions, which are accessible here: im2dhisteq and imhist. You can check them out and compare them to come to a base understanding of how Numba-friendly codes looks like.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Using numba, my code now runs faster by about 20 times 😲

    2 projects | /r/Python | 4 May 2021
  • Enhance Images From 💩 to 🔥

    1 project | /r/programming | 4 May 2021
  • Enhance Images, From 💩 to 🔥

    2 projects | /r/Python | 3 May 2021
  • Histogramming libraries for Python updated (boost-histogram / Hist)

    2 projects | /r/Python | 21 Sep 2021
  • Pyserde

    1 project | news.ycombinator.com | 6 May 2024