Skip to content

v0.3.2: Fix progress bar functionality and clean up codebase

Choose a tag to compare

@Routhleck Routhleck released this 23 Aug 04:20
· 63 commits to master since this release

🔧 Progress Bar Fixes

  • Fixed progress bar display issues in PyO3 environments - progress bars now work correctly when using Rust from Python
  • Switched to Python tqdm callbacks for reliable progress reporting across the Python-Rust boundary
  • Implemented time-throttled updates (default 3-second intervals) to minimize performance overhead while keeping users informed

🧹 Code Cleanup

  • Fixed compilation errors in lib.rs by adding missing function parameters
  • Cleaned up unused variable warnings in ripser.rs
  • Removed redundant code structures as discussed in development
  • Code now compiles cleanly without warnings

🚀 Performance

  • Optimized progress reporting with configurable update intervals
  • Reduced callback overhead from 61x slower to ~8% overhead through intelligent throttling
  • All existing computational functionality preserved

🔄 Migration Notes

  • Progress bars now require tqdm dependency (automatically handled)
  • All existing API calls remain compatible
  • Performance is significantly improved compared to v0.3.1

This release focuses on improving user experience with reliable progress reporting while maintaining the high-performance computation engine.