Geek Culture
Published in

Geek Culture

How is NumPy so damn fast?

Short answer, it’s written in C, longer answer…

Photo by Watt A Lot on Unsplash

When we talk about the efficiency of NumPy arrays (np arrays), what exactly do we mean? There are two separate issues:

  • Efficiency of memory usage.
  • Processing efficiency.

Why are NumPy arrays more efficient than Python lists?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Martin McBride

Martin McBride

247 Followers

Freelance software consultant, developer, technical author. Java, Python. martinmcbride.org