Skip to content

v0.17.3

Latest

Choose a tag to compare

@github-actions github-actions released this 09 Nov 11:35
· 1 commit to master since this release

Performance Improvements

  • Eager Task Factory Micro-optimization: Improved hot path performance in task creation
    • Moved kwargs.pop("eager_start", None) from factory entry to inner delegation path
    • Eliminates unnecessary dictionary operations for synchronous eager completions
    • Only processes eager_start parameter when actually creating Task objects
    • Reduces overhead in the common case where coroutines complete immediately

Testing

  • Cross-version Compatibility: Enhanced benchmark compatibility for older Python versions
    • Added hasattr(asyncio, 'eager_task_factory') version checking in performance tests
    • Graceful degradation when Python 3.12+ eager features are unavailable
    • Maintained full testing coverage across Python 3.10-3.14