Hacker GitHub

← All repos

pydata/numexpr

View on GitHub ↗ ★ 2,545 Python

Fast numerical array expression evaluator for Python, NumPy, Pandas, PyTables and more

8 mentions on Hacker News by 7 people: 2 stories, 6 comments · first 2015-08-30 · latest 2026-05-19

Mentions per year 8 mentions · busiest year 2015 (1)
20082026
  1. …np.xxx, np.xxx + np.xxx) You can just slap numexpr on top of it to compile this line on the fly. https://github.com/pydata/numexpr
    comment by akasakahakada · 2023-03-30 · in Making Python faster with Rust
  2. You could use NumExpr: https://github.com/pydata/numexpr#what-is-numexpr
    comment by pmeira · 2022-12-27 · in Extending Python with Rust
  3. Even some "safe" python libraries can be segfaulted using similar techniques. See for example https://github.com/pydata/numexpr/issues/323 I think this particular bug is even marked 'wont fix'. But I cannot find the bpo at the moment.
    comment by Loranubi · 2019-12-19 · in Make CPython segfault in 5 lines of code
  4. …numpy computations on python by rearranging data on memory to be more cache-friendly. [0] https://github.com/pydata/numexpr
  5. …don't break syntax highlighting. One other place I've seen this done is in the numexpr for Python. https://github.com/pydata/numexpr It does seem like this ne.evaluate('a*b-4.1*a > 2.5*b') could be ne.evaluate(lambda a, b: a*b - 4.1*a >…
    comment by chubot · 2016-07-09 · in A new ggplot is here
  6. …cache access is what brings the biggest speedups today -- see for example NumExpr[1]. [1] https://github.com/pydata/numexpr
    comment by dr_zoidberg · 2015-08-30 · in Assembly Gems