numexpr

Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more (by pydata)

Numexpr Alternatives

Similar projects and alternatives to numexpr

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better numexpr alternative or higher similarity.

numexpr reviews and mentions

Posts with mentions or reviews of numexpr. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-29.
  • Making Python 100x faster with less than 100 lines of Rust
    21 projects | news.ycombinator.com | 29 Mar 2023
    You can just slap numexpr on top of it to compile this line on the fly.

    https://github.com/pydata/numexpr

  • Extending Python with Rust
    12 projects | news.ycombinator.com | 27 Dec 2022
  • [D] How to avoid CPU bottlenecking in PyTorch - training slowed by augmentations and data loading?
    2 projects | /r/MachineLearning | 10 Nov 2021
    Are you doing any costly chained NumPy operations in your preprocessing? E.g. max(abs(large_ary)), this produces multiple copies of your data, https://github.com/pydata/numexpr can greatly reduce time spent with such operations
  • Selection in pandas using query
    1 project | dev.to | 26 Jan 2021
    What is not entirely obvious here is that under the hood you can install a nice library called numexpr (docs, src) that exists to make calculations with large NumPy (and pandas) objects potentially much faster. When you use query or eval, this expression is passed into numexpr and optimized using its bag of tricks. Expected performance improvement can be between .95x and up to 20x, with average performance around 3-4x for typical use cases. You can read details in the docs, but essentially numexpr takes vectorized operations and makes them work in chunks that optimize for cache and CPU branch prediction. If your arrays are really large, your cache will not be hit as often. If you break your large arrays into very small pieces, your CPU won’t be as efficient.
  • A note from our sponsor - WorkOS
    workos.com | 26 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic numexpr repo stats
4
2,140
8.2
25 days ago

pydata/numexpr is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of numexpr is Python.


Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com