Skip to content

v1.2.4: Performance Quick Wins

Choose a tag to compare

@daggbt daggbt released this 08 Feb 10:04
· 11 commits to main since this release
1f746e4

Performance Quick Wins

Fixed

  • Solver selection now correctly avoids L-BFGS-B for constrained problems (uses SLSQP instead)

Performance

  • Removed unnecessary np.isfinite safety checks from solver hot loop
  • Vectorized DotProduct.evaluate and VectorSum.evaluate using NumPy
  • Pre-compiled regex in _natural_sort_key at module level
  • Optimized __hash__ across all Expression subclasses (removed hasattr overhead)

Changed

  • Updated benchmark results and documentation